3D Frost Crystals

Frost growing on a winter window: a hexagonal cellular automaton for diffusion-limited crystal growth, with a Blender-built window, sill and props.

Switch to 2D

Presets

Playback

Parameters

Camera

Layers

Quality

Model check

The science

What is modelled

Frost crystals nucleate on a cold window pane and grow as water vapour from the room air diffuses to them and deposits as ice. The pane is a hexagonal lattice of 86 400 cells, 3.3 mm per cell in the picture (real crystals are far smaller; the picture is enlarged so that the branching is visible). Click the glass to add your own nucleus, then watch the branches race each other for vapour: tips grow fastest because they sit furthest into the vapour-rich air, which is the Mullins-Sekerka instability behind every snowflake.

The model (Reiter 2005 cellular automaton)

  • Every cell holds a vapour density s. Cells that are frozen or touch ice are receptive; all others are non-receptive and take part in diffusion.
  • Update: s′ = u + (α/2)(mean6(u) − u) + v, with u = s and v = 0 for non-receptive cells and u = 0, v = s + γ for receptive cells. A receptive cell freezes when s′ ≥ 1.
  • β is the vapour density far from the ice (relative supersaturation), α the diffusion rate and γ the extra vapour that sticks to receptive cells (a stand-in for attachment kinetics). The lattice gives six-fold symmetry for free.
  • Diffusion constant of the update: D = α/8 lattice units² per step, because a fraction α/2 of the vapour hops one unit to a random one of six neighbours.

Checks run in the page

  • Total vapour is conserved by the diffusion sweep on a closed lattice (relative change below 1e-9 after 300 sweeps).
  • The mean squared spread of a point source after n sweeps equals nα/2 within 2 %.
  • A single nucleus grows six equal arms: ice counts in the six 60-degree sectors agree within 6 %.

Honest simplifications

This is a qualitative model. It has no real temperature, no surface tension (the arms are not rounded by melting), a two-dimensional lattice for a three-dimensional process, and β, α, γ are dimensionless knobs rather than measured humidity and pane temperature. Real window frost is also affected by the pane's scratches and dust, which seed the nuclei. The wooden window, the sill, the mug and the candle are Blender-built props; the frost is computed live and shown with a bump-mapped, translucent layer.

What to try

  • Compare Fine ferns (low β) with Heavy deposition (high β and γ): the same rules give very different shapes.
  • Choose Many nuclei and watch neighbouring crystals starve each other: the gaps between them stay clear.
  • Use the close-up camera, then raise the room light to see the bump-mapped relief of the frost.
  • Look from outside: the frost sits on the room side of the glass.
Loading model...
Loading Blender model...
Pane coverage vs time
Ice cells gained per step
Ice density around nucleus 1
Made with 🟠 Blender · Three.js