Module turbine_reactive::fns [] [src]

Higher order structures for functions (including data).

Design

Data variants stores the actual data.

Time variants evaluates a higher homotopy function. For example, a line in 3D has homotopy type t -> point3. This is a function that can be evaluated using a scalar. Since the function returns a 3D point, this particular Time variant needs to be stored in the enum for Point3.

Enums

Bone

Bones.

Bool

Boolean values.

Color

A color is separate from points because of format and color space conversion.

ColorSpline

A color spline.

Point1

Scalar.

Point2

2D point.

Point3

3D point.

Point4

4D point.

Spline

A spline is a function of type t -> point.

Surface

A surface is a function of type [t; 2] -> point.