Documentation / Node reference / code nodes
code/SDFKaleidoscopicIFS
Returns the distance to a kaleidoscopic fractal.
Sdf3d
Returns the distance to a fractal made by folding space with the mirrors of a regular solid, then scaling it, over and over. The defaults give a Sierpinski tetrahedron. A small rotation gives more organic shapes.
Parameters
| Name | Type | What it does |
|---|---|---|
| P | Vector3 | Where to sample. Unwired, the builder's sample position. |
| t | Vector3 | Center of the fractal. |
| size | Float | Radius of the ball the fractal fits in. |
| symmetry | UInt8 TETRAHEDRAL · OCTAHEDRAL · ICOSAHEDRAL | The solid whose mirrors fold space. |
| scale | Float | Shrink per level. Larger leaves more space between copies. |
| offset | Vector3 | Where copies sit, as edge, corner and face weights. |
| rotation | Vector3 | Turn applied at each level, in degrees. |
| iterations | UInt8 | Levels of copies. |
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.