
EffectNew
Falling leaves
Autumn leaves letting go from the trees and drifting down, swaying and tumbling on the wind, in colours a channel can make its own.
- Version
- 1.0.0
- Added
- 23 October 2026
- Films
- Not used in a film yet
Parameters
| Name | Type | Default | Range | What it does |
|---|---|---|---|---|
| amount (Can change over time) | number | 0.5 | 0 to 1 | how many leaves are in the air: 0 none, 0.3 a few, 1 a heavy fallCan change over time |
| treeHeight (Can change over time) | number | 12 | 3 to 40 m | how high the leaves let go; they begin their fall at this height and belowCan change over time |
| fallSpeed | number | 1.1 | 0.3 to 3 m/s | how fast a leaf sinks; real leaves fall at about 0.5 to 2 m/s, flutter included |
| flutter | number | 0.6 | 0 to 1 | how much the leaves sway and tumble on the way down: 0 straight, 1 swirling |
| wind (Can change over time) | number | 2 | 0 to 25 m/s | wind speed at the ground; the leaves drift with itCan change over time |
| windToward | number | 120 | 0 to 360 deg | compass bearing the wind blows toward: 120 along the shore, across the street view |
| leafSize | number | 0.3 | 0.1 to 0.6 m | how wide each leaf is drawn; 0.3 reads at phone size, real leaves are 5 to 15 cm |
| tintA | color | #c1651f | – | the first leaf colour; a channel's seed turns the hue |
| tintB | color | #b89a2e | – | the second leaf colour |
| tintC | color | #8a3a1e | – | the third leaf colour |
| strength (Can change over time) | number | 1 | 0.1 to 1.5 | how visible the leaves are against the pictureCan change over time |
| camera | vec2 | 3, -18 | -600 to 600 | where the camera stands [along, inland] metres; the effect gathers ahead of it |
| facing | number | 20 | 0 to 360 deg | compass bearing the camera faces: 20 is the street looking at home, 210 out to sea |
| reach | number | 60 | 20 to 150 m | how far ahead leaves fall |
| level (Can change over time) | number | 0 | -20 to 60 m | height of the ground or water the effect lies on, over today's sea; follow the sea as it risesCan change over time |
| seed | integer | 3 | 0 to 99 | which random pattern the particles fall in |
Use it in a film
film.js
elements: { 'falling-leaves': { amount: 0.5, treeHeight: 12 } }Use it from your agent
Ask your agent to put it in a film. It finds the element by name.