Velocity Magnitude Context
Experimental Feature
This is an experimental feature. To enable, check Enable Experimental Features in Preferences. Experimental features are only available as part of a Professional licence.
Intro
This layer can be used to extract speed data. For example, the Duplicator adds velocity data by default. You can use this context to e.g. change the colour of something depending on its speed.
UI
Strength - A multiple for the output.
Offset - Add or subtract a value to the output.
Example
- Create a Polygon.
- Add the Polygon to a Duplicator.
- Add Noise to the Duplicator's Shape Position.
- Create a Velocity Magnitude Context.
- Connect speedContext.id→polygon.fillColor.r (the Polygon's red channel)
As the shapes within the Duplicator move around the screen, their color changes depending on the speed they are traveling at. Increase the Strength on the Velocity Magnitude Context to amplify the effect.