
EffectNew
Embers and sparks
Glowing embers and sparks drifting up on hot air, crowding the bottom of the frame, or rising from a spot in the town.
- Version
- 1.0.0
- Added
- 23 October 2026
- Films
- Not used in a film yet
Parameters
| Name | Type | Default | Range | What it does |
|---|---|---|---|---|
| mode | choice | screen | screen, world | screen drifts embers through the frame; world lifts them from a spot in the town, so a moving camera shows depth |
| blend | choice | solid | solid, additive | solid reads in any light, even a noon sky; additive glows and whitens where embers overlap, for dusk and night |
| amount (Can change over time) | number | 80 | 0 to 200 | how many embers are in the air at onceCan change over time |
| strength (Can change over time) | number | 0.85 | 0 to 1 | how bright the embers areCan change over time |
| temperature | number | 1000 | 700 to 1600 K | how hot they glow: 800 deep red, 1000 orange-red, 1400 orange-yellow |
| size (Can change over time) | number | 1 | 0.3 to 4 | how big each ember is, as a multiple; in world mode 1 is a streak 0.25 m wide (exaggerated so it shows)Can change over time |
| rise | number | 2 | 0.5 to 8 m/s | how fast the hot air lifts them |
| wind (Can change over time) | number | 1.2 | -12 to 12 m/s | the wind that carries them sideways: positive to the right, negative to the leftCan change over time |
| sway | number | 0.5 | 0 to 1 | how much each ember wanders in the turbulence; 0 rises in straight lines |
| flicker | number | 0.5 | 0 to 1 | how much each ember pulses as it glows and cools; 0 is steady |
| life | number | 7 | 2 to 20 s | how long an ember stays aloft, which sets how far up it climbs |
| centre | number | 0.5 | 0 to 1 | screen mode: where across the frame the embers are born, as a share of its width |
| width | number | 0.9 | 0.2 to 1.4 | screen mode: how wide a stretch of the frame they are born across, as a share of its width |
| at | vec2 | 0, 30 | -3000 to 3000 m | world mode: where the embers rise from, metres along the shore and inland of home's door |
| radius | number | 8 | 0.5 to 80 m | world mode: how wide an area they rise from |
| height | number | 0 | 0 to 300 m | world mode: how high above the ground they start |
| lowBias | number | 0.7 | 0 to 1 | screen mode: how strongly the embers crowd the bottom of the frame; 0 spreads them over more of it |
| nearEmbers | integer | 6 | 0 to 20 | screen mode: a few big, soft, out-of-focus embers close to the lens; 0 turns them off |
| fire (Can change over time) | number | 0 | 0 to 1 | world mode: the town's own fire field set under the embers (0 leaves it alone); raise it to burn the townCan change over time |
Use it in a film
film.js
elements: { 'embers': { mode: 'screen', blend: 'solid' } }Use it from your agent
Ask your agent to put it in a film. It finds the element by name.