Martin Krzywinski / Genome Sciences Center / Martin Krzywinski / Genome Sciences Center / - contact me Martin Krzywinski / Genome Sciences Center / on Twitter Martin Krzywinski / Genome Sciences Center / - Lumondo Photography Martin Krzywinski / Genome Sciences Center / - Pi Art Martin Krzywinski / Genome Sciences Center / - Hilbertonians - Creatures on the Hilbert Curve
Trance opera—Spente le Stellebe dramaticmore quotes

geometry: frozen

DNA on 10th — street art, wayfinding and font

thermodynamics + art

Explore the land of Neradia and meet the snowflake named Arenh Jerrus of Bosmen in the wintertime tale In Silico Flurries: Computing the world of snow,
a Scientific American "SA Visual" story about beauty, imagination and machine learning by Jake Lever and myself.

It's Snowing in my CPU — a Snowflake catalogue

Art is science in love.
— E.F. Weisslitz

Go ahead, meet some snowflakes.


Somewhere in the world, it's snowing. But you don't need to go far—it's always snowing on this page. Explore light flurries, snowflake families and individual flakes. There are many unusual snowflakes and snowflake family 12 and family 46 are very interesting.

But don't settle for only pixel snowflakes—make an STL file and 3D print your own flakes!

Ad blockers may interfere with some flake images—the names of flakes can trigger ad filters.

The snowflakes shown here are generated using the method described in Modeling Snow Crystal Growth II by Gravner and Griffeath (J. Gravner and D. Griffeath, Physica D 237, 385 (2008)). The authors provide a C/X11 implementation of the snowflake simulation.

Scientific American Visual blog article

The work here has been described in In Silico Flurries: Computing a world of snowflakes, a Scientific Americans SA Visual blog article, co-written with Jake Lever.

I'd like to extend my gratitude to Jake for tirelessly lending his machine learning expertise and thank Lisa Shiozaki and Rodrigo Goya for helpful discussions.

command-line Gravner-Griffeath snowflake simulation

I have modified the authors' code to remove dependency on X11 and to make simulating a large number of flakes easier.

# simulate a flake with specific parameters
snowflake [-a ...] [-b ...] [-k ...] [...] > snowflake.txt

# simulate a flake with some parameter values set and others default
snowflake [-a ...] [-b ...] > snowflake.txt

Download snowflake.c.

Using the mass values in the output (negative is vapor, positive is ice), it is up to you to generate the image of the flake. The blue in the images here was mapped onto mass `m=0..255` using `L=10..100`, `C=60` and `H=-80` in LCH space.