Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.13 KB

README.md

File metadata and controls

50 lines (33 loc) · 1.13 KB

Fractal.hs

Generate fractal images by escape time method, currently it can generate Mandelbrot set, Julia set, Burning Ship fractal, Nova fractal.

usage

It can run as a script or compile and run.

# run as haskell script
chmod +x Fractal.hs
./Fractal.hs ...

# compile and run
ghc --make Fractal.hs -o fractal
./fractal ...

fractal mandelbrot may generate Mandelbrot set. run fractal help to see more.

screenshots

click me!

todo

  • Support more cmdline args.
  • Make it colorful.
  • There are much more generating methods according to wikipedia, add more besides Escape.hs.
  • Study more about fractal, what is it.

about

This small program is written for haskell learning purpose. Feel free to contribute, any advice, issue or pr is welcom.