forever components

Pointillist Dot-Field Studies

Optical Mixing

A hex grid of orange and sky-blue dots slowly fuse toward their averaged hue and separate again, demonstrating divisionist optical mixing on cream background.

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

Art/design hero backgrounds, educational demos of color theory, ambient loops for museums or galleries.

When not to

Contexts requiring high contrast or legible text overlays — the cream background and soft palette are fixed and low-contrast.

Working with an AI agent

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

Change the two dot colors to red (#e03a3a) and green (#4caf50) by updating RGB.sky and RGB.orange, then slow the fuse cycle to t*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

  • dot colors (RGB.sky, RGB.orange)
  • fuse cycle speed (t*0.5)
  • dot gap/size (gap=14, r=4.2)
  • jitter amount (jitter * 1.6)
  • background color (CREAM)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

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

Known limitations

  • Background and dot colors are hardcoded — changing theme requires editing both CSS and JS constants
  • No pointer interactivity; purely passive

pointillismdotscanvascolor-mixinggenerativeambient

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.
  • 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.
  • The ParasolA parasol silhouette of colored dots slowly spins; dome segments cycle through pointillist's orange, violet, green, and sky-blue palette.