Package org.openrndr.math
Types
Creates a 1D Catmull-Rom spline curve.
Creates a 2D Catmull-Rom spline curve.
Creates a 3D Catmull-Rom spline curve.
Calculates the 1D Catmull–Rom spline for a chain of points and returns the combined curve.
Calculates the 2D Catmull–Rom spline for a chain of points and returns the combined curve.
Calculates the 3D Catmull–Rom spline for a chain of points and returns the combined curve.
Integer 2D vector, exclusively for integer calculations.
Integer 3D vector, exclusively for integer calculations.
Integer 4D vector, exclusively for integer calculations.
A 4x4 matrix with double precision
A 5x5 matrix with double precision
A 2D point defined in the Polar coordinate system.
Quaternion class for representing orientations in 3D space
Functions
Returns IntVector2 whose value is limited between min and max per vector component.
Returns IntVector3 whose value is limited between min and max per vector component.
Returns IntVector4 whose value is limited between min and max per vector component.
Linearly maps a value, which is given in the before domain to a value in the after domain.
Linearly maps a value, which is given in the before domain to a value in the after domain
Similar to derivative but handles cases in which p0 and p1 coincide.
Smootherstep
Smoothstep
Smoothstep