Completed December 31, 2009

The Mandelbulb is a stunning three-dimensional analogue of the Mandelbrot set, constructed by Daniel White and Paul Nylander using spherical coordinates.

The Mandelbulb is generally rendered using raymarching & distance estimation (DE) functions. A ray is cast outwards in z space from each pixel and incrementally ‘marched’ forward by varying step amounts until it hits a Mandelbulb point, at which time it can be shaded using traditional Lambert or Phong techniques. Because it’s a fractal, zooming in is resolution-independent and will consistently yield new features. The Mandelbulb is generally represented in the 8th power but lower values produce truly impressive results.

There’s lots of amazing imagery and information about the Mandelbulb here.

  • mandelbulb05
  • mandelbulb_closeup03

These are experimental renders of the Mandelbulb using Tom Beddard’s fantastic Pixel Bender script. He has implemented Phong lighting, raytraced shadows, camera translation and ambient occlusion in his script. They were all rendered at full HD but have been scaled down to 720p for web presentation purposes. At full HD, the detail is gorgeous.

The final black and white image is my own personal attempt at code that generates a simple Mandelbulb.


Created by Richard Rosenman