My new favourite https://github.com/schwa/MetalSprocketsParticles demo.
The teapot is converted into an SDF 3D texture… And the interior particles are constrained by that SDF. The particles use flocking algorithm to keep them a little spread apart (so they don’t all sit at one point).
This video also shows some debug modes.


