forever components

Pointillist Dot-Field Studies

The Parasol

A parasol silhouette of colored dots slowly spins; dome segments cycle through pointillist's orange, violet, green, and sky-blue palette.

canvasmedium complexitysubtle 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

Ambient art-theme backgrounds, museum or gallery digital signage, decorative hero sections with a painterly aesthetic.

When not to

Contexts needing user interaction or clear text overlays — the spin and dot texture compete with legible content.

Working with an AI agent

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

Change spin speed from 0.35 to 0.7 in draw() (t*0.35), swap RGB.orange to [200,80,80] for a red segment, increase dome dot radius r from 1.9 to 2.5. 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

  • spin speed (t*0.35)
  • segment color palette (segCols array)
  • dot radius per type (r=1.9 dome, r=1.6 stick)
  • parasol scale (Math.min(W,H)*0.42)
  • ring density (ring+=0.085)
  • rib count (RIBS=8)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

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

Known limitations

  • Reduced-motion shows a fixed frame at spin=0.25 — parasol orientation is hardcoded for that state
  • Background color is hardcoded in both CSS and canvas fillRect — must change in two places

pointillismcanvasrotationgenerativeambientsilhouette

More Pointillist Dot-Field Studies components

  • Pointillist RevealColored dots scatter then assemble into a pointillist seashore — sail and parasol silhouettes — hold, dissolve, and repeat in an 11s loop.
  • Optical MixingA hex grid of orange and sky-blue dots slowly fuse toward their averaged hue and separate again, demonstrating divisionist optical mixing on cream background.
  • Stipple PainterAn invisible brush drifts a Lissajous path, laying colored dots on a warm cream canvas in a slow pointillist build-up inspired by pointillist.
  • Dot Density GradientStippled dots encode luminance via density; a sine-driven light band sweeps the field, shifting hues between orange, green, and violet zones.
  • Afternoon LightA diagonal light band sweeps a pointillist dot grid; dots shift from violet/sky-blue to orange/green as sunlight passes, then settle back.
  • Complementary ShimmerGrid of orange-blue and green-violet dot pairs trembles out of phase, creating optical shimmer through simultaneous contrast. Motion lives in the eye.