Animation

Aurora

Flowing northern-lights ribbons rendered with a WebGL2 simplex-noise shader, ramped across three colour stops. Use as a hero / section background.

Angular adaptation of an effect by David Haz / reactbits.dev.

Import

import { WrAurora } from 'ngwr/aurora';

Playground

<wr-aurora
  [amplitude]="1"
  [blend]="0.5"
  [speed]="1"
/>

Customize

Stop A
Stop B
Stop C
Amplitude
1.0
Blend
0.50
Speed
1.0

API

NameDescriptionTypeDefault
colorStopsExactly three colour stops, ramped left → right.readonly string[]theme-aware (deep violet/emerald on light, neon on dark)
amplitudeWave height multiplier.number1
blendSoftness of the aurora's lower edge, 0..1.number0.5
speedTime multiplier.number1