Of course ... and Simon Porritt did all the hard math for us!
jsBezier is a small library with a function: pointAlongCurveFrom (curve, location, distance), which allows you to build each point in stages along a Bezier curve.
jsBezier is available on GitHub: https://github.com/sporritt/jsBezier
source
share