Skip to main content

vJSONCustom2DShapes

Dynamically create 2D Shape elements

Mograph / JSONJSONScriptValArray
vJSONCustom2DShapes node

Parameters​

ParameterTypeDefaultDescription
Shape TypeDropdownTicksNone, Ticks, Lines, Frames, Symbols, or Others.
Shape SelectorInteger1Which outline of the chosen set is used.
X OffsetFloat——
Y OffsetFloat—Moves the shape along X and Y.
Z OffsetFloat——
+5 more parameters
ParameterTypeDefaultDescription
X RotationFloat——
Y RotationFloat——
Z RotationFloat—Rotates the shape.
XY ScaleFloat0.05Uniform scale.
InputScriptVal—Data to process.

Example Connections​

vJSONPointsOnCircle1.Output -> vJSONUnPacker.ArrayB
vJSONUnPacker.OutputArray -> vJSONSin.ArrayA
vJSONSin.Output -> vJSONPacker.ArrayA
vJSONPacker.Output -> vJSONCameraProjection.ArrayA
vJSONCameraProjection.Output -> vJSONShapeRender.JSONPoint
vJSONCustom2DShapes.Output -> vJSONShapeRender.JSONCustomShape
Background.Output -> vJSONShapeRender.Input