Linear sweep (linear-sweep)

A flowing linear gradient through three colours.

{
  "$schema": "https://aurora.goatsoft.io/schema/v1.json",
  "format": "aurora",
  "version": 1,
  "name": "Linear sweep starter",
  "palette": [
    "oklch(0.55 0.2 275)",
    "oklch(0.68 0.22 330)",
    "oklch(0.82 0.15 65)"
  ],
  "layers": [
    {
      "type": "linear-sweep"
    }
  ]
}

This is presets/starters/linear-sweep.aurora: the generator alone, with its defaults.

Colours

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

PositionPaintsDefault
0First colour along the sweepoklch(0.55 0.2 275)
1Middle colouroklch(0.68 0.22 330)
2Last colouroklch(0.82 0.15 65)

Parameters

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

NameLabelDefaultRangeWhat it does
angleAngle135 deg0 to 360Direction of the gradient, CSS convention.
spinSpin0 deg/s-90 to 90Turns the gradient over time.
speedSpeed0.050 to 1How fast the colours flow along the gradient.
scaleScale10.25 to 4How many times the colours repeat across the canvas; higher repeats more.