Name

curvePoint()

Examples
noFill()
curve(5, 26, 5, 26, 73, 24, 73, 61)
curve(5, 26, 73, 24, 73, 61, 15, 65)
fill(255)
ellipseMode(CENTER)
steps = 6
for i in range(steps):
    t = i / float(steps)
    x = curvePoint(5, 5, 73, 73, t)
    y = curvePoint(26, 26, 24, 61, t)
    ellipse(x, y, 5, 5)
    x = curvePoint(5, 73, 73, 15, t)
    y = curvePoint(26, 24, 61, 65, t)
    ellipse(x, y, 5, 5)
Description
Syntax
curvePoint(a, b, c, d, t)
Parameters
a
b
c
d
t
Related curve()
curveVertex()
bezierPoint()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License