Optionalpoints: Point3[]Optionalweights: number[]Optionalclosed: booleanOptionalperiodic: booleanOptionaldegree: numberThe control points: the curve starts at the first, ends at the last and is pulled toward the ones between.
One weight per control point, plus one more when closed is true and periodic false; above
1 pulls harder, below 1 lets go.
When true, the first point is appended again so the ends meet, with a corner at the seam.
OptionalperiodicWhen true, the curve closes into a loop that is smooth across the seam and needs exactly one
weight per point; it overrides closed.
OptionaldegreeHow many neighboring control points shape each part of a periodic curve; ignored otherwise.
Control points with a weight each and shape options for
shapes.wire.createBezierWeights; the weights say how strongly each point pulls the curve.