Posts Tagged ‘ml’

1.0 release of fractals

Sunday, December 14th, 2008

I realise that this is definitely a namespace clash but hey.
After a few days work and significant help from #cl on the srcf irc my fractals program is ready for 1.0 release – at least in my eyes there are no known bugs – save that there may be more efficient algorithms to use especially from the point of view of quality of display – see here for an example of tc’s better version of carpet.

The ML code is released under GPL version 2 and can be found here

To compile it you will need a version of Moscow ML with its libraries – e.g. NOT the one shipped by Ubuntu which does not have the libraries packaged – hopefully this will be fixed in Jaunty – I used the version on the linux pwf machines at Cambridge University. All other instructions on compilation are included as a comment in the file.

Examples of output can be found here

This is an extension of ML Tick6* Foundations Of Computer Science at Cambridge University

And now for the pretty pictures:

part of the mandelbrot set

part of the mandelbrot set

koch curve

koch curve

Koch Snowflake

Koch Snowflake

Sierpiński Triangle

Sierpiński Triangle

Sierpiński Carpet

Sierpiński Carpet

Brownian Curve

Brownian Curve

Random Walk

Random Walk