DHIRAJ
projectsblogabout

Aurora Shader

Real-time procedural Aurora background shader powered by WebGL2, 2D simplex noise, analytical color ramp interpolation, and dynamic cursor glow.

60 fps • 0.0s
hover to guide glow
Speed:
Color Palette:Solar Amber
1.00
0.50

2D Simplex Noise & Harmonic Ribbons

Calculates continuous procedural distortion using an analytical 2D Simplex noise function (snoise). The undulating wave height is evaluated along the vertical coordinate and shaped with exponential attenuation to produce the characteristic ribbon effect.

Color Ramp & Dynamic Cursor Glow

Maps a 3-stop gradient array horizontally across UV space with smooth palette morphing. Interactive mouse coordinates direct a localized specular glow using an inverse smoothstep falloff kernel.