Relative Content

Tag Archive for javascriptsvginterpolationcurvebezier

Drawing a cubic Bezier curve from four points along the curve

I have a function that will return any point(x,y) along a curve from its start point to its end point: getPointOnCurve(t), where t is a number from 0–1, 0 being the point at the start of the curve, 1 being the end of the curve and the values between 0 and 1 being points in between.