Another blow-up view of the Apollonian spheres, now dropping on a concave surface to gather all the jetsam together. This is what I had in mind when writing the first drop demo, and the model just needed a bit of refinement for the differently sized balls: properly scaled masses and elastic factors, as well as proper handling of these quantities in each pair collision.

As a recovering science teacher, it's fun to see such physics in action: a simple, linear elastic force is all it takes to keep each body in its place. Well, at least approximately; I've included a basic drag term to help things settle, but it seems it would take a while, as the tiniest balls are easily thrown around by the larger masses.

#apollonianspheres #apolloniangasket #particlesimulation #elasticcollision #hookeslaw #3dgraphics #pythoncode #numpy #opengl #algorithmicart #algorist #mathart #laskutaide #ittaide #kuavataide #iterati

New demo just dropped! Testing a basic elastic model with blocks of FCC, BCC and diamond lattice.

#particlesimulation #elasticcollision #hookeslaw #bodycenteredcubic #facecenteredcubic #diamondlattice #lattice #crystalstructure #3dgraphics #pythoncode #numpy #opengl