Coder Social home page Coder Social logo

leoraclet / fractals Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 9.12 MB

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

License: MIT License

CMake 0.56% C 16.50% C++ 82.38% GLSL 0.56%
cpp fractals glsl julia mandelbrot burning-ship newton

fractals's Introduction

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

fractals's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.