GithubHelp home page GithubHelp logo

thedeveloper10 / fractal-fun Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 2.82 MB

C++/SDL2 project to easily visualize fractals(like Mandelbrot Set, Julia Set, Burning Ship Fractal, Koch Snowflake, etc.) on CPU

Home Page: https://thedevelopers.tech/fractal_fun

License: Apache License 2.0

C++ 98.28% C 1.72%
fractals fractal-rendering fractal-tree cpp sdl2

fractal-fun's Introduction

Fractal-Fun

C++/SDL2 project to easily visualize fractals(like Mandelbrot Set, Julia Set, Burning Ship Fractal, Koch Snowflake, etc.) on CPU

How to run it?

You need Visual Studio 2015(or above) and you can just open the .sln file.

How to see different fractals and colors?

  • You can change to the fractal you want to see in Source.cpp - simply remove the comment from the fractal you want to see and run it!
  • If you want to change the coloring you can do that the same way you can change the fractal - go in FractalColors.h (Fractals/FractalColor.h) and then remove the comment from the coloring you want.

What was the biggest issue I had to deal with?

It was the performance. It was an issue for fractals like the Mandelbrot Set, Julia Set, etc. I fixed the problem by making them on multiple threads and using AVX2.

Screenshots

alt text alt text alt text alt text alt text
For more screenshots(and a video):
https://thedevelopers.tech/fractal_fun

Resources

https://github.com/TheDeveloper10/Fractal-Fun/blob/main/resources.txt

LICENSE

Apache-2.0 License

fractal-fun's People

Contributors

thedeveloper10 avatar

Stargazers

 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.