Hi,
Is there a way to predict where the square and rectangle will appear in the sketch below ? Is it linked to the nature of the “noise” function ?
https://openprocessing.org/sketch/2026851
Thanks for your help.
Hi,
Is there a way to predict where the square and rectangle will appear in the sketch below ? Is it linked to the nature of the “noise” function ?
https://openprocessing.org/sketch/2026851
Thanks for your help.
The particles have no effect on the image and you can delete all the code associated with them.
This sketch is drawing a bezier curve through a noise()
field. The for()
loop is just iterating over 6280 points and computing their position based on noise()
. If you comment out the background()
in draw()
and then strokeWeight
and blendMode
in setup()
, you can see the bezier curve that is being added to the image each frame.
The shape of the rectangles is random within the bounds of the noise()
function. You could make it predictable by setting noiseSeed()
to a fixed value.
Thank you, so I can’t do anything to have a precise “rectangle” shape at that time at that place on the screen ? Do you know if changing noise seeds linearly could make results change linearly ?
The point of noise()
is to be random. Changing the noise seeds would cause completely random flickering to the noise output.
There are many different programs you could write to put rectangles at specific locations deliberately, but this code is not trying to do so. rect()
alone, obviously, would do it. Is there something specific you are trying to do?