Haskell Quiz/SimFrost

From HaskellWiki
< Haskell Quiz
Revision as of 09:55, 18 March 2007 by Dolio (talk | contribs) (page creation)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This problem involved simulating the accumulation of frost on a flat surface. The plane starts with a single point of frost, and a random amount of water vapor. At each iteration, the water vapor moves in a random fashion, but if it comes within a certain proximity of frost, it becomes frost itself.

The problem