Constructor
new NoiseProcess(func, data)
Create a new noise process.
Parameters:
Name | Type | Description |
---|---|---|
func | function | Function to manipulate data with |
data |
Methods
do(x, y, val)
Execute the noise process on data.
Parameters:
Name | Type | Description |
---|---|---|
x | number | Value of x position (input) |
y | number | Value of y position (input) |
val | number | Height value (output) |
Returns: