syaivoalpha

Topography

Contour lines trace an invisible terrain that shifts beneath the surface. Technical, precise, quietly alive.

Preview

Usage

import { createTopography } from 'syaivo';

const effect = createTopography({
  lineColor: 'rgba(165,243,252,0.2)',
  backgroundColor: '#0a0a0a',
  levels: 14,
  speed: 0.3,
});

effect.mount(document.getElementById('hero')!);

Options

OptionTypeDefaultDescription
lineColorstring"rgba(255,255,255,0.25)"Contour line color
backgroundColorstring"transparent"Canvas background
detailnumber10Grid cell size (4–40). Smaller = smoother
levelsnumber14Number of contour thresholds
lineWidthnumber0.8Stroke width (CSS px)
speednumber0.4Animation speed (0–0.8)
noiseScalenumber0.004Noise feature scale (0.002–0.012)
warpStrengthnumber0.5Domain warp strength (0–1.5)
animatedbooleantrueEnable animation
respectReducedMotionbooleantrueHonor prefers-reduced-motion

Dynamic Updates

effect.update({ speed: 0.6, levels: 20 });

Example

Introducing your product

Build something
people remember

A polished experience starts with the details. Ship interfaces that feel considered from the first pixel.

Get startedDocumentation

On this page