syaivoalpha

CyberGrid

A neon perspective grid stretches toward infinity. Retrofuturism distilled into a single, relentless surface.

Preview

Usage

import { createCyberGrid } from 'syaivo';

const effect = createCyberGrid({
  gridColor: '#ff80ff',
  backgroundColor: '#001a33',
  speed: 1,
  floorMode: false,
});

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

Options

OptionTypeDefaultDescription
gridColorstring"#ff80ff"Grid line color
backgroundColorstring"#001a33"Canvas background
intensitynumber1Brightness of the grid (0–1)
anchornumber-0.5Horizontal anchor offset (-1 to 1)
fovnumber0.2Horizon position (-1 to 1)
speednumber1Scroll speed multiplier
floorModebooleanfalseRender grid on bottom half only
lineWidthnumber1Line thickness multiplier
pixelatedbooleanfalsePixelated retro look
animatedbooleantrueEnable animation
respectReducedMotionbooleantrueHonor prefers-reduced-motion

Dynamic Updates

effect.update({ speed: 2, intensity: 0.6 });

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