block by monfera 2d2809d8458ffb81cc9acab2e65ed4ef

Mixing drinks on Tralfamadore

Full Screen

Evokes memories of interstellar Summer trips. Wait a bit for some color and shake changes. Refresh the page for different liquid volumes, color palettes and color change rates.

It can take a while to get a homogenous solution even with swift particles and shaking. If it’s janky inside the iframe, the Open link may work better.

It’s a simple application of the versatile Verlet integration built into D3 4.0, which calls the fast, non-recursive quadtree implementation for collision resolution and many-body forces - the latter of which was temporarily tried for simulating H-bonds, it would add a bit of surface tension.

Almost all of the new, sequential color scales show up.

Tralfamadore is a fictional planet in several fantastic books by Kurt Vonnegut.

Built with blockbuilder.org

index.html