Skip to content
PixiKit

Topo Lines

A flight over a map made of glowing contour lines: mountains rise out of a dark plain and fade into fog. The land lifts under the cursor and a click rolls a ring of light across it.

pixikit.com/docs/effects/topo-lines

Customize

Color
Line count22
Line width1.2
Major lines
Elevation1.00
Foreground0.20
Scale1.00
Detail0.35
Tilt32
Speed0.25
Direction
Morph0.20
Glow0.60
Depth of field0.40
Fog0.35
Brightness1.00
Opacity1.00
Mouse interaction
Hover effect
Mouse radius1.00
Mouse strength0.60
Trail0.30
Parallax0.50
Click effect
Markers
Glitch0.00
Intro
Light mode

Props

31
NameTypeDefaultDescription
colorstring"#4f7cff"Color of the contour lines. The brightest lines glow toward white.
lineCountnumber22How many contour lines stack up the tallest mountain.
lineWidthnumber1.2Width of the lines in px. Nearer lines draw a little thicker.
majorLinesbooleantrueDraws every fifth line bolder and brighter, like the index lines on a map.
elevationnumber1How tall the mountains rise. 0 lays the map flat.
foregroundnumber0.2How much height the land keeps as it reaches the camera. Low values settle it flat so the view stays clear.
scalenumber1Size of the landforms. Larger values give broader mountains.
detailnumber0.35Fine wobble in the lines and small rings on the plains, from 0 to 1.
tiltnumber32Camera angle in degrees, from a low view across the land to 90 for straight down.
speednumber0.25How fast the camera glides over the land.
direction"forward" | "backward" | "left" | "right""forward"Which way the camera travels.
morphnumber0.2How quickly the landforms reshape over time. 0 keeps the terrain still.
glownumber0.6Soft bloom around the lit lines.
depthOfFieldnumber0.4Softens lines away from the focus point, which follows the cursor.
fognumber0.35How quickly the land fades into the distance. 1 leaves only the foreground.
brightnessnumber1Overall brightness of the lines.
opacitynumber1Overall opacity of the effect.
mouseInteractionbooleantrueLets the cursor light and shape the terrain, and tilts the camera toward it.
hoverEffect"lift" | "trace" | "light""lift"Lift raises the land under the cursor, trace lights the contour at its height, light only lights it.
mouseRadiusnumber1Size of the area the cursor affects.
mouseStrengthnumber0.6How high the land lifts and how brightly it lights.
trailnumber0.3How long the lifted land takes to settle back, from 0 to 1.
parallaxnumber0.5How far the camera leans toward the cursor, from 0 to 1.
clickEffect"pulse" | "peak" | "none""pulse"Pulse sends a ring of light rolling out over the land, peak raises a new mountain.
markers"none" | "plus" | "dots""none"Survey markers on a grid across the land. A few blink, and the ones near the cursor get a target frame.
glitchnumber0How often brief data glitches slice through the lines, from 0 to 1. Clicks set one off too.
introbooleantrueThe map fades in flat and rises into mountains on mount.
lightModebooleanfalseDraws the lines as crisp ink for light backgrounds.
dprnumberNoneMaximum device pixel ratio, capped at 2.
classNamestringNone
styleCSSPropertiesNone

More background effects in Pro

View all

Related