This is just a toy. It was born after watching this excellent video on the Mandelbrot set.
I am amazed how such beautiful complexity can spring from a simple iteration formula.
This tool lets you explore the Mandelbrot set and also create a video out of the various zoom steps using Xuggler (which uses GPLv3 as its license).
I've not put any special effort into controlling the numbers, just using double precision, which means there are limits to zooming in.
To run the application from Maven simply issue
mvn compile exec:java
This will start a wizard in which you can define the color gradient and the number of frames per zoom. Once you're happy with the settings you can proceed to the zooming feature. Use the mouse to select a rectangular zooming area and press enter to zoom in. You can select a thumbnail in the bottom scroll pane and press delete to remove it and its peers to the right. A single frame can be saved using the file menu as a PNG file. The file menu also offers to save the frame sequence as a zooming MP4 movie.
To package the application as a self-contained, distributable and executable .jar
file issue
mvn package
Now you can run the output as a normal Java application, e.g. java [-Duser.language=en] mandelbrot-movie-maker-...-jar-with-dependencies.jar
.
Here are two videos generated with the tool:
And here is a random collection of frames generated by the tool. You can load those frames for further investigation too:
example | example |
---|---|
Better use of MP4 encoding, dropped color rotation and improve zoom flow.
Initial release.