bezierPoint()

Shape / Curves

Description

Evaluates the bezier at parameter t, returning a point on the curve.

Syntax

float bezierPoint(float a, float b, float c, float d, float t)

Parameters

NameTypeDescription
afloatcoordinate of first point
bfloatcoordinate of first control point
cfloatcoordinate of second control point
dfloatcoordinate of second point
tfloatvalue between 0 and 1

Returns

float

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...