elias-plank / mandelbrot

High performance, work in progress C/OpenGL rewrite of the infamous FractalViewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mandelbrot (WIP)

License: MIT

High performance, work in progress C and OpenGL rewrite of the infamous FractalViewer.

  • Plain C/OpenGL implementation with GLFW and glad as the only dependencies
  • Cross-platform
  • Zero dynamic memory allocations

Definition

The mandelbrot set is defined in the complex plane as the complex numbers $c$ for which the function $f_c(z) = z^2 + c$ does not diverge to infinity when iterated starting at $z = 0$.

Progress

  • GPU hello world (colored rectangle)
  • First mandelbrot
  • Explorable mandelbrot
  • Custom color functions
  • Julia set

Implementation details

The actual code for computing the mandelbrot set is defined in a GLSL fragment shader inside fractal.c.

About

High performance, work in progress C/OpenGL rewrite of the infamous FractalViewer

License:MIT License


Languages

Language:C 97.9%Language:CMake 2.1%