It's quite simple actually! The darker the pixel a particle is on, the stronger its repulsion force on its neighbors gets. As for the source code, it wasn't done in the most efficient way and the FPS was like 10, so I don't really feel like sharing it.
Awesome! In the beginning I can see circular, arc-like patterns. Is that something you specifically coded in, or is it just a result of the repulsion forces adding up?
Ah, so you arranged all those points with that golden angle formula as a starting point, and then let the repulsion do its thing. I see. Nice, thanks for the info!
11
u/OkChemist8347 May 31 '24
An older work I made in Processing.
Faces are generated using ThisPersonDoesNotExist.com
2
u/HerrJutsoe Jun 01 '24
Awesome! In the beginning I can see circular, arc-like patterns. Is that something you specifically coded in, or is it just a result of the repulsion forces adding up?
1
u/kosro_de Mar 01 '25
I really love this effect so I turned it into a website: https://faces.kosro.de/
Disclaimer: no Processing, just plain JS + PixiJS for rendering particles...
1
u/theyreinthehouse May 31 '24
That’s really cool!
1
u/No_Commercial_7458 Jun 01 '24
This is so cool! Also very weird in a good way.
1
u/Comfortable_Roof3368 Jun 02 '24
Woooooow