Skip to main content

vJSONTangentVectorItem

Create a vector that is tangent to a curve or surface at a given point

Mograph / JSONJSONScriptValArray
vJSONTangentVectorItem node

Parameters​

ParameterTypeDefaultDescription
Max angleInteger0Rotates each tangent by this angle.
Line lengthFloat1Base length of each tangent.
Scale FactorFloat1Multiplies the length.
AmplitudeFloat0Strength of the wave added to the length.
FrequencyFloat0Frequency of the wave.
+8 more parameters
ParameterTypeDefaultDescription
PhaseFloat0Phase of the wave.
Damping ModeDropdown----, DMP (damped sine), Sin, SQU (square), TRI (triangle), or SAW (sawtooth).
DampingFloat0Decay rate for DMP.
Node SidesFloat6Sides of the polygon at the tangent end.
Node SizeFloat0.01Size of the polygon.
Node RotationFloat0Rotation of the polygon.
TimeFloat0Time value that drives the wave.
PathDATATYPE——

Example Connections​

vJSONLogarithmicSpiral.Output -> vJSONCameraProjection.ArrayA
vJSONCameraProjection.Output -> vJSONTangentVectorItem.JSON_Path
vJSONTangentVectorItem.Output -> vJSONShapeRender.JSONCustomShape
vJSONCameraProjection.Output -> vJSONShapeRender.JSONPoint
Background.Output -> vJSONShapeRender.Input