After all this time writing this simple series of how to create fractals with Octave, I finally got to the end of it and published the code on GitHub so here is a nifty summary.
Each article has a link to the previous and following ones so you can just start with the first one and follow up to the last one.
- Classic Mandelbrot and Julia
- More on the Classic Sets
- Other Polynomials
- Trigonometric and Exponential Functions
- Burning Ship
- Original Function Studied by Gaston Julia
The code is available on GitHub and can be downloaded from the project page, where you will also find some installation instructions.
If you're interested, please download the code and if you use it to create stunning images, I'd love to hear from you. If you think you can improve the code, don't hesitate to suggest changes or fork it.
To quote the project page,
none of this was created in a vaccum. I used a number of offline and online references so if you are interested in the subject of fractals, you could do a lot worse than checking them out:
- Fractal Geometry, Mathematical Foundations and Applications, 2nd Edition by Kenneth Falconer;
- Generating Cool Fractals, by Xavier Calbet, in Free Software Magazine;
- The Wikipedia articles on Fractals and The Burning Ship;
- Last but not least, the excellent articles and multiple examples by Paul Bourke.