Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Cubic bezier curve : get sub curve coordinates

  1. Sep 27, 2011 #1
    cubic bezier curve : get "sub curve" coordinates


    I have a standard cubic bezier curve defined by 4 points, what I'm trying to get is a "sub-curve" of this one (from the same point of origin, to one particular point on this curve, with the same curve).

    For example, getting the first 10% from this curve, also defined as a bezier curve by 4 points, getting point of origin and end point is easy, but I really have no idea of how to calculate the position of the 2 other points (the points giving directional information). Any idea/hint of how to calculate this ?
  2. jcsd
  3. Sep 27, 2011 #2


    User Avatar
    Science Advisor
    Homework Helper

  4. Sep 27, 2011 #3
    Re: cubic bezier curve : get "sub curve" coordinates

    Thanks a lot, that's exactly what I was looking for.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook