Motion Amount
A field-to-value bridge that turns a flow field back into a value. It converts the field’s vector length to grayscale with saturate(|v| × Gain), downscales that to 16×16, and outputs the average as Amount. Connect Optical Flow for the amount of motion across the whole image, or Field Noise and the like for a field-strength meter.
- Gain — clamped to 0-10, default 3 (
currentGain). saturate caps it off, so raising it too far pins the value at 1
Readback happens once every 3 frames, and because reading back from the GPU is asynchronous there is a 1-2 frame delay. The output itself updates every frame, but the value only changes on this cadence.
Amount goes to 0 when the input is disconnected.
Input ports
| Port ID | Type |
|---|---|
Flow | FlowFieldInput |
Output ports
| Port ID | Type |
|---|---|
Amount | float |
Scriptable members
| Path | Type |
|---|---|
currentGain | float |
Synapse Apps (scripting)
await synapse.modules.create({ type: "MotionAmount" }) 


