forever components

Arts & Crafts Pattern Repeats

The Acanthus Scroll

Two rows of Arts-and-Crafts acanthus leaf motifs scroll continuously on a cream ground; a gold pen traces the path as if self-drawing.

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

Arts-and-crafts themed headers, heritage brand backgrounds, ambient decorative borders needing a handcrafted feel.

When not to

Light minimal UIs or contexts where continuous horizontal motion competes with reading. Avoid on low-power devices with large viewports.

Working with an AI agent

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

Change scroll speed from 26 to 14 by editing `scroll=(scroll+dt*26)`, swap PAL.olive to '#8b6914' for a golden-brown stem, and increase unit from 170 to 220 for wider spacing. 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

  • scroll speed (dt*26)
  • unit width (unit=170)
  • color palette (PAL object)
  • pen travel speed (dt*0.6)
  • border line offsets (y=12 / S.h-12)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

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

Known limitations

  • Background color is hardcoded in CSS (#efe7d2) and PAL.cream must match
  • No touch/pointer interactivity — purely decorative
  • Pen tracer disabled when reduced-motion is on

botanicalscrollacanthuscanvasloopdecorative

More Arts & Crafts Pattern Repeats components

  • The Wallpaper LoomA seamless Arts-and-Crafts botanical tile — olive stems, sage leaves, a madder flower, and indigo berry clusters — scrolls diagonally on a warm cream ground.
  • Bird & Berry RepeatA tiled canvas repeating stylized birds and berry sprigs in Arts-and-Crafts palette; the colourway breathes slowly across three indigo-madder-olive schemes.
  • Growing VineRecursive vine grows upward from bottom center, branching symmetrically with olive leaves and madder flowers at tips, then fades and regrows on deep indigo.
  • The Colour-Way SwitcherArts-and-Crafts ogee botanical tile scrolls upward while cross-fading through five historic dye-bath colourways — indigo, madder, sage, gold, and ink.
  • The TrellisDiamond lattice of olive laths with madder roses and leaves at each joint; blooms open in a staggered wave across the trellis then repeat every 6 seconds.
  • The Kaleido TileEight-fold mirrored Arts-and-Crafts botanical wedge — olive leaves, madder berries, sage stems — rotates slowly against deep indigo, forming a rose-window…