Arts & Crafts Pattern Repeats
The Colour-Way Switcher
Arts-and-Crafts ogee botanical tile scrolls upward while cross-fading through five historic dye-bath colourways — indigo, madder, sage, gold, and ink.
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
Heritage, craft, or textile-themed hero backgrounds. Ambient loops where slow, contemplative motion suits the brand.
When not to
Contexts requiring legible text overlays — the repeating pattern competes visually with content.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change tileSize to 180, add a sixth colourway with stem:'#7b3f6e' (Victorian plum), and slow scroll speed from dt*6 to dt*3. 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
- tileSize (120) — scale the whole pattern
- colourways array — edit or add palette objects
- hold duration (2.6 s) — time on each colourway
- blend speed (dt*1.2) — cross-fade rate
- scroll speed (dt*6) — upward drift
- INK constant (#23301f) — outline colour
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- IIFE wrapper
- prefers-reduced-motion guard (static draw)
- visibilitychange pause/resume
- DPR-aware fitCanvas with setTransform
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- buildTile is called every frame — cache the tile canvas when blend===1 for better perf on low-end devices
- Ground colour lives in the colourway object, not CSS — cannot be overridden by parent page styles alone
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 Acanthus ScrollTwo rows of Arts-and-Crafts acanthus leaf motifs scroll continuously on a cream ground; a gold pen traces the path as if self-drawing.
- 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…