We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to draw a grid (sort of) with p5js, but I'm not sure what to look for. Right now I'm just double looping through an array of particles and displaying them, but perhaps vertices work better(?).
Anyhow, I have this picture:
As you can see it's not a grid, because on the left the particles are bigger then on the right and there are more. I'm sure some tricky math is involved, any pointers would be appreciated :)
the actual goal is to draw them, apply forces and dynamically animate them with the p5 sound library