Skip to content
Clipwright
Menu
Lightning bolts: a frame from a film that uses it.
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

NameTypeDefaultRangeWhat it does
towardsnumber1800 to 360 degcompass direction of the storm's middle: 0 north, 90 east, 180 south
spreadnumber303 to 90 deghow far to either side of the middle the strikes can land
distancenumber82 to 40 kmhow far away the strikes are; near ones stand tall, far ones are low and small
rate (Can change over time)number80 to 60 per minhow many flashes a minute; at the same seed the same flashes come at the same momentsCan change over time
strokesinteger31 to 4most return strokes in one flash; real flashes flicker 2 to 4 times in half a second
branchesnumber0.650 to 1how often the channel forks: 0 a bare line, 1 many branches
jagnumber10.2 to 2how crooked the channel is
hiddennumber0.30 to 1share of flashes that only light up the cloud, with no bolt to the ground
sheetnumber10 to 2how bright the sheet of light in the cloud is around each flash
sheetSizenumber205 to 60 deghow wide the lit patch of cloud is
strength (Can change over time)number10 to 60how bright; 1 puts the channel's core far above a mid-grey, a daylight sky needs 10 to 40Can change over time
colorcolor#c8d8ff–the colour of the light, a bluish white
seedinteger30 to 999which 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.