Intricate, incredibly variable and beautiful, snowflakes have been puzzling mathematicians since at least 1611, when Johannes Kepler predicted that the six-pointed structure would reflect an underlying crystal structure. Snowflakes grow from water vapor around some kind of nucleus, such as a bit of dust. The surface of the growing crystal is a complex, semi-liquid layer where water molecules from the surrounding vapor can attach or detach. Water molecules are more likely to attach at concavities in the crystal shape. The model built by Gravner and David Griffeath of the University of Wisconsin-Madison takes these factors, as well as temperature, atmospheric pressure and water vapor density, into account. By running the model under different conditions, a wide range of natural snowflake shapes was recreated.

More information:
http://www.sciencedaily.com/releases/2008/01/080117093448.htm