Skip to main content

vArrayPointsOnArc

Builds an arc of points between each pair of consecutive input points.

IntermediateMograph / ArrayArrayScriptValJSON
vArrayPointsOnArc node

vArrayPointsOnArc takes an array of points and outputs Smoothness + 1 points on an arc between each consecutive pair. With the default Height Factor of 0 each arc is a half circle in the XY plane with the two points as its diameter.

Parameters​

ParameterTypeDefaultDescription
SmoothnessFloat20Number of segments per arc. Range 1 to 100, default 20.
Height FactorFloat0.0Hidden control. Bends the arc sideways and lifts it on Z. Slider 0.001 to 1, default 0.
MultiplierFloat0.0Hidden control. Multiplier. Read by the code but not used. Default 0.
InputDATATYPE—Points that the arcs connect, in order. Each needs 3 values.
Read the full description

For every pair of neighboring input points the node places Smoothness - 1 points between them and keeps the two input points at the ends. Each point is the start point turned around a center by an angle that runs from 0 to 180 degrees. With Height Factor 0 the center is the middle of the pair, so the arc is a half circle in the XY plane, and Z follows a cosine between the two Z values.

Height Factor (hidden, default 0) moves the center sideways by half the distance times the factor and lifts the middle of the arc on Z by the factor times the distance. Smoothness runs from 1 to 100 with a default of 20. A point shared by two pairs is written twice. Fewer than 2 input points give an empty output.

Example Connections​

vArrayLine.Output -> vArrayPointsOnArc.ArrayA
vArrayPointsOnArc.Output -> vArrayCameraProjection.ArrayA
vArrayCameraProjection.Output -> vArrayShapeRender.ArrayPoint
Background.Output -> vArrayShapeRender.Input