animated

Hash

A character-art hashing animation that transforms an input string into a changing digest.

Install

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

Preview

[ FINGERPRINT ]

any string → a glyph fingerprint

<GraphHash title="FINGERPRINT" input="machines-ui" />

Props

PropTypeDefaultDescription
title* string —Caption on the frame's top edge as `[ TITLE ]`. Uppercase, 1–2 words.
input string 'markgraphy'Any string — its digest is the seed. Default 'markgraphy'.
cols number 16Grid width in cells. Default 16.
rows number 6Grid height in rows. Default 6.
speedMs number 60Milliseconds per tick of the scan-line sweep. Default 60.
animated boolean trueAnimate the scan line. Default true. Reduced motion freezes mid-sweep.
label string 'any string → a glyph fingerprint'Short caption under the art.
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

Theming

CSS custom properties this component reads.

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

Related

Built from

src/lib/components/animated/GraphHash.svelte

machines-ui