Skip to content

trcwm/constexpr_mandelbrot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

constexpr_mandelbrot

Rendering the Mandelbrot set at compile time, a.k.a. compiler abuse. Tested using GCC 9.3.0 on a Ryzen5 3600 with 16GB RAM.

Building

Run bootstrap.sh at top level. Execute Ninja -j1 in the build directory. Note: compiling takes a while and probably requires a minimum of 16GB of RAM.

Running

  • Run 'constexpr_mandelbrot'
  • It should produce a mandelbrot.pgm file
  • Open the .pgm file using Gimp or eog or convert using Imagemagick to png.

Dependencies

  • GCC
  • CMake
  • Ninja build

About

Compile-time mandelbrot in C++17

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published