forever components

Infinitude

Cadmium Gourd Stripes

Wavy cadmium-yellow and black bands undulate horizontally while 70 white and red dots drift upward through the field in a looping scroll.

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

Dark ambient backgrounds, music/art visuals, retro-style hero sections needing high-contrast motion.

When not to

Light-background layouts (background hardcoded dark near-black). Content requiring text legibility over the canvas.

Working with an AI agent

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

Change bandH from 26 to 40 for wider stripes, swap the yellow (#ffd400) to orange (#ff6600), and increase dot drift speed by changing time*22 to time*40. 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

  • band height (bandH=26)
  • band colors (#ffd400 / #0a0608)
  • sine wave amplitude (*7) and frequency (0.025)
  • dot count (n=70)
  • dot drift speed (time*22)
  • dot accent color (#e8112d)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • IIFE wrapper
  • prefers-reduced-motion guard (REDUCED)
  • visibilitychange pause/resume
  • DPR-aware fitCanvas()
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • Background color hardcoded in CSS (#0a0608) — must edit both CSS and canvas fill to change it
  • Dot positions are deterministic pseudo-random seeds, not truly random — pattern repeats identically each load

stripesdotscanvaswavyscrollingambientgenerative

More Infinitude components

  • Pulsing Dot FieldA lattice of red dots pulses in radius and alpha via staggered sine waves; bright dots flash yellow at peak. No user input required.
  • Mirror Tunnel26 rings of colored dots recede toward a vanishing point, growing in size and radius as they rush toward the viewer — a looping mirrored tunnel illusion.
  • The Dotted GourdAn orange ribbed gourd rendered on canvas with 110 dark dots scaled by curvature and depth; the whole form sways gently as if in a breeze.
  • The Endless NetA grid of scalloped double-arc loops drawn on deep red canvas, each cell pulsing in brightness on its own sine-wave phase, evoking woven netting.
  • Dissolve115 colored dots orbit an empty center in a slow ellipse, periodically dissolving outward in a breathing scatter pattern with depth-based opacity.
  • Mirrored Light Box12 nested glowing squares dive inward in a perpetual zoom loop while rotating; colored corner dots hue-rotate continuously over a deep dark stage.