Skip to main content

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
  1. Create a Polygon.
  2. Add the Polygon to a Duplicator.
  3. Add Noise to the Duplicator's Shape Position.
  4. Create a Velocity Magnitude Context.
  5. Connect speedContext.idpolygon.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.