Nothing new, but maybe a little unusual: Using boids as alternative to Lloyd relaxation and/or Poisson-disk sampling. The boids here are using only two behaviors: local separation, plus a randomized attractor to create global disturbances. Cell density could also be varied by spatially adjusting the separation distance between boids. Overall convergence/relaxation can be much faster than shown here...
Re-added/ported more agent behavior building blocks today, incl. path following and path attraction (both for open/closed geometries). In total there're now 7 freely combinable behaviors, each weighted and so usable as soft/hard constraint.
Here's an example of path following (here a Hilbert curve) and separation only...
Another example using path attraction (hexagon), dynamic targets/attractors (here changing every N frames) and a mix of the usual flocking sub-behavior ingredients: separation, alignment, cohesion
Boids now with modular behavior system, incl. newly added field-based 3-sensor Braitenberg vehicle steering behavior. In this case the field is an SDF (via https://thi.ng/geom-sdf), which is used as obstacle map with soft boundary. I'm amazed how well (and without any further help) the lil' buggers are managing to escape these concave corners...
...and now with animated obstacle SDFs working as well (aside from the major https://thi.ng/boids changes, some related useful updates to https://thi.ng/geom-sdf are forthcoming too)
Been debugging boids & behavior combinations all evening! Happy to say, I think all force contributions are fixed now (classic off-by-one error was leading to an initially subtle but increasingly obvious directional bias), and I can focus again on experimenting with some new amazing emergent behaviors... Aside from that, maybe this also qualifies for #Genuary2024 (Day 1: Particles)?!
Btw. This is just a variation of this #ThingUmbrella example project:
Note to ADHD brain: Get your act together and finish work on S-TRACE, one of maaany unfinished projects started last year... A mini thread of some WIPs...
#Marblemania - A form and motion study inspired by marbling techniques like French curls and #Suminagashi (Japanese style), but also by the beautiful shapes and movements of Von Kármán vortices and the space-filling skin patterns of Bornella anguilla (aka the "Circle Packing" nudibranch)...
Update: Original 07/07 launch aborted, new release details TBC...