Skip to content
PixiKit

Dune Sea

Soft gradient waves rolling in from a hazy horizon, with light that follows the cursor and a swell wherever you click.

pixikit.com/docs/effects/dune-sea

Customize

Preset
Horizon color
Wave color
Crest color
Background color
Light mode
Speed0.40
Amplitude2.50
Wave scale0.60
Wave ratio0.90
Swell35.0
Turbulence20.0
Tilt64deg
Zoom1.00
Height5.5
Fog depth15.0
Relief1.00
Light angle120deg
Sheen0.00
Brightness1.00
Opacity1.00
Grain0.20
Quality
Intro
Mouse interaction
Parallax strength0.50
Mouse strength0.60
Swell on click
Paused

Props

32
NameTypeDefaultDescription
preset"dusk" | "ocean" | "dune" | "silk" | "aurora""dusk"A ready-made look; every prop you set yourself still wins over it.
horizonColorstring"#5227FF"Haze the waves fade into toward the horizon, and the tint of their shadows.
waveColorstring"#FF9FFC"Main colour of the wave bodies.
crestColorstring"#FFFFFF"Colour of the crests and the light they catch.
backgroundColorstring"transparent"Fills the canvas behind the waves; transparent lets the page show through.
lightModebooleanfalseDraws the waves as soft coloured ink for light pages.
speednumber0.4How fast the waves roll in.
amplitudenumber2.5Height of the waves.
waveScalenumber0.6How many waves fit in view; higher is choppier.
waveRationumber0.9Balance between the long rolling waves and the shorter cross waves.
swellnumber35How much the long waves bend and meander.
turbulencenumber20How much the cross waves wander.
tiltnumber64Camera angle in degrees, from looking down to facing the horizon.
zoomnumber1Field of view; higher zooms in.
heightnumber5.5Water level; higher brings the waves closer.
fogDepthnumber15How far you can see before the waves fade out.
reliefnumber1Depth of the light and shadow on the waves; 0 gives flat gradient waves.
lightAnglenumber120Direction the light comes from in degrees; 0 lights the waves from behind you, 180 from the horizon.
sheennumber0Strength of a soft highlight on the crests.
brightnessnumber1Overall brightness.
opacitynumber1Opacity of the whole effect.
grainnumber0.2Film grain on the waves, up to 0.5; 0 turns it off.
quality"low" | "medium" | "high""medium"Rendering precision; lower is faster on weak devices.
introbooleantrueStarts from calm water and lets the waves rise from the horizon toward you.
mouseInteractionbooleantrueThe light follows the cursor across the waves and the view turns gently toward it.
parallaxStrengthnumber0.5How far the view turns toward the cursor.
mouseStrengthnumber0.6How far the light turns to follow the cursor.
swellOnClickbooleantrueClicking sends a swell rolling in from that point.
pausedbooleanfalseFreezes the waves.
dprnumber2Highest device pixel ratio drawn.
classNamestringNoneExtra class names for the canvas.
styleCSSPropertiesNoneInline styles for the canvas.

More background effects in Pro

View all

Related