Helix (approx.)

Helix (approx.) icon

In: SDF function > Primitive

Description

An SDF function for an approximation of a helix, which is a shape formed by sweeping a circle along a curve winding along an upward curve around an axis.

Note:Since this SDF function is an approximation, artefacts might appear when rendering it.

Inputs

Inputs

Major radius Float
The distance of the winding curve from the axis.

Default: 0.4
Minor radius Float
The radius of the circle being swept along the curve to form the surface of the helix.

Default: 0.1
Height Float
The Z-up height of the helix.

Default: 0.5
Windings Float
The number of times the curve fully winds around the axis in steps of 0.5.
I.e., how many times the helix will revolve within a height of 0.5.

Default: 4
Center position Float3
The world space position of the pivot of the helix.

Default: (0, 0, 0)
P Float3
The transformed world space position. Use this input to apply additional transformations using the Offset P and Rotate P nodes.

Default: The untransformed world space position.
recommendation-more-help
dd48abc6-e399-43d2-9777-578ec70c5a23