Snowflakes

A cellular model of ice crystal growth

Read

Abstract

Each cell on a hexagonal lattice holds an ice flag a, quasi-liquid b, crystal mass c, and vapor d. Seven local rules, applied in turn, grow a single frozen seed into a six-fold crystal. Changing a handful of parameters moves the result from fern-like dendrites to faceted plates. All crystals on this page are computed live in the browser and rendered with Three.js.

1How a flake forms

One update cycles through the following rules for every cell. Ice cells never melt; growth happens only at the boundary, where vapor diffuses in, freezes and eventually attaches [1].

1.1Count attached ice

Six neighbors, three of them ice.

For every cell, count how many of its six neighbors are already ice. That integer n steers attachment later.

1.2Mark the growth front

Ice (solid) and its boundary (dashed).

Boundary cells are not ice, but touch ice:

boundary = ¬ a ∧ (n>0)

1.3Vapor spreads

Vapor averages over the neighborhood; ice reflects.

Diffusive mass averages across non-ice neighbors. Ice acts as a wall — vapor reflects instead of entering solid cells. The initial density ρ sets how much vapor is available to diffuse in.

1.4Vapor becomes mass

Freezing splits vapor into liquid and crystal.

On the boundary, vapor splits into quasi-liquid and crystal by κ:

b←b+ (1−κ) d c←c+κd d←0

1.5Boundary turns to ice

The more ice around a cell, the easier it attaches.

A boundary cell attaches when neighbor count and quasi-liquid cross thresholds β, α, θ:

n≤2∧ b≥β n=3∧ ( b≥1 ∨ b≥α∧ Σd<θ ) n≥4

1.6Mass returns to vapor

Fractions of liquid and crystal melt back.

Fractions μ of b and γ of c melt back into d on the boundary, softening sharp fronts.

1.7Optional perturbation

Random vapor fluctuations break the symmetry.
d←d⋅ ( 1+U (−σ,σ) )

With σ=0 the flake stays perfectly six-fold.

Table 1: Model parameters.
ρInitial vapor density
κFreezing split
β,α,θAttachment thresholds
μ,γMelting rates
σNoise amplitude

2Simulator

Drag to tilt and turn. Each preset is a parameter set from Gravner and Griffeath — from fern-like dendrites to faceted plates. Dense vapor ρ with a high threshold β grows plates; lower β and larger α let arms race ahead and branch. Drift lets the parameters wander while the crystal grows, like a flake falling through changing air.

step 0