Documentation / Node reference / code nodes

code/SDFJulia2D

Returns the distance to a Julia set fractal, in 2D.

Sdf2d

Returns the distance to a filled Julia set. Each c gives a different shape: animate it for a morphing one. Raise scale and move center to zoom in.

Parameters

Name Type What it does
P Vector2 Where to sample. Unwired, the builder's sample position.
t Vector2 Where center lands in the plane.
scale Float Size of one plane unit. Raise it to zoom in.
center Vector2 Point of the complex plane placed at t.
c Vector2 Fixed point added at each step. It picks the shape.
power UInt8 Exponent. 2 is the classic set; higher adds symmetry.
iterations UInt8 Steps per point. More sharpens the fine filaments.

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.