Documentation / Node reference / code nodes
code/SDFQuaternionJulia
Returns the distance to a quaternion Julia set, a 4D fractal.
Sdf3d
Returns the distance to a smooth, lumpy body full of folds and tunnels. Change c for a different set, and move w to slide the slice through the fourth dimension.
Parameters
| Name | Type | What it does |
|---|---|---|
| P | Vector3 | Where to sample. Unwired, the builder's sample position. |
| t | Vector3 | Center of the set. |
| scale | Float | Overall size. |
| c | Vector4 | Fixed number added at each step. It picks the shape. |
| w | Float | Where the slice cuts the fourth axis. |
| iterations | UInt8 | Steps per point. More reveals finer detail. |
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.