Skip to content

Mandelbrot/Julia fractal renderer written in C++/GLSL

License

Notifications You must be signed in to change notification settings

eduojeda/almondbread

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Almondbread

Almondbread is a GPU-accelerated Mandelbrot set renderer written in C++. It allows you to look around and zoom into the fractal in realtime:

It also supports rendering the corresponding Julia set for the point under the cursor, which makes for some nice trippy user-controlled visuals:

It was written as a way for me to better understand fractals, and also to learn some shader programming basics.

This program is quite GPU intensive and so requires a relatively poweful and modern videocard.

Controls

[Left Mouse Button] Zoom into point
[Arrow Keys] Move around
[Spacebar] Show Julia set
[W] Zoom in
[S] Zoom out
[A] Lower maximum iterations
[D] Increase maximum iterations

Compiling

I have only compiled this under Windows 10 using mingw-w64, but it should be possible to build it for Linux and MacOS without much modification. The compiler command can found in .vscode/tasks.json, if you wanna give it a go.

About

Mandelbrot/Julia fractal renderer written in C++/GLSL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages