
EffectNew
Light streaks
A long-exposure road: head and tail lights of passing traffic smeared into bright lines along two lanes of the street.
- Version
- 1.0.0
- Added
- 23 October 2026
- Films
- Not used in a film yet
Parameters
| Name | Type | Default | Range | What it does |
|---|---|---|---|---|
| traffic (Can change over time) | number | 60 | 0 to 200 | how many lights are on the road at once, split between the two lanesCan change over time |
| speed (Can change over time) | number | 22 | 3 to 80 m/s | how fast the traffic goes: the streaks lengthen with itCan change over time |
| exposure | number | 0.6 | 0.1 to 1 s | how long the camera's shutter stays open: longer smears the lights into longer lines |
| strength (Can change over time) | number | 0.9 | 0 to 1 | how bright the lights areCan change over time |
| width | number | 0.1 | 0.05 to 1.5 m | how wide each light's line is on the road; it looks thinner the farther it is |
| bloom | number | 0.6 | 0 to 1 | the soft glow round each light; 0 leaves clean lines |
| height | number | 0.7 | 0.2 to 3 m | how high the lights are above the road (a car's lamps are about 0.7 m) |
| lanes | vec2 | -13.2, -9.2 | -2000 to 2000 m | how far inland of home's door the two lanes are: the first runs along the shore, the second back |
| centre | number | 3 | -2000 to 2000 m | where along the shore the stretch of road is centred, from home's door |
| reach | number | 60 | 40 to 1000 m | how far the road runs either side of its centre |
| headColour | color | #fff0d2 | – | the colour of the lights coming toward the right (headlights) |
| tailColour | color | #ff3b2a | – | the colour of the lights going toward the left (tail lights) |
Use it in a film
film.js
elements: { 'light-streaks': { traffic: 60, speed: 22 } }Use it from your agent
Ask your agent to put it in a film. It finds the element by name.