Rolling Terrain
An endless landscape of smooth hills rolling toward a foggy horizon, steered by the pointer.
pixikit.com/docs/effects/rolling-terrain
Customize
Speed1.00
Altitude5.5
Focal1.20
Pitch0.00
Elevation3.2
Scale0.150
Detail1.00
Steps80
Samples2
Distance42
Fog start22
Ramp distance35
Color
Mid color
Far color
Rim color
Rim power4.0
Rim strength1.20
Ring color
Ring spacing0.50
Ring speed2.5
Ring width0.040
Ring strength0.40
Gain1.00
Grain0.050
Vignette0.20
Background color
Opacity1.00
Cursor interaction
Cursor steer0.50
Paused
Props
37| Name | Type | Default | Description |
|---|---|---|---|
speed | number | 1 | Forward speed of the camera. |
altitude | number | 5.5 | Height of the camera above the ground. |
focal | number | 1.2 | Focal length; higher values zoom in. |
pitch | number | 0 | Tilts the camera up or down. |
elevation | number | 3.2 | Height of the hills. |
scale | number | 0.15 | Size of the hills; lower values make them wider. |
detail | number | 1 | Amount of small folds on the hills. |
steps | number | 80 | Ray steps per pixel; more is cleaner and slower. |
samples | number | 2 | Samples per pixel for smooth edges, 1 to 4. |
distance | number | 42 | How far the view reaches. |
fogStart | number | 22 | Distance where the fog begins. |
rampDistance | number | 35 | Distance over which the colors run from near to far. |
color | string | "#2e1065" | Color of the nearest ground. |
midColor | string | "#0a0a0a" | Color in the middle distance. |
farColor | string | "#d946ef" | Color of the far hills. |
rimColor | string | "#f0abfc" | Color of the light on the crests. |
rimPower | number | 4 | How tightly the rim light hugs the crests. |
rimStrength | number | 1.2 | Brightness of the rim light. |
ringColor | string | "#a855f7" | Color of the bands of light that travel over the ground. |
ringSpacing | number | 0.5 | Distance between the bands. |
ringSpeed | number | 2.5 | How fast the bands travel. |
ringWidth | number | 0.04 | Width of each band. |
ringStrength | number | 0.4 | Brightness of the bands. |
gain | number | 1 | Overall brightness. |
grain | number | 0.05 | Film grain strength. |
grainRate | number | 24 | How many times per second the grain changes. |
vignette | number | 0.2 | Darkening toward the corners. |
backgroundColor | string | "#0a0a0a" | Sky and fog color. |
opacity | number | 1 | Opacity of the whole effect. |
cursorInteraction | boolean | true | Lets the pointer steer the camera. |
cursorSteer | number | 0.5 | How far the pointer swings the heading. |
paused | boolean | false | Freezes the flight. |
adaptiveQuality | boolean | true | Lowers the ray steps when the frame rate falls under targetFps. |
targetFps | number | 60 | Frame rate cap, also the goal of adaptiveQuality. |
dpr | number | 1.75 | Upper limit for the device pixel ratio. |
className | string | None | Classes for the root element; give it a height. |
children | ReactNode | None | Content layered above the effect. |