
EffectNew
Sea spray
Wind-torn spray off breaking waves along the shore: white bursts that climb and fall back, spindrift streaming low and a fine mist drifting downwind.
- Version
- 1.0.0
- Added
- 23 October 2026
- Films
- Not used in a film yet
Parameters
| Name | Type | Default | Range | What it does |
|---|---|---|---|---|
| strength (Can change over time) | number | 0.6 | 0 to 1 | how big the waves are: bursts climb from 2 m at 0 up to the throw at 1, thicker and more oftenCan change over time |
| throw | number | 26 | 6 to 120 m | how high the spray climbs at full strength; open-coast breakers throw 10 to 30 m, cliffs and storms more |
| wind (Can change over time) | number | 12 | 0 to 30 m/s | how hard the wind tears the spray and carries the mist away from the seaCan change over time |
| windToward | number | 30 | 0 to 360 deg | the compass bearing the spray blows toward: 30 is inland, 120 and 300 along the shore |
| at | vec2 | 0, -262 | -3000 to 3000 m | where the waves break, metres along the shore and inland of home's door; the waterline is about -262 inland |
| reach | number | 60 | 5 to 400 m | how far along the shore the breaking waves run; short is one big plume, long a surf line |
| period | number | 7 | 3 to 15 s | the time between waves: each wave sends up a fresh burst |
| spindrift | number | 0.6 | 0 to 1 | how much fine spray streams low along the wind just above the water; 0 turns it off |
| mist | number | 0.6 | 0 to 1 | how much pale mist hangs and drifts downwind of the breakers; 0 turns it off |
| viewDistance | number | 80 | 5 to 1500 m | how far the camera is from the waves, so the droplets keep a steady size on screen |
| colour | color | #f3f7f9 | – | the colour of the spray: sea water in air is white, a touch blue-grey in shade |
Use it in a film
film.js
elements: { 'sea-spray': { strength: 0.6, throw: 26 } }Use it from your agent
Ask your agent to put it in a film. It finds the element by name.