spiralSdf

spiralSdf

Keywords:
  • coil
  • spiral
  • swirl
sdf
spiralSdf
RayTK
v0.36

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