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

dogBoneSdf2d

2D SDF for two connected circles.

Parameters

  • Translate: Moves the center of the shape.
  • Radius: Radius of the circles.
  • Length: Spacing between the two circles.
  • Bulge: Negative values pull the connection tighter, positive values bulge out perpendicular to the main axis.
  • Axis:
    • X:
    • Y:

Inputs

  • Radius Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • Length Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • Bulge Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float