Pointillist Dot-Field Studies
Pointillist Frame
Canvas field of color-cycling dots with a breathing dot border; gradient drifts through green, sky, orange, and violet in pointillist pointillist style.
canvasmedium complexitysubtle 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 backgrounds, museum or gallery UIs, ambient screensavers needing a painterly aesthetic.
When not to
Contexts requiring text overlays — dot field competes visually. Low-contrast palettes clash with the fixed warm-cream background.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change gradient palette by replacing RGB.sky with [90,160,220] and RGB.violet with [180,80,160], then increase gap from 13 to 18 for a sparser dot grid. 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
- color palette (RGB.green/sky/orange/violet)
- dot grid gap (gap=13)
- frame inset (inset=26)
- drift speed (t*0.05)
- dot pulse amplitude (0.12*Math.sin)
- 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 as #f1ecdf in both CSS and canvas fillRect — must change both to retheme
- Dot count scales with viewport; large screens may stress fill calls on low-end devices
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.