Haskell Quiz/SimFrost

From HaskellWiki
< Haskell Quiz
Revision as of 10:25, 18 March 2007 by Dolio (talk | contribs) (category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


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