# Mandelbulb 三维分形探索器

基于 WebGL 光线步进渲染的交互式三维 Mandelbulb 分形探索器——旋转观察曼德博集合真正的三维推广

> 标准页面: https://elysiatools.com/zh/visualizations/mandelbulb-3d-fractal-explorer

- **分类:** Math

## 概述

Interactive 3D Mandelbulb fractal explorer rendered with a real-time WebGL distance-estimated ray-marcher — the only true THREE-DIMENSIONAL fractal in the collection (every existing fractal case — Mandelbrot set, Julia set, Burning Ship, Multibrot, Newton fractal, IFS, fractal-dimension, fractal-chaos — is strictly 2D). The Mandelbulb, proposed by Daniel White and Paul Nylander (2009), generalises the Mandelbrot iteration z→z²+c by raising z to an integer power n in SPHERICAL coordinates: with r=|z|, polar angle θ=acos(z/r), azimuth φ=atan2(y,x), the power step gives zⁿ magnitude rⁿ, polar angle n·θ, azimuth n·φ, so the orbit z_{k+1}=z_k^n+c (z_0=0) either escapes or stays bounded. The 3D view is produced by a fullscreen-quad fragment shader that ray-marches the SAME distance estimator as the CPU model: alongside z we accumulate the running-derivative magnitude dr (recurrence dr=r^{n−1}·n·dr+1), and for escaped points DE(c)=½·ln(r)·r/dr is a lower bound on the distance to the fractal surface, letting rays step by DE(c) without overshooting; surface normals come from tetrahedron finite-differences of DE, with diffuse + ambient + ambient-occlusion (step-count) shading and four color palettes (fire/ice/aurora/mono). Controls: orbit the camera by dragging (mouse + touch), zoom with the wheel, power-n slider (2–10), max-iterations slider (4–20), light azimuth, ambient-occlusion toggle, auto-rotate, reset view, and 6 presets (classic n=8, power 2, power 3, spiky n=9, deep zoom, side slice). A second 2D-SLICE view evaluates the model CPU-side on a fixed plane (x/y/z = const, adjustable position), colouring the interior black (bounded orbit) and escape-time bands outside — showing how the 3D volume's cross-section changes with power n and plane position, with live inside-fraction and mean-escape-iteration stats. Verified by 72 model tests (power-step identity/magnitude/axis behaviour, origin-inside, distance-estimator monotonic approach, outward normal near the +x lobe, slice-axis mapping, slice stats, ray-march hit/miss, presets, power-2-vs-8 geometry difference). Educational content covers the spherical power-n formula, the distance estimator and ray marching, why this is a genuine 3D fractal (non-integer Hausdorff dimension, no single 'correct' 3D vector product), and how to explore (zoom reveals self-similar filigree). Multi-language support (zh, en, es, fr, de, ru, pt).

## 相关内容

- [零级反应 - Zero-Order Reaction](https://elysiatools.com/zh/visualizations/zero-order-reaction): 零级反应动力学和浓度随时间变化的交互式可视化
- [一级反应 - First-Order Reaction](https://elysiatools.com/zh/visualizations/first-order-reaction): 一级反应动力学和指数浓度衰减的交互式可视化
- [二级反应 - Second-Order Reaction](https://elysiatools.com/zh/visualizations/second-order-reaction): 二级反应动力学和双分子碰撞动力学的交互式可视化
- [阿伦尼乌斯方程 - Arrhenius Equation](https://elysiatools.com/zh/visualizations/arrhenius-equation): 温度对反应速率影响的交互式可视化 - 探索活化能、指数因子和速率常数的关系
- [可逆反应 - Reversible Reaction](https://elysiatools.com/zh/visualizations/reversible-reaction): A ⇌ B 可逆反应动力学的交互式可视化 - 探索正逆反应速率、平衡常数和浓度随时间的变化
- [连续反应 - Consecutive Reaction](https://elysiatools.com/zh/visualizations/consecutive-reaction): A → B → C 连续反应动力学的交互式可视化 - 探索中间物浓度峰值、决速步和所有物种的完整演化
- [链式反应 - Chain Reaction](https://elysiatools.com/zh/visualizations/chain-reaction): 自由基链式反应聚合的交互式可视化 - 探索引发、增长、终止步骤，链增长动画和分子量分布
- [勒夏特列原理 - Le Chatelier's Principle](https://elysiatools.com/zh/visualizations/le-chateliers-principle): 勒夏特列原理的交互式可视化 - 探索浓度、压强和温度变化如何影响化学平衡，配合分子动力学动画展示平衡移动过程
