Abstract Geometric Improvisations
Point & Line to Plane
A wandering point trails a black line; where lines cross, a abstract-palette triangle or circle spawns. The composition redraws forever.
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/design hero backgrounds, Bauhaus or generative-art themed pages, ambient screensaver panels.
When not to
Contexts requiring legible text overlays — the constant redraw competes with foreground content.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Increase MAX from 46 to 80 segments for a denser composition, and add PAL.green:'#2a7a2a' to cols so green planes can spawn. 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
- segment count before reset (MAX=46)
- step size range (26+Math.random()*46)
- palette colors (PAL object)
- plane size range (r: 8+Math.random()*16)
- fade duration (1.6 seconds)
- angular jitter factor (1.6)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- IIFE wrapper
- prefers-reduced-motion guard with static fallback
- visibilitychange pause/resume
- DPR-aware fitCanvas sizing
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Plane spawn is probabilistic — short runs may produce no intersections and no planes
- Background color hardcoded in both CSS and PAL.paper — must update both to change it
More Abstract Geometric Improvisations components
- Several Circles13 coloured discs drift and pulse on a charcoal ground with blend-mode overlaps and halos; a pale diagonal line sways below. An abstract composition.
- Singing CompositionTriangles, arcs, circles and lines in Bauhaus primaries spawn, breathe and dissolve on warm paper in an endless generative composition inspired by abstract.
- The Rhythm ScoreA red playhead sweeps 16-step staves of blue circles, yellow triangles, and red squares; each note flares in size and opacity as the head crosses it.
- Concentric ResonanceColored rings burst outward from random points on a dark field, fading as they expand — abstract's concentric forms in perpetual motion.
- Yellow-Red-Blue Counterpoint24 bars in yellow, red, and cobalt rise and fall in sine-wave counterpoint on warm paper, echoing abstract's three-voice color theory.
- The Orbiting TroikaThree colored spheres (blue, yellow, vermilion) orbit a black sun at harmonic speeds, leaving fading color trails that form a slowly turning rosette.