This node computes a trail on every item of a specified array.
It is designed to be used on sensor data from user interaction.
Properties
Minimum speed
: Minimum speed to start generating a trail
Default : 0.20
Fade in time
: Time it takes for trail to appear (0% to 100% opacity) (in ms)
Default : 200
Fade out time
: Time it takes for trail to disappear (100% to 0% opacity) (in ms)
Default : 3000
Step distance
: Distance between two steps
Default : 0.50
Offset orientation
: Offset the orientation of the steps in the trail (in degrees). This can be useful if what you are drawing has a distinct orientation.
Default : 0.0
Offset distance
: Offset between the source and the trail (in pixels). This can be useful to avoid drawing too close to the source of the trail.
Default : 0.0
Inputs
Name | Type | Description |
---|---|---|
Array | Array | Array containing source coordinates on which to apply trailing |
Outputs
Name | Type | Description |
---|---|---|
Array | Array | Resulting Array computing the trailing |
In the output array, a property Code will be added and will alternate 1 and 0 every other item in the trail.
This can be useful to separate the trail into two sets for left and right purposes (like footsteps).
Example
Here is a preview of the Trailing node setup in a compute graph:
Here is a sample effect made in a Render Graph and making use of the Trailing node’s data:
In this example:
Fade in time
: 100Fade out time
: 3000Step distance
: 100
Need more help with this?
Don’t hesitate to contact us here.