Haskell Quiz/SimFrost

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