Haskell Quiz/SimFrost

From HaskellWiki
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

Solutions