C++ mandelbrot

Open-source C++ projects categorized as mandelbrot

Top 10 C++ mandelbrot Projects

  • vulkan_minimal_compute

    Minimal Example of Using Vulkan for Compute Operations. Only ~400LOC.

  • cxxmatrix

    C++ Matrix: The Matrix Reloaded in Terminals (Number falls, Banners, Matrix rains, Conway's Game of Life and Mandelbrot set)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • XaoS

    Real-time interactive fractal zoomer

  • Project mention: Julia and Mojo (Modular) Mandelbrot Benchmark | news.ycombinator.com | 2023-09-08

    https://github.com/xaos-project/XaoS is still awesome but could really use a GPU backend :)

  • GAPFixFractal

    A program to generate pictures of Mandelbrot or Julia sets, using arbitrary precision arithmetic on CUDA GPUs.

  • mandelbrot-comparison

    Comparison of Mandelbrot Set programs in different languages with smooth coloring and built-in benchmark mode.

  • mandelbrot-orbits

    Looking at periodic cycles / orbits in the mandelbrot set.

  • mraster

    Simple C++ off screen raster graphics library

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • mandelbrot-sfml-imgui

    Interactive multi-threaded C++ Mandelbrot renderer using SFML + ImGui running at constant 60 FPS

  • FractalShark

    FractalShark - a fast Mandelbrot Set renderer for Nvidia GPUs

  • Project mention: Optimization Example: Mandelbrot Set (part 1) | news.ycombinator.com | 2024-02-19

    "Are there similar optimizations that can be applied on the GPU side" is a fascinating question.

    There are actually two communities trying to write the fastest mandelbrot renderer with very different definitions of fastest. Weirdly, the two communities basically don't acknowledge each other- I don't mean there's animosity, I mean they seem to just not show up in each other's google searches- total lack of mention.

    On one side is "What is the fastest way to render the mandelbrot set in floating point precision," such as the parent article. This is where you might see tricks like filling in boxes, directly checking for repeating cycles etc, but advanced attempts always seem to get into writing assembly and carefully managing CPU multipliers- The OP's article is a wonderful example of optimizing in this community. I don't really know of many high-man-hour attempts from this branch that use GPU rendering, since it's more about delving into the CPU's details and being faster than other codebases in the same constraints than about achieving a real world task that would otherwise be too slow. The real center of this community is https://benchmarksgame-team.pages.debian.net/benchmarksgame/..., where not only is GPU banned because it would be missing the point, but optimizations like checking whether four corners are all the same color are also verboten, as it's all about how fast the inner loop can spin.

    The second community is trying to go deep, deep into the mandelbrot set- way past where it makes sense to represent the location of a pixel as a floating point number. Here speed is a practical concern. Images like "Evolution of Trees" https://www.deviantart.com/dinkydauset/art/Evolution-of-tree... used to take weeks to render, and it's been a no-holds-barred brawl to reduce that time- of course the GPU and alternative algorithms are allowed. The fastest codebases that I know of are FractalShark https://github.com/mattsaccount364/FractalShark and Kallas Fraktaler 3 https://mathr.co.uk/kf/kf.html#top and both have CUDA kernels, but I don't think that these kernels have been optimized to the point of finding and fixing sheep races.

    The reason is twofold- first, the algorithmic progress has been lightning fast in recent years. The biggest breakthrough, bilinear approximation with rebasing, was discovered in 2022- and it (roughly, the actual runtime is currently unknown) takes the time to calculate an image from O(num pixels * num iterations) to O((num pixels * log (num iterations)) + num iterations). As a result, there just hasn't been time since 2022 to optimize the constant factors to the level in OP, especially now that the algorithm is so much more complicated than multiply, add, repeat. Second, with just lightly optimized CUDA for the num pixels log num iteration term, the overall runtime is currently dominated by the term with no dependency on the number of pixels. No one knows how to parallelize that term (at least not to many cores- fractal shark can use three cores I believe), so improvements in the CUDA kernel don't translate to unlocking deeper renders.

    The "render deep images fast" community mostly hangs out on fractalforums.org- I highly recommend swinging by, it's a wonderful and active forum (note- heavily moderated to stay on topic- makes hackernews look like the wild west)

  • mandelbrotpp

    🧮 An interactive Mandelbrot set visualizer written in C++.

  • Project mention: My first project in C++23, an SDL Mandelbrot set visualizer. Any suggestion is welcome! (Look at the releases to learn more) | /r/cpp | 2023-07-25
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ mandelbrot related posts

  • Optimization Example: Mandelbrot Set (part 1)

    3 projects | news.ycombinator.com | 19 Feb 2024
  • Performance comparison/benchmark of raw computational power between 1.8 GHz Raspberry Pi 400 and 3.8 GHz Ryzen 9 3900X

    1 project | /r/raspberry_pi | 13 Mar 2023
  • Fiery Mandelbrot Spiral

    1 project | /r/FractalGifs | 22 Dec 2022
  • Using Mandelbrot Curves for orbit traps.

    1 project | /r/FractalGifs | 15 Oct 2022
  • I have a very powerful computer, is there any way I can utilise my hardware and view the Mandelbrot at very deep zoom levels

    3 projects | /r/Mandelbrot | 9 Sep 2022
  • Burning Ship Fractal

    3 projects | news.ycombinator.com | 24 Jul 2022
  • A busy corner of the Mandelbrot set

    1 project | /r/fractals | 2 Apr 2022
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 5 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

What are some of the best open-source mandelbrot projects in C++? This list will help you:

Project Stars
1 vulkan_minimal_compute 699
2 cxxmatrix 666
3 XaoS 483
4 GAPFixFractal 19
5 mandelbrot-comparison 12
6 mandelbrot-orbits 12
7 mraster 9
8 mandelbrot-sfml-imgui 8
9 FractalShark 6
10 mandelbrotpp 2

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com