
EffectNew
Spark shower
Electrical sparks bursting from a point in timed showers that fly out, sink and fade: a power line, a transformer, grinding metal.
- Version
- 1.0.0
- Added
- 23 October 2026
- Films
- Not used in a film yet
Parameters
| Name | Type | Default | Range | What it does |
|---|---|---|---|---|
| rate (Can change over time) | number | 1.1 | 0.05 to 8 1/s | how many bursts a second; above 0.8 each burst is cut shorter so the next can startCan change over time |
| size (Can change over time) | number | 3.4 | 0.2 to 20 m | how far the sparks fly from the fault, as the burst's radiusCan change over time |
| sparks | integer | 110 | 4 to 300 | how many sparks a burst throws |
| sparkSize | number | 0.22 | 0.05 to 1 m | how big each spark is; larger than a real one so it reads at phone size (about 2 px from 25 m) |
| strength (Can change over time) | number | 1 | 0 to 1 | how bright the sparks areCan change over time |
| fall | number | 3 | 0 to 10 m | how far the cloud of sparks sinks by the end of a burst |
| glitter | number | 0.6 | 0 to 1 | how much each spark twinkles as it burns out |
| at | vec2 | -9, 10 | -3000 to 3000 m | where the fault is, metres along the shore and inland of home's door |
| height | number | 6.5 | 0.2 to 200 m | how high above the ground the fault is, such as a power line or a transformer |
| colour | color | #ffb347 | – | the colour of the sparks as they fly (hot orange) |
| coreColour | color | #fff0b8 | – | the colour of the hottest sparks near the centre (pale yellow) |
| seed | integer | 3 | 0 to 999 | which run of bursts: it nudges where each burst starts |
Use it in a film
film.js
elements: { 'spark-shower': { rate: 1.1, size: 3.4 } }Use it from your agent
Ask your agent to put it in a film. It finds the element by name.