mandelbrotZoom

December 13, 2021 ยท View on GitHub

mandelbrotZoom

Animate a zoom into the Mandelbrot set, in Fortran!

Read the blog post on some of the techniques here: https://www.jeffirwin.xyz/posts/2021-12-11-a

Prerequisites

  • gfortran (other Fortran compilers may work)
  • ffmpeg
  • Optional: GIMP to view images of individual frames in PPM format

Download

git clone --recursive https://github.com/JeffIrwin/mandelbrotZoom
cd mandelbrotZoom

Build

Use CMake, or run the provided CMake wrapper script:

./build.sh

Run

./build/fractal.exe < inputs/example-0.txt

Combine frames into movie

ffmpeg.exe -i frames/example-0_%d.ppm -c:v libx264 -pix_fmt yuv420p example-movie.mp4

Finished product

https://www.youtube.com/watch?v=a4WoTi00l24