Lightning (lightning)

Air: forked lightning and sky flashes, for storms.

{
  "$schema": "https://aurora.goatsoft.io/schema/v1.json",
  "format": "aurora",
  "version": 1,
  "name": "Lightning starter",
  "palette": [
    "oklch(0.82 0.06 255)",
    "oklch(0.98 0.03 250)"
  ],
  "layers": [
    {
      "type": "lightning"
    }
  ]
}

This is presets/starters/lightning.aurora: the generator alone, with its defaults.

Colours

A layer’s colors picks 2 palette colours, in the order below. To recolour part of the background, change the palette colour in that position.

PositionPaintsDefault
0Sky flashoklch(0.82 0.06 255)
1Boltoklch(0.98 0.03 250)

Parameters

Every parameter is optional; one you leave out uses its default.

NameLabelDefaultRangeWhat it does
frequencyFrequency0.50 to 1How often lightning strikes.
flashFlash0.60 to 1How brightly the sky lights up.
boltBolt10 to 1How bright the bolt is; 0 for flashes only.
widthWidth10.3 to 3Thickness of the bolt.
reachReach0.850.2 to 1How far down the canvas a bolt can reach.
branchesBranches0.50 to 1How often a bolt forks.
seedSeed00 to 100A different storm.

Implementation note

Built on the shared noise library: hash.