Skip to main content

vScriptValTangentVectorItem

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

Mograph / ScriptValScriptValArrayJSON
vScriptValTangentVectorItem 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​

vScriptValLogarithmicSpiral.Output -> vScriptValCameraProjection.ScriptVal
vScriptValCameraProjection.Output -> vScriptValTangentVectorItem.ScriptVal1
vScriptValTangentVectorItem.Output -> vScriptValShapeRender.ScriptValShape
vScriptValCameraProjection.Output -> vScriptValShapeRender.ScriptValPoint
Background.Output -> vScriptValShapeRender.Input