Skip to content

chadedrupt/the-chaos-game-haskell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Chaos Game in Haskell

‘The Chaos Game’ to produce a Serpinski Gasket. Written in Haskell as a bit of an experiment.

Uses the awesome Playgrounds feature of Haskell for Mac.

Screenshot

The algorithm is essentialy the following line:

nextPoint = midPoint (last previous) randomCorner

ie., the next point to draw is the mid-point between the last point drawn and a random corner.

About

The Chaos Game in Haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published