Toggle Sidebar B
AppearanceLight & dark mode D

Gradient Waves

Raymarched sine waves rolling toward a soft, hazy horizon.

Default

Colors, wave shape and the cursor parallax are wired to the controls underneath. The waves are raymarched in a WebGL 2 fragment shader.

Light previewReplay previewOpen in new tab
New Creative Components

Soft rolling gradient waves fading into haze.

Get started Learn more

Customize

Horizon Color
Wave Color
Crest Color
Speed0.4
Amplitude2.5
Wave Scale0.6
Wave Ratio0.9
Swell35
Turbulence20
Tilt1.11
Zoom1
Horizon Height5.5
Fog Depth15
Detail
Brightness1
Opacity1
Parallax Strength0.5
Grain Intensity0.05

API Reference

GradientWaves

PropTypeDefaultDescription
horizonColorstring'#5227FF'Distant haze color the waves fade into.
waveColorstring'#FF9FFC'Mid color of the rolling wave bodies.
crestColorstring'#FFFFFF'Highlight color of the nearest wave crests.
speednumber0.4Animation speed of the undulating wave field.
amplitudenumber2.5Height of the sine-plasma waves.
waveScalenumber0.6Overall spatial frequency of the waves.
waveRationumber0.9Ratio between the short and long wavelength components.
swellnumber35Large-scale horizontal swell distortion.
turbulencenumber20Large-scale cross-flow turbulence distortion.
tiltnumber1.11Camera pitch toward the horizon (radians).
zoomnumber1.0Field-of-view zoom into the wave field.
heightnumber5.5Vertical offset of the horizon line.
fogDepthnumber15Distance over which the waves fade into haze and transparency.
detailstring'medium'Raymarch quality tier: 'low', 'medium', or 'high'.
brightnessnumber1.0Overall brightness multiplier for the final color.
opacitynumber1.0Global opacity of the effect.
mouseInteractionbooleantrueEnable subtle pointer-driven camera parallax.
parallaxStrengthnumber0.5Strength of the cursor parallax drift.
grainbooleantrueOverlay a whisper-subtle animated film grain on the effect.
grainIntensitynumber0.05Amplitude of the grain overlay. 0 disables it entirely.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • Purely decorative canvas. Place it behind content with enough contrast.