dogBoneSdf2d

dogBoneSdf2d

sdf2d
dogBoneSdf2d
RayTK
v0.36

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