vJSONCustom2DShapes
Dynamically create 2D Shape elements
Mograph / JSONJSONScriptValArray

Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| Shape Type | Dropdown | Ticks | None, Ticks, Lines, Frames, Symbols, or Others. |
| Shape Selector | Integer | 1 | Which outline of the chosen set is used. |
| X Offset | Float | — | — |
| Y Offset | Float | — | Moves the shape along X and Y. |
| Z Offset | Float | — | — |
+5 more parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| X Rotation | Float | — | — |
| Y Rotation | Float | — | — |
| Z Rotation | Float | — | Rotates the shape. |
| XY Scale | Float | 0.05 | Uniform scale. |
| Input | ScriptVal | — | Data to process. |
Example Connections
- Example 1
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