Personal tools

Haskell Quiz/SimFrost

From HaskellWiki

< Haskell Quiz(Difference between revisions)
Jump to: navigation, search
(page creation)
Current revision (10:25, 18 March 2007) (edit) (undo)
m (category)
 
Line 1: Line 1:
-
[[Category:Haskell Quiz]]
+
[[Category:Haskell Quiz|SimFrost]]
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.
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.

Current revision


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.

1 The problem

2 Solutions