A 3D fractal renderer that creates high resolution photorealistic images of your own custom fractals
The program makes use of a technique called raymarching to estimate the distances to the 3D fractals and the basic geometric shapes. To represent a physical object in raymarching you need a sign distance function (SDF) that simply return the shortest distance to that object when give any 3D point in space. You can find each scene's SDF in its corresponding shader file (e.g. shader0.glsl contains the SDF of the menger sponge on line 195 in the "sponge" function)







