Scalar.Spline

Description

Name

class Tinman.Noise.Scalar.Spline

Derived from

Noise.Scalar

Returns a noise function that maps the noise values returned by this noise function onto the given curve.

The given curve is assumed to be 1D, so only the X-coordinate is used. The noise values computed by this function are used as control point indices.

Fields / Required

noise

The source noise function.


curve

Type

Curve

The curve.

Fields / Optional

minimum

Type

number

Default

0

The noise value to map to the first curve control point.


maximum

Type

number

Default

1

The noise value to map to the last curve control point.