The Mandelbulb
Coding Challenge #168
It’s the Mandelbulb! What happens when you take the original fractal (The Mandelbrot Set) and extend it into 3D space? And how do you visualize it in Processing (Java) as a point cloud?
Topics
- 0:00 - Introducing Today’s Topic
- 1:31 - The MandelBrot set explained
- 4:31 - Triplex numbers
- 5:11 - Voxels in Processing
- 6:36 - Adding PeasyCam
- 7:19 - Spherical coordinates
- 9:18 - The power of triplex numbers
- 10:51 - Implementing power formulas
- 15:26 - Converting cartesian to Spherical
- 19:26 - Setting up the MandelBulb
- 22:00 - First MandelBulb
- 22:23 - Optimising visualisation
- 24:47 - Pointcloud MandelBulb
- 25:47 - Variation ideas
- 27:04 - The MandelBulb returns
- 27:31 - See you next time!
Community Contributions
- Rainbow Mandelbulb Cloud (p5js) by Juan Carlos Ponce Campuzano (Source Code)
- Mandelbulb Ray Marching in p5.js based on shadertoy.com/view/wdjGWR by Waiel Al (Source Code)
- Mandelbulb with better edge detection by Cor van Essen (Source Code)
- Crystal Mandelbulb by Kathy McGuiness (Source Code)
- Mandelbulb with raymarching and shaders by Taxen99 (Source Code)
- Cinderella mandelbulb rendered in p5.js with phong illumination lighting by Kathy McGuiness (Source Code)
- Three.js (React) Mandelbulb Port using Web Worker by Joseph Horton (Source Code)
You can also add your own version! (See how)
Links discussed in this coding challenge
Videos discussed in this coding challenge
- Mandelbulb (raymarched SDF) by Inigo Quilez
- Mandelbrot Set with p5.js by The Coding Train
- Spherical Geometry by The Coding Train