Pointillist Dot-Field Studies
Pointillist Reveal
Colored dots scatter then assemble into a pointillist seashore — sail and parasol silhouettes — hold, dissolve, and repeat in an 11s loop.
canvasmedium complexitymoderate motion
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
Worth keeping?
Votes steer what gets built next — sign in to cast one, free to read
When to use it
Art-themed hero sections, museum/gallery contexts, ambient loading screens with a painterly aesthetic.
When not to
Interfaces requiring legible text overlays or low-end devices sensitive to per-frame canvas redraws.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change dot count by editing Math.min(900,...) to 1400, and shift sky color from RGB.sky=[143,184,214] to a warm dusk tone like [214,160,100]. 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 count cap (Math.min(900, ...))
- color palette (RGB object: green, sky, orange, violet, cream, ink)
- cycle period in seconds (period=11)
- horizon ratio (horizon=H*0.62)
- dot radius range (1.4 + Math.random()*1.6)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- IIFE wrapper
- prefers-reduced-motion guard (REDUCED flag)
- visibilitychange pause/resume
- DPR-aware fitCanvas()
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Background color hardcoded in both CSS and canvas fillRect — must change in two places
- Dot density scales with viewport area; large screens may hit the 900-dot cap and look sparse
More Pointillist Dot-Field Studies components
- 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.
- The ParasolA parasol silhouette of colored dots slowly spins; dome segments cycle through pointillist's orange, violet, green, and sky-blue palette.