Grain (grain)

Animated film grain, to lay over other layers.

{
  "$schema": "https://aurora.goatsoft.io/schema/v1.json",
  "format": "aurora",
  "version": 1,
  "name": "Grain starter",
  "palette": [
    "oklch(1 0 0)"
  ],
  "layers": [
    {
      "type": "grain"
    }
  ]
}

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

Colours

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

PositionPaintsDefault
0Grainoklch(1 0 0)

Parameters

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

NameLabelDefaultRangeWhat it does
amountAmount0.070 to 0.5Grain strength.
sizeSize1 px1 to 6Grain size in whole canvas pixels.
rateRate18 /s0 to 30New grain patterns per second; 0 keeps it still.

Implementation note

Built on the shared noise library: hash.