Photorealistic Fractals

Blue Underwater Mandelbulb Octopus Curls

Using the physics of light waves, the Mandelbulb and other 3D fractals can be rendered with the optics of a camera lens, as if you photographed them inside a virtual world. The Gaussian thin lens equation describes how light bends through a camera lens and focuses the image on the sensor.

An illustration of light passing through a convex thin lens. Three rays are emitted from a point 1/d_o away from the lens, pass through the lens, and are bent toward each other so they intersect again at a point on the other side 1/d_i away from the lens.
1do + 1f = 1di

where:
do is the distance to the object.
di is the distance to the image projected on the camera sensor.
 f  is the focal length of the lens.

I wrote a custom GPU-based program to render the images in tiles, with multiple passes for supersampling. It has a virtual camera with a lens and a focal length, which I've adjusted so that the most interesting parts are in focus. Without a depth of field, the details are often difficult to see against a background of infinitely many more self-similar details. The focus gives objects a sense of depth when the background is decoratively blurred and the focal point becomes highlighted. The camera lens's diameter also adds a reference scale to the image. Without it, the fractal would look identical at all scales!


Click any image to see it in higher quality, full screen.


Mandelbulb

Mandelbulb FocusedFractal3 MandelbrotSpiral Mandelbulb11 Mandelbulb3 Mandelbulb10 Mandelbulb12 Mandelbulb13 Mandelbulb2 Mandelbulb14 BrownShadowbulb BrownShadowbulb2 Mandelbulb4 Mandelbulb5 Mandelbulb6 GreenVines Mandelbulb7 Mandelbulb8 Mandelbulb9 MandelbulbBlueIce MandelbulbGoldBlue MandelbulbGoldBlue2 MandelbulbGoldBlue4 MandelbulbGoldBlue3 MandelbulbGoldBlue5 MandelbulbOctopus2 MandelbulbUnderwater MandelbulbUnderwater2.jpg Shadowbulb GreenShadowbulb4 GreenShadowbulb2 GreenShadowbulb3 GreenShadowbulb5 Infinibulb Lichenbulb RockTunnel


Icebox

Icebox Icebox4 Icebox3 Icebox12 Icebox5 Icebox11 Icebox10 Icebox13 Icebox14 Icebox15 Icebox2 Icebox6 Icebox8 IceboxCave IceboxGold IceboxGold3 IceboxGold4 IceboxInside IceboxInside2 IceboxInside3 Icecube Icecube2 Icecube3 Icecube4 Icecubes Icecubes2


Mandelbox

Mandelbox Mandelbox10 Mandelbox13 ElectricMandelbox Mandelbox15 Mandelbox16 Mandelbox11 Mandelbox12 Mandelbox2 Mandelbox3 Mandelbox4 Mandelbox5 Mandelbox6 Mandelbox8 Mandelbox9 MandelboxInside


3D Burning Ship


This equation is the power-2 Mandelbulb, with the absolute value of Z taken at every iteration, as in the 2D Burning Ship fractal.
BurningShip3D BurningShip3D2 BurningShip3D3 BurningShip3D4 BurningShip3D5 BurningShip3D6 BurningShip3D7


Snowflakes

Snowflake Snowflake2 Snowflake3 Snowflake4 Snowflake5 Snowflake6 SnowflakeTip SnowflakeTip2


Experiments!

Tree MandelWorld Circuitry Tunnel Greenbulb GreenVines2 Mummy Mummy2 Cheesebulb Fuzzybulb Mandelcity2 Mandelcity3 Mandelcity6 Rootbulb Spikybulb Spikybulb2 Spikybulb3 Crocodilebulb Stringybulb MandelbulbAbs Mandelbox_v2