An error while dealing with square collision led to this...
Positions of squares defines positions of stripes.
The pos.x and pos.y of the squares cannot overlap each other, but independently (that was the 'mistake')
If the keys are not totally displayed :
a/z : scale the drawing
q/s : number of stripes
w : diagonal arrangement of the squares (pos.y tends to pos.x)
x : the copies of the pattern base module are symmetrically arranged
c : show the squares
space : reset
and, the sketch got a bit of "physics spirit" in the form finding behavior of the stripes/squares ( acceleration, veloc
To tweak this sketch, first download it.
Make your updates, then upload your tweak!