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| Name | Type | Default | Description |
|---|---|---|---|
preset | "dusk" | "ocean" | "dune" | "silk" | "aurora" | "dusk" | A ready-made look; every prop you set yourself still wins over it. |
horizonColor | string | "#5227FF" | Haze the waves fade into toward the horizon, and the tint of their shadows. |
waveColor | string | "#FF9FFC" | Main colour of the wave bodies. |
crestColor | string | "#FFFFFF" | Colour of the crests and the light they catch. |
backgroundColor | string | "transparent" | Fills the canvas behind the waves; transparent lets the page show through. |
lightMode | boolean | false | Draws the waves as soft coloured ink for light pages. |
speed | number | 0.4 | How fast the waves roll in. |
amplitude | number | 2.5 | Height of the waves. |
waveScale | number | 0.6 | How many waves fit in view; higher is choppier. |
waveRatio | number | 0.9 | Balance between the long rolling waves and the shorter cross waves. |
swell | number | 35 | How much the long waves bend and meander. |
turbulence | number | 20 | How much the cross waves wander. |
tilt | number | 64 | Camera angle in degrees, from looking down to facing the horizon. |
zoom | number | 1 | Field of view; higher zooms in. |
height | number | 5.5 | Water level; higher brings the waves closer. |
fogDepth | number | 15 | How far you can see before the waves fade out. |
relief | number | 1 | Depth of the light and shadow on the waves; 0 gives flat gradient waves. |
lightAngle | number | 120 | Direction the light comes from in degrees; 0 lights the waves from behind you, 180 from the horizon. |
sheen | number | 0 | Strength of a soft highlight on the crests. |
brightness | number | 1 | Overall brightness. |
opacity | number | 1 | Opacity of the whole effect. |
grain | number | 0.2 | Film 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. |
intro | boolean | true | Starts from calm water and lets the waves rise from the horizon toward you. |
mouseInteraction | boolean | true | The light follows the cursor across the waves and the view turns gently toward it. |
parallaxStrength | number | 0.5 | How far the view turns toward the cursor. |
mouseStrength | number | 0.6 | How far the light turns to follow the cursor. |
swellOnClick | boolean | true | Clicking sends a swell rolling in from that point. |
paused | boolean | false | Freezes the waves. |
dpr | number | 2 | Highest device pixel ratio drawn. |
className | string | None | Extra class names for the canvas. |
style | CSSProperties | None | Inline styles for the canvas. |