A simple fractal renderer in Haskell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Fractals.hs
README.md
ascii.hs
graphical.hs
julia_param-im.hs
julia_param-re.hs

README.md

A simple Haskell fractal renderer, showcasing the strengths of a compositional approach to programming. Based on Composing fractals, Mark P. Jones. 2004.

Fractals.hs contains the abstract fractal functions. ascii.hs uses it to renders fractals in ASCII and is cool to play with in ghci. graphical.hs and julia_param-*.hs use the Gloss graphics library to zoom into a Julia set and animate the Julia starting parameter, respectively.

Compile with -threaded -fllvm, e.g. ghc --make -O2 -threaded -fllvm graphical.hs. Requires Gloss>=1.7.

You can view a presentation with some fancy pictures here.