We are about to switch to a new forum software. Until then we have removed the registration on this forum.
point(x, y + map(noise(x/150, y/150, z), 0, 1, -100, 100)) ;
It is setting a point in a 2D sketch
the base position is x,y
y get added a noise, which is a kind of random value
This noise gets a parameter 1/150th based on x,y
Since noise generates a value between 0 and 1 the value gets mapped from this range to a big range between -100 and 100
point is a square or circle the size of strokeWeight
noise / perlin noise returns a number between 0 and 1 , from a position in a "cloud"
map turns number from one range to another, in this case 0,1 to -100,100
point( x , y +- 100 )
should be some kind of distortion on the y-axis ?
https://processing.org/reference/point_.html https://processing.org/reference/map_.html https://processing.org/reference/noise_.html
More simplified: point(x, y + 200*noise(x/150, y/150, z) - 100) ; B-)
point(x, y + 200*noise(x/150, y/150, z) - 100) ;
Answers
It is setting a point in a 2D sketch
the base position is x,y
y get added a noise, which is a kind of random value
This noise gets a parameter 1/150th based on x,y
Since noise generates a value between 0 and 1 the value gets mapped from this range to a big range between -100 and 100
point is a square or circle the size of strokeWeight
noise / perlin noise
returns a number between 0 and 1 , from a position in a "cloud"
map turns number from one range to another, in this case 0,1 to -100,100
point( x , y +- 100 )
should be some kind of distortion on the y-axis ?
https://processing.org/reference/point_.html
https://processing.org/reference/map_.html
https://processing.org/reference/noise_.html
More simplified:
point(x, y + 200*noise(x/150, y/150, z) - 100) ;
B-)