GPU-Run Fractal Visualiser in Unity

The Project

This is a demo of an app I have made (using C# and HLSL with Unity for the UI) to render the Mandelbrot Set and Newton's Fractal in real time on the GPU; this allows the user to see great detail while still updating at a decent framerate. It is a project I have been working on, on and off, for around 2 years and I though it was about time to share it! Inspired my dad mentioning the Mandelbrot Set while on a walk, I decided to create my own program to show it. Shortly before, I had been watching some videos about ray tracing, so I decided to render the fractal on the GPU. I later added Newton's Fractal when I came across it on YouTube (as you do), as well as many other features such as colour editing and antialiasing. No part of the code was terribly hard on its own, however there is a lot of it and some parts were very hard to debug (e.g. HLSL, one of the languages used, is very particular about what order things are declared in). The hardest part mathematically was generating a polynomial given its roots, which involves some tricky combinatorics.

Advanced

About the team

  • United Kingdom

Team members

  • Rowan