Skip to Navigation
Home
  • about Plus
  • support Plus
  • Plus sponsors
  • subscribe to Plus
  • terms of use

The formula for a Bezier curve


Suppose we have $n+1$ control points $P_0 =(a_0, b_0),$ $P_1=(a_1, b_1),$ ... $P_ n=(a_ n, b_ n).$ We will represent the corresponding Bézier curve by points $(x_ t,y_ t)$ where $t$ runs from 0 to 1. In other words, for each $t$ between 0 and 1 we get a point $(x_ t, y_ t)$ and together these points form the curve. The formulae for $x_ t$ and $y_ t$ are

  $\displaystyle x_ t $=$ \sum _{i=0}^ n { n \choose i} (1-t)^{n-i} t^ i a_ i  $    
  $\displaystyle y_ t $=$ \sum _{i=0}^ n { n \choose i} (1-t)^{n-i} t^ i b_ i. $    

where

  \[ { n \choose i} = \frac{n!}{ (n-i)! i!} \]    
is the binomial coefficient.

Back to main article

  • Home
  • Articles
  • News
  • Packages
  • Podcasts
  • Puzzles
  • Reviews
Science fiction, science fact: reports from the frontiers of physics
What is time? What is space? Are there parallel universes? Join Plus and FQXi on a journey exploring these...
view
Researching the unknown
Science is much stranger than fiction. It suggests that our Universe may just be one of infinitely many which...
view
Folding the future: From origami to engineering
Back in the days before smart phones with GPS functions became ubiquitous we had maps. Remember how hard it...
view
Support Plus
Make a difference to mathematics
view
Exploring the financial ecosystem
Deciding who is to blame and who should pay for the financial crisis will be a hot topic at the G8 next week...
view

Login to comment or download PDFs

  • Create new account
  • Request new password
Syndicate content

Cambridge University logo