Summer pricing is live: save $50 on Starwind Pro lifetime access.

Topographic Flow

Pro

A contour-line background with gently moving map-like paths, adjustable line strength, scale, motion, and colors.

Theme

Upgrade to Pro
Loading code...

Starwind Dependencies

Sign in to view code and copy install commands.

Sign in

This component requires Starwind Pro.

Get lifetime access to all premium components, updates, and priority support.

Upgrade to Pro

Failed to load code. Please try again.

Code

Usage
<ShaderTopographicFlow
  contourDrift={0.28}
  contourScale={3.4}
  lineStrength={0.75}
  mapWashColor="#1a857a"
  contourLineColor="#2e8ffa"
  majorLineColor="#dbb870"
/>

Props

proptypedefaultdescription
contourDriftnumber0.28Contour drift multiplier.
contourScalenumber3.4Contour field scale.
lineStrengthnumber0.75Contour line strength.
opacitynumber0.94Sets the overall opacity of the shader background wrapper.
maxDprnumber1.5Caps device pixel ratio for sharper output without runaway GPU cost.
maxFps30 | 45 | 6060Caps the animation frame rate for performance-sensitive pages.
mapWashColorstring"#1a857a"Map wash color as a CSS color or normalized RGB.
contourLineColorstring"#2e8ffa"Contour line color as a CSS color or normalized RGB.
majorLineColorstring"#dbb870"Major line color as a CSS color or normalized RGB.