animated

Ganga

Three stepped river lines cascading down the frame while a lit diya rides the bottom flow; purely decorative.

Install

pnpm add @fractaldesign/machines-ui
import '@fractaldesign/machines-ui/style.css';
import { GraphGanga } from '@fractaldesign/machines-ui';

Preview

[ GANGES ]

the descent

<GraphGanga title="GANGES" />

Props

PropTypeDefaultDescription
title* string —Caption drawn on the top edge as `[ TITLE ]`. Uppercase, 1–2 words.
animated boolean trueAnimate the flow and the floating diya. Default true. Reduced motion freezes a frame mid-flow.
cols number 60Width of the scene in characters. Default 60.
rows number 18Height of the scene in rows. Default 18.
speedMs number 110Milliseconds per tick. Default 110.
seedNum number 17Seed for the flow pattern and the diya's vertical bob. Default 17.
label string 'the descent'Short caption under the art; the art itself is decorative.
class string ''

API

  • class forwarded to the outer element
  • motion runs live; set animated={false} to freeze
  • a11y honours prefers-reduced-motion

Types

NameKindDescription
Seginterface
Lineinterface

Theming

CSS custom properties this component reads.

  • --graph-accent
  • --text-muted
  • --text-primary
  • --text-secondary

Related

Built from

src/lib/components/animated/GraphGanga.svelte

machines-ui