
SkyNew
Lightning bolts
Branching lightning strikes on a distant storm, each a flicker of two to four return strokes with a sheet of light in the cloud around it.
- Version
- 1.0.0
- Added
- 23 October 2026
- Films
- Not used in a film yet
Parameters
| Name | Type | Default | Range | What it does |
|---|---|---|---|---|
| towards | number | 180 | 0 to 360 deg | compass direction of the storm's middle: 0 north, 90 east, 180 south |
| spread | number | 30 | 3 to 90 deg | how far to either side of the middle the strikes can land |
| distance | number | 8 | 2 to 40 km | how far away the strikes are; near ones stand tall, far ones are low and small |
| rate (Can change over time) | number | 8 | 0 to 60 per min | how many flashes a minute; at the same seed the same flashes come at the same momentsCan change over time |
| strokes | integer | 3 | 1 to 4 | most return strokes in one flash; real flashes flicker 2 to 4 times in half a second |
| branches | number | 0.65 | 0 to 1 | how often the channel forks: 0 a bare line, 1 many branches |
| jag | number | 1 | 0.2 to 2 | how crooked the channel is |
| hidden | number | 0.3 | 0 to 1 | share of flashes that only light up the cloud, with no bolt to the ground |
| sheet | number | 1 | 0 to 2 | how bright the sheet of light in the cloud is around each flash |
| sheetSize | number | 20 | 5 to 60 deg | how wide the lit patch of cloud is |
| strength (Can change over time) | number | 1 | 0 to 60 | how bright; 1 puts the channel's core far above a mid-grey, a daylight sky needs 10 to 40Can change over time |
| color | color | #c8d8ff | – | the colour of the light, a bluish white |
| seed | integer | 3 | 0 to 999 | which run of flashes and which crooked paths |
Use it in a film
film.js
elements: { 'lightning-bolts': { towards: 180, spread: 30 } }Use it from your agent
Ask your agent to put it in a film. It finds the element by name.