If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Course: Unlisted resources area > Unit 2

Lesson 1: ProcessingJS documentation

curvePoint(a, b, c, d, t)

Evaluates the curve at point t for points a, b, c, d. The parameter t varies between 0 and 1, a and d are points on the curve, and b and c are the control points. This can be done once with the x coordinates and a second time with the y coordinates to get the location of a curve at t.
Parameters:
NameDescription
athe coordinate of the first point on the curve
bthe coordinate of the first control point
cthe coordinate of the second control point
dthe coordinate of the second point on the curve
tthe a value between 0 and 1

Want to join the conversation?

No posts yet.