Builtin Library
README.md
curve.circle (procNode)
A closed circular curve in the XZ plane, centered at at: point i of segments stands at angle i / segments * 2 pi around at.
Built from: core.points, attribute.number, curve.from_points.
Inputs
at(Vec3). Default{ x = 0, y = 0, z = 0 }. The circle's center; the ring stands at this point's height.radius(Float). Default1. Distance from the center to each point, in the XZ plane.segments(Float). Default32. At least 3. How many points the ring is built from, spread evenly over the full turn.
Outputs
curve: one closed curve ofsegmentspoints, each carryingPand its numberid; the curve'sclosedis 1.
Example
local ring = g.curve.circle({ at = vector.create(0, 1, 0), radius = 2, segments = 12 })