bezierTangent()

Shape / Curves

Description

Calculates the tangent of a point on a bezier curve.

Syntax

float bezierTangent(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...