Field Constant

Read with AI
All docs in one file (llms-full.txt)
FieldConstant #Field #Node
Field Constant

Builds a uniform flow field from an angle and a strength. Every pixel gets the same vector (cos(Angle), sin(Angle)) × Strength, so the whole screen flows in the same direction. It is the minimal bridge from a value (float) to a field (FlowField); plug an LFO into Angle and you get a turning wind.

  • Angle — in degrees. The UI slider is -180 to 180, but values coming through the input port (Angle / angleInput) are not clamped
  • Strength — clamped to -2 to 2, default 0.2. The unit is UV displacement per second. Negative values reverse the direction

The output texture is 8×8. The field is uniform, so a minimal resolution is enough, and the consumer reads it with bilinear filtering.

Video

Input ports

Port IDType
Anglefloat
Strengthfloat

Output ports

Port IDType
FlowFlowFieldOutput

Scriptable members

PathType
angleInputfloat
strengthInputfloat
currentAnglefloat
currentStrengthfloat

Synapse Apps (scripting)

await synapse.modules.create({ type: "FieldConstant" })

Pages linking here

Also referenced from