Documentation / Node reference / code nodes
code/SDFMandelbulb
Returns the distance to a Mandelbulb, a 3D fractal.
Sdf3d
Returns the distance to the Mandelbulb, a 3D fractal. Power 8 gives the classic bulb. Turn on julia for a whole family of other shapes.
Parameters
| Name | Type | What it does |
|---|---|---|
| P | Vector3 | Where to sample. Unwired, the builder's sample position. |
| t | Vector3 | Center of the bulb. |
| scale | Float | Overall size. |
| power | Float | Exponent. 8 is the classic bulb; higher adds thinner lobes. |
| iterations | UInt8 | Steps per point. More reveals finer detail. |
| thetaShift | Float | Vertical angle added at each step, in degrees. |
| phiShift | Float | Horizontal angle added at each step, in degrees. |
| julia | Bool | Add a fixed point each step, for a Julia bulb. |
| juliaC | Vector3 | The fixed point added when julia is on. |
See also
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.