Skip to content

A real time rendering tool for visualizing complex fractals such as the Mandelbrot set and Julia sets. Uses avx2 SIMD to speed things up.

License

Notifications You must be signed in to change notification settings

MathandPhysicsStuff/Complex-Fractal-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Complex-Fractal-Visualizer

A real time rendering tool for visualizing complex fractals such as the Mandelbrot set and Julia sets.

Dependences

  • sdl2
  • sdl2_ttf

SIMD

I used avx2 (Advanced Vector Extensions) to speed up the rendering so if your using a cpu created before 2013 this code will not work on your machine. If your cpu is newer than 2013 it should be fine, probably.

Building

  • make to build
  • then make clean to get rid of .o files
  • ./bin to run

Key Binds

mouse

  • left click and drag to move around
  • scroll wheel to zoom in and out

escape

  • returns to menu

i

  • increases iterations

o

  • decreases iterations

z

  • zoom in around center of screen

x

  • zoom out around center of screen

arrow keys

  • the arrow keys move around the c constant in the Julia set

Images

Menu

menu

Mandelbrot set image 1

mandelbrot1

Mandelbrot set image 2

mandelbrot2

Mandelbrot set image 2

mandelbrot3

Julia set image 1

julia1

Julia set image 2

julia2

Burning ship fractal image 1

burningship1

Pointer Celtic fractal

pointedceltic1

Crown fractal image 1

crown0

Crown fractal image 2

crown1

Sharkfin fractal

sharkfin1

About

A real time rendering tool for visualizing complex fractals such as the Mandelbrot set and Julia sets. Uses avx2 SIMD to speed things up.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published