forever components

Memphis 80s

Triangle Rain

90 Memphis-palette triangles — solid and outlined — tumble and sway downward through faint dotted columns on a deep plum background.

canvasmedium complexitymoderate motion

Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited

Live demo — the real component, running in a sandbox. One self-contained HTML file, zero dependencies. Open it on the canvas →
Worth keeping? Votes steer what gets built next — sign in to cast one, free to read

When to use it

Retro/Memphis-themed hero backgrounds, 80s design showcases, ambient looping tile backdrops.

When not to

Light backgrounds (hardcoded dark plum). Contexts needing legible text overlays — constant motion competes with reading.

Working with an AI agent

Every component ships agent-ready metadata. An example instruction for this one:

Change triangle count to 60 by setting N=60, swap palette to pastels (edit COL array), and slow fall speed by changing the vy base from 0.55 to 0.25. Theme: dark tokens live in :root, the light variant in :root[data-theme="light"]; ?theme=light or a {type:'forever:theme'} postMessage switches at runtime.

Safe to edit

  • triangle count (N=90)
  • color palette (COL array)
  • fall speed (vy base 0.55 + rnd*1.5)
  • solid vs outline ratio (rnd()<0.62)
  • sway amplitude (Math.sin(sway[i])*7)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • IIFE wrapper
  • visibilitychange pause/resume
  • prefers-reduced-motion static frame
  • DPR-aware canvas sizing + setTransform reset
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • Background color hardcoded in both CSS and canvas backdrop() — must change both to retheme
  • No interactivity; pointer attraction would require significant refactor

memphistrianglesrainparticlescanvas80sgeometric

More Memphis 80s components

  • Squiggle ParadeSix bold sine-wave ribbons with marching color beads drift across a confetti field of dots, zigzags, crosses, and terrazzo flecks on deep indigo.
  • Terrazzo Scatter96 colored terrazzo chips breathe apart from a tilted slab card and resettle in a 5.2s looping cycle, using a Memphis 80s palette on dark umber.
  • Zigzag Bounce7 stacked chevron bars in clashing Memphis colors spring upward with a staggered ripple phase; confetti speckles and squiggle accents frame the scene.
  • Confetti PopMemphis geometric shapes burst upward with gravity and rotation in repeating pops on deep plum. Dots, zigzags, triangles, bars, and pluses auto-cycle.
  • Polka ShuffleBrick-offset grid of dots, rings, and squares sways and breathes while colors cross-fade between three clashing Memphis 80s palettes on dark charcoal.
  • Grid Jumble5x5 grid of Memphis shapes — circles, triangles, squiggles, zigzags — jittering in sine-wave phases over a terrazzo-speckled dark background.