Nan

Description

Name

class Tinman.Noise.Scalar.Nan

Derived from

Noise.Scalar

Returns a noise function that replaces bad number values produced by this noise function with the given values.

Fields / Required

noise

The source noise function.


nan

Type

number

The replacement value for NaN (not-a-number).


neg

Type

number

The replacement value for negative infinity.


pos

Type

number

The replacement value for positive infinity.