Home▸Algorithms & AI▸Amethyst Crystal Growth Simulator (2D)

💎 Amethyst Crystal Growth Simulator (2D)

A diffusion-limited-aggregation model of how amethyst actually forms: free ions perform a real random walk through solution and bond onto a growing cluster with a probability shaped by temperature, supersaturation, a kinetic sticking factor and a six-fold bias toward quartz's real hexagonal crystal axes — watch a crystal accrete from nothing instead of orbiting a finished one.

Algorithms & AI2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-deepseek-html-20260714-3887aa ↗ Open standalone

This 2D companion replaces the 3D version's static, hand-modelled amethyst geode with the actual growth process behind it: a diffusion-limited-aggregation (DLA) engine in which free ions perform a genuine random walk through solution, their step size set by temperature through the Einstein diffusion relation, and stick onto the growing cluster with a probability that combines a kinetic sticking factor with a six-fold angular bias mimicking quartz's real hexagonal crystal symmetry. A live readout tracks particle count, cluster radius, a fractal-dimension estimate (D = ln N / ln R, which drifts toward the textbook off-lattice DLA value of roughly 1.71 as the cluster grows) and the current growth rate, so instead of orbiting a finished crystal you watch one form, particle by particle, from nothing.

⚙ Under the hood

2D diffusion-limited-aggregation model of amethyst crystal growth: temperature, supersaturation, sticking probability and hexagonal-anisotropy sliders drive real random-walk physics, with a live cluster-radius, particle-count and fractal-dimension readout.

crystal growthdiffusion-limited aggregationamethystrandom walkfractal dimensioncrystallography

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)