--s̸e̴l̷f̶i̷e̷s̵--
#generative
This is a record of a twitter thread, originally posted in 2020
these are legitimately two million particles in realtime because **SICK-ASS GPU KICKFLIPS** but there's no point posting video because twitter will just smear it into hideous blocksludge
The state evolves slowly; all the previous images involved playing with the parameters or changing the contours over time
here's fixed parameters, but with basic mouse interaction to push stuff around
An issue with having particles that move around based on feedback from their local neighborhood of nearby particles: This places me in *extreme* danger of becoming A Continuous Automata Guy
you can lose, like, entire lifetimes down the automata hole
I'll be careful okay
influencing velocity from neighborhood is promising, but hard to prevent it just feeding back ever-increasing forces
really hard to control the parameters but I like this one a lot
Blending the image-based gradient influences back in
swoosh
s̵̫̈́e̸̠̅l̶͍͝f̴̛͎ȉ̷̳e̷͍̾
Just watching this go is really fun
This is mainly just velocity feedback. Particles write their velocity to a buffer, blur it, and then sample the blurred velocity when updating their new positions. Decay/smoothing/curvature are tuning vars but the feedback does most of it
bwoop boop
invaders
twitter REALLY did a number on the video compression lol
here's a link to the actual file in case anyone feels like seeing what it actually looks like...
Dropbox
ParticleInvaders.mp4
thought process:
"these look surprisingly fluid-like for such simple rule sets"
"eh, there are a lot of automata-based approaches to fluid sim; it's not unrelated"
"molecules in a real fluid are arguably a form of automata anyway right"
STEPHEN WOLFRAM WANTS TO KNOW YOUR LOCA
Initializing the positions with uninitialized memory was apparently a good idea
Galaxy Launcher
Repulsion and other neighborhood effects are accomplished via a trick: rasterizing everything to a buffer and then blurring the buffer. With additive blending a cluster of particles will produce a steeper gradient, and therefore a stronger repulsive force
The cool bit is this allows particles to influence their neighbors without needing to actually perform any sort of neighborhood query or build acceleration structures
it has a TON of limitations but for just messing around doing art stuff it's extremely powerful
(this is essentially a form of the "particle in cell" technique used for certain types of fluid/physics sims, but like, not at all principled)
All of the weird CA-like rules for inter-particle interactions that I used for the earlier images are still here, and they can still work together with the forces that produce the stipple effect
works surprisingly well with webcam input