leoraclet / fractals

This is a simple C / C++ program that lets you generate and explore colored fractals.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fractals

License

This is a simple C / C++ application that allows you to generate and explore colored fractals. These fractals are generated in real time thanks to the GPU power. It is possible to zoom in and out and move in the complex plane with your mouse.

Deep zooms are made possible by emulating doubles on the GPU, so the precision of calculations is increased, which allows to zoom deeper into the fractal.

Summary

Images

Mandelbrot

Mandelbrot

Julia

Julia 1 Julia 2

Burning Ship

Burning Ship

Newton

Newton 1 Newton 2

Build

To build this project, you need to have CMake of Make installed depending on your system. Make the way to go if you are on Linux or MacOS, if you are on Windows, I recommend using CMake.

Linux / MacOS

Run the follwing commands in your terminal

$ git clone https://github.com/leoraclet/fractals
$ cd fractals/
$ make .
$ ./fractals

Windows

I can't guarantee that it will build the project properly on windows since I only tested it on Linux by now, so you're on your own this time.

Libraries

  • Dear ImGui ~ Bloat-free Graphical User interface for C++ with minimal dependencies
  • SFML ~ Simple and Fast Multimedia Library
  • GLAD ~ OpenGl loader
  • stb ~ STB single-file public domain libraries for C/C++
  • glm ~ OpenGL Mathematics

License

This project is released under the MIT license.

Releases

To run the program without editing the source code or building it yourself, go see the Releases.

Credits

About

This is a simple C / C++ program that lets you generate and explore colored fractals.

License:MIT License


Languages

Language:C++ 82.4%Language:C 16.5%Language:CMake 0.6%Language:GLSL 0.6%