Planet Dawn
A sunrise breaking over the glowing edge of a dark planet, with an atmosphere, stars and auroras that rise where you click.
pixikit.com/docs/effects/planet-dawn
Customize
Preset
Colors2 of 10
Background color
Horizon0.72
Curvature1.00
Tilt0°
Sun position0.15
Sunrise1.00
Spread0.40
Atmosphere1.00
Thickness1.00
Rim1.00
Flare1.00
Airglow0.50
Clouds0.50
Stars0.50
Aurora1.00
Auto aurora
Speed0.50
Drift0.50
Parallax0.50
Bloom0.50
Grain0.25
Interactive
Intro
Paused
Dpr2.0
Props
31| Name | Type | Default | Description |
|---|---|---|---|
preset | "dawn" | "eclipse" | "crescent" | "aurora" | "overhead" | "edge" | "twilight" | "halo" | "dawn" | A complete view; the horizon, sun and glow props follow it until you pass them. |
colors | string[] | ["#FF9FFC", "#5227FF"] | Two colors: the warm light at the sun, then the cool atmosphere. |
backgroundColor | string | "transparent" | Color of space and of the planet; "transparent" shows the page. |
horizon | number | 0.72 | Height of the planet edge, as a fraction from the top. |
curvature | number | 1 | How strongly the edge curves; higher values give a smaller planet. |
tilt | number | 0 | Turn of the whole view in degrees. |
sunPosition | number | 0.15 | Where the sun sits along the edge, -1 to 1. |
sunrise | number | 1 | How far the sun has risen; 0 leaves only the atmosphere. |
spread | number | 0.4 | How far the sunlight spreads along the edge. |
atmosphere | number | 1 | Brightness of the atmosphere glow. |
thickness | number | 1 | Height of the atmosphere. |
rim | number | 1 | Brightness of the thin line on the edge. |
flare | number | 1 | Glare around the sun. |
airglow | number | 0.5 | Faint second band above the atmosphere. |
clouds | number | 0.5 | Lit clouds on the planet near the edge. |
stars | number | 0.5 | Stars above the planet. |
aurora | number | 1 | Strength of the aurora curtains a click raises from the edge; 0 turns them off. |
autoAurora | boolean | false | Keeps an aurora drifting along the edge on its own. |
speed | number | 0.5 | Animation speed; 0 holds the frame. |
drift | number | 0.5 | How fast the clouds and stars drift. |
parallax | number | 0.5 | How much the view rolls and lifts toward the pointer. |
bloom | number | 0.5 | Wide soft glow over the light. |
grain | number | 0.25 | Film grain strength. |
interactive | boolean | true | Pointer parallax, and a click or tap raises an aurora where you click. |
intro | boolean | true | On mount the sun rises over the edge. |
paused | boolean | false | Freezes the animation. |
dpr | number | 2 | Upper limit for the device pixel ratio. |
ref | Ref<PlanetDawnHandle> | None | Gives bloom(x, y) and replay(). |
className | string | None | Classes for the root element; give it a height. |
style | CSSProperties | None | Inline styles for the root element. |
children | ReactNode | None | Content layered above the effect. |