Skip to content
PixiKit

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
NameTypeDefaultDescription
speednumber1Forward speed of the camera.
altitudenumber5.5Height of the camera above the ground.
focalnumber1.2Focal length; higher values zoom in.
pitchnumber0Tilts the camera up or down.
elevationnumber3.2Height of the hills.
scalenumber0.15Size of the hills; lower values make them wider.
detailnumber1Amount of small folds on the hills.
stepsnumber80Ray steps per pixel; more is cleaner and slower.
samplesnumber2Samples per pixel for smooth edges, 1 to 4.
distancenumber42How far the view reaches.
fogStartnumber22Distance where the fog begins.
rampDistancenumber35Distance over which the colors run from near to far.
colorstring"#2e1065"Color of the nearest ground.
midColorstring"#0a0a0a"Color in the middle distance.
farColorstring"#d946ef"Color of the far hills.
rimColorstring"#f0abfc"Color of the light on the crests.
rimPowernumber4How tightly the rim light hugs the crests.
rimStrengthnumber1.2Brightness of the rim light.
ringColorstring"#a855f7"Color of the bands of light that travel over the ground.
ringSpacingnumber0.5Distance between the bands.
ringSpeednumber2.5How fast the bands travel.
ringWidthnumber0.04Width of each band.
ringStrengthnumber0.4Brightness of the bands.
gainnumber1Overall brightness.
grainnumber0.05Film grain strength.
grainRatenumber24How many times per second the grain changes.
vignettenumber0.2Darkening toward the corners.
backgroundColorstring"#0a0a0a"Sky and fog color.
opacitynumber1Opacity of the whole effect.
cursorInteractionbooleantrueLets the pointer steer the camera.
cursorSteernumber0.5How far the pointer swings the heading.
pausedbooleanfalseFreezes the flight.
adaptiveQualitybooleantrueLowers the ray steps when the frame rate falls under targetFps.
targetFpsnumber60Frame rate cap, also the goal of adaptiveQuality.
dprnumber1.75Upper limit for the device pixel ratio.
classNamestringNoneClasses for the root element; give it a height.
childrenReactNodeNoneContent layered above the effect.

Related