Skip to content

smurf667/mandelbrot-movie-maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mandelbrot Movie Maker

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.

Building and running

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.

Demonstration

Here are two videos generated with the tool:

v0.2.0

v0.1.0

And here is a random collection of frames generated by the tool. You can load those frames for further investigation too:

example example
demo01 demo02
demo03 demo04
demo05 demo06

Version history

v0.2.0

Better use of MP4 encoding, dropped color rotation and improve zoom flow.

v0.1.0

Initial release.

About

Tool to create a zooming video of a Mandelbrot set

Resources

License

Stars

Watchers

Forks

Packages

No packages published