Skip to main content Link Menu Expand (external link) Document Search Copy Copied
spiralSdf

spiralSdf

Keywords:
  • coil
  • spiral
  • swirl

A tapering spiral squared tube.

Based on Spiral Tiling by Knightly.

Parameters

  • :
  • Branches: The number of arms of the spiral. Fractional values will produce a discontinuity.
  • Bend: The tightness and direction of the spiral. Positive values are counterclockwise and negative are clockwise.
  • Twist: Twists the arms of the spiral while keeping their path the same.
  • Thickness: Thickness of the arms of the spiral.
  • Exponent:
  • Axis:
    • X:
    • Y:
    • Z:

Inputs

  • Cross Section Shape: (optional) 2D SDF used as the cross section shape of the arms instead of the default rounded square.
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float Sdf