Sitewright

Globe arcs

A dotted 2D-canvas globe with a hand-made land mask and animated arcs with travelling pulses between cities; drag to spin with inertia, arrow keys rotate.

What it is for

Hero or 'global network' section, connect page, dashboard traffic card.

Use it

1 · site.json
"effects": { "components": ["globe-arcs"] }
or on the command line
node ~/.claude/skills/sitewright/scripts/scaffold.mjs --config site.json --out ./my-site --components globe-arcs
2 · import it
import { GlobeArcs } from '@/components/fx/ui';

Files

  • components/fx/ui/GlobeArcs.tsx
  • components/fx/ui/_t2.ts
  • ui-globe-arcs.css styles

Source

Original to Sitewright. MIT licensed.

Credits and licences: third-party notices.

Accessibility

  • Keyboard. Components in the kit are written to be reached and used with the keyboard. Try it: press Tab inside the preview.
  • Reduced motion. With prefers-reduced-motion on, animation settles to its finished state at once.
  • Touch. Pointer-follow effects are skipped on touch screens; controls stay finger-sized.