atmosphere

DynamicGrid

A technical grid that drifts diagonally — the GridField primitive on a frame-driven translate that loops by one cell, so it's seamless and deterministic. Optional centered accent glow. Full-canvas atmosphere for data / dev scenes.

$ npx ondajs add dynamic-grid

DynamicGrid

A technical grid that drifts diagonally — the GridField primitive on a frame-driven translate that loops by exactly one cell, so the motion is seamless and deterministic (§1). An optional centered accent Glow lifts the middle. A full-canvas atmosphere layer for dashboards, data, and dev scenes.

Props

PropTypeDefaultNotes
cellnumber48Cell size in px.
variant'lines' | 'dots''lines'Ruled grid or dot lattice.
colorstring#1C1C22Grid color.
speednumber0.4Diagonal drift px/frame.
opacitynumber0.6Grid opacity.
glowbooleantrueCentered accent glow.
glowColorstring#D96B82Glow color.
backgroundstring#08080ACanvas color.

Usage

TSX
import { AbsoluteFill } from 'remotion';
import { DynamicGrid } from './components/onda/dynamic-grid/DynamicGrid';

export const Scene = () => (
  <AbsoluteFill>
    <DynamicGrid variant="dots" />
    {/* foreground */}
  </AbsoluteFill>
);