im trying to make a bunch of particle move aligned to a grid. So the movement looks like its locked to the grids lines:
this is a bit like the wanderer2d patch, but it would require the particles to behave like this:
align to point on grid
set Main direction
set direction tendency
check travelled distance - if ( distance > 1 Gridsegment ) change direction by gridangle
My first try looked like this.
Im not really sure if using frac to check the distance is a smart way, but also have no idea how to sample position values in vl to check the travel distance for particles.
also thought about creating a Grid-pointspread, check for closest point and move the particles by linear interpolation, but again no idea if this would be easier.
Any hit to a somewhat similar patch would be great. I know this should be easy in VL compared to vvvv but im always lost where to start.