Object3D[]
Vector2[]
{ [style: string]: THREE.Face3; }
{ paths: THREE.Path[]; offset: number; }
{ offset: number; path: THREE.Path; }
Shape[]
number
number
HTMLCanvasElement
{ mipmaps: { data: Uint8Array; width: number; height: number; }[]; width: number; height: number; format: number; mipmapCount: number; }
Clamps the x to be between a and b.
Value to be clamped.
Minimum value
Maximum value.
number
Clamps the x to be larger than a.
— Value to be clamped.
— Minimum value
number
number
Linear mapping of x from range [a1, a2] to range [b1, b2].
Value to be mapped.
Minimum value for range A.
Maximum value for range A.
Minimum value for range B.
Maximum value for range B.
number
number
Random float from low to high interval.
number
Random float from - range / 2 to range / 2 interval.
number
Random integer from low to high interval.
number
Random float from 0 to 1 with 16 bits of randomness. Standard Math.random() creates repetitive patterns when applied over larger space.
number
Returns -1 if x is less than 0, 1 if x is greater than 0, and 0 if x is zero.
number
number
number
string
any
any