
EffectNew
Falling debris
Rocks and fragments falling from the sky and bouncing off the ground, with a puff of dust at each landing; gravity is a setting.
- 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 much falls: 0 none, 0.3 a scatter, 1 a barrageCan change over time |
| size (Can change over time) | number | 0.4 | 0.1 to 3 m | width of the biggest rocks; fragments are a third of it, and small ones are drawn at least 0.12 mCan change over time |
| gravity (Can change over time) | number | 9.81 | 1 to 30 m/s² | gravity: sets how hard the rocks fall and how high they bounce; Moon 1.6, Earth 9.8, Jupiter 24.8Can change over time |
| dropHeight | number | 60 | 5 to 300 m | how high above the ground the rocks begin to fall, which sets their landing speed |
| bounce | number | 0.5 | 0 to 1 | how lively the rocks rebound: 0 dead, 1 high hops |
| windToward | number | 120 | 0 to 360 deg | compass bearing the rocks lean toward as they fall |
| lean | number | 3 | 0 to 30 % | sideways drift while falling, as a share of the fall speed in percent; 0 straight down |
| tint | color | #756d63 | – | the colour of the rocks: grey, brown or black basalt |
| dustTint | color | #b4a894 | – | the colour of the dust puffs where rocks land |
| dust | number | 0.6 | 0 to 1 | how much dust each landing kicks up; 0 none |
| strength (Can change over time) | number | 1 | 0.1 to 1.5 | how visible the rocks and dust 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 | 100 | 40 to 300 m | how far ahead rocks 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 | 9 | 0 to 99 | which random pattern the particles fall in |
Use it in a film
film.js
elements: { 'debris-fall': { amount: 0.5, size: 0.4 } }Use it from your agent
Ask your agent to put it in a film. It finds the element by name.