Skip to content

JeffIrwin/mandelbrotZoom

Repository files navigation

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

About

Animate a zoom into the Mandelbrot set, in Fortran!

Topics

Resources

License

Stars

Watchers

Forks

Contributors