Post #2672006
2026-03-15 16:00 UTC
p5.strands boids! https://editor.p5js.org/davepagurek/sketches/JoMhtXAR2 Video compression does not like this much, but my 2021 macbook runs 10,000 boids with no spatial partitioning or anything, just a regular old for loop, with no problem
Replies (1)
-
@davepagurek@genart.social 2026-03-15 16:00
I think right now the most awkward part of the code is not the flocking but updating the rotation in the shader drawing the particles. a transformation API may need to be next