forever components

Symbolic Pastel Abstraction

Swan Duality

Two organic forms — cream and ink — orbit a shared center with wobbling silhouettes and a rose radial glow, evoking symbolic-abstract's Swan duality symbolism.

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

Dark-mode hero backgrounds, art/culture sites, ambient screensaver loops with a painterly or spiritual aesthetic.

When not to

Light-background UIs (background hardcoded dark purple). Contexts with legible text overlays — constant motion competes with reading.

Working with an AI agent

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

Slow the orbit by changing `ang=t*0.3`, swap rose glow to gold by replacing `PAL.rose` with `'#d4a017'` in the radial gradient, and increase wobble depth from `0.16` to `0.26`. 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

  • orbit speed (t*0.5 in ang)
  • wobble depth (0.16 and 0.09 in wob formula)
  • form size (R = Math.min(W,H)*0.20)
  • rose glow opacity (0.30 in addColorStop)
  • palette colors (PAL object)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

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

Known limitations

  • Background color hardcoded in CSS (#1d1a24) — must edit to change from dark purple
  • No pointer interactivity — purely passive
  • Orbit path elliptical only; extreme aspect ratios may look off

canvasabstractdualityorbitambientgenerative

More Symbolic Pastel Abstraction components

  • The DualityTwo concentric ring systems — rose and blue — slowly breathe apart and together; a golden vesica glows where they overlap, with a center dot marking the axis.
  • Spiral of BecomingLogarithmic spiral slowly rotates and breathes while pastel nodes pulse with radial glows along its arm — generative geometry in symbolic-abstract's…
  • Pendulum DiagramA harmonograph rosette draws itself stroke by stroke in pastel hues, fades, then reseeds with new frequencies — evoking symbolic-abstract automatic diagrams.
  • Atom SeriesThree pastel atom diagrams — concentric rings, orbiting dots, center glyphs — connected by a faint triangle. After symbolic-abstract's atom studies.
  • The SeriesFive SVG diagrams — spiral, nested ovals, petals, vesica piscis, concentric circles — cross-fade on a 3.4s loop with dot indicators, in pastel…
  • Tree of KnowledgeSymmetric binary tree of pastel circles and inked branches grows upward via stroke-draw and pop-in animations, then redraws on a 9-second loop.