CliffNoise beta
Interface of @v12-engine/client/ground
export interface CliffNoiseNoise in three dimensions to shape a wall with (CliffStyleDef.push): by where a point is in the world, so that the walls of two cells meet. Each is the same for the same seed and salt
Members
layered
layered(x: number, y: number, z: number, octaves?: number, salt?: number): number;Several, each twice as fine and half as strong: what looks like rock and not like a pattern. 0..1
random
random(index: number, salt?: number): number;A number of its own for each whole number, 0..1
ridged
ridged(x: number, y: number, z: number, octaves?: number, salt?: number): number;Several, each folded about its middle: sharp ridges, the lines of cracks and gullies. 0..1, 1 on a ridge
seed
readonly seed: number;The seed the noise was made from; the same seed and salt give the same values
value
value(x: number, y: number, z: number, salt?: number): number;A smooth noise, 0..1, about a cell across at a frequency of 1
worley
worley(x: number, y: number, z: number, salt?: number): {
near: number;
edge: number;
cell: number;
};Cells about points scattered through space, a cell apart at a frequency of 1 (Worley noise): how far a point is from its cell's middle (near), from the border with the next (edge), and a number of its cell (cell, 0..1)