GraphRain

Advance every column; heads step on their own cadence and respawn once clear.

Import

svelte
import { GraphRain } from 'markgraphy';

Basic usage

svelte
<GraphRain
  title="example"
  animated={true}
  cols={56}
/>
[ example ]

glyph rain

Props

PropTypeDefaultDescription
titlestringCaption drawn on the top edge as [ TITLE ]. Uppercase, 1–2 words.
animated?booleantrueAnimate the rain. Default true. Reduced motion freezes a single frame.
cols?number56Width in character columns. Default 56.
rows?number16Height in rows. Default 16.
speedMs?number110Milliseconds per tick. Default 110.
trail?number8Trail length behind each head. Default 8.
seedNum?number5Seed for the reproducible rain. Default 5.
label?string'glyph rain'Short caption under the art; the art itself is decorative.
class?string''

Exported types

  • GraphRainProps

Reduced motion

Animation is disabled under prefers-reduced-motion.