Memphis 80s
Polka Shuffle
Brick-offset grid of dots, rings, and squares sways and breathes while colors cross-fade between three clashing Memphis 80s palettes on dark charcoal.
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
Retro/Memphis-themed backgrounds, 80s-inspired hero sections, ambient looping pattern displays.
When not to
Contexts requiring legible text overlays or calm minimal aesthetics. Low-end devices may struggle with ~110 shapes animating continuously.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change the palette cycle speed by setting per=6.0, add a fourth palette entry to PALS, and increase the orbital sway multiplier from 0.16 to 0.25 for more chaotic movement. 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 palettes (PALS array)
- palette cycle speed (per=4.0 seconds)
- sway amplitude (cell*0.16)
- breathe range (0.85+0.22)
- shape mix ratio (Math.random()<0.18 for rings/squares)
- base radius range (rand(0.20,0.40))
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- IIFE wrapper
- prefers-reduced-motion static fallback (staticFrame)
- visibilitychange pause/resume
- DPR-aware canvas sizing
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Background color hardcoded as BG='#141019' — must change both CSS and JS variable to retheme
- Ring shape punches out center with BG fill, breaking on non-matching backgrounds
More Memphis 80s components
- Squiggle ParadeSix bold sine-wave ribbons with marching color beads drift across a confetti field of dots, zigzags, crosses, and terrazzo flecks on deep indigo.
- Terrazzo Scatter96 colored terrazzo chips breathe apart from a tilted slab card and resettle in a 5.2s looping cycle, using a Memphis 80s palette on dark umber.
- Zigzag Bounce7 stacked chevron bars in clashing Memphis colors spring upward with a staggered ripple phase; confetti speckles and squiggle accents frame the scene.
- Confetti PopMemphis geometric shapes burst upward with gravity and rotation in repeating pops on deep plum. Dots, zigzags, triangles, bars, and pluses auto-cycle.
- Grid Jumble5x5 grid of Memphis shapes — circles, triangles, squiggles, zigzags — jittering in sine-wave phases over a terrazzo-speckled dark background.
- Noodle LoopFive thick snaking SVG noodles in Memphis colors travel via stroke-dashoffset on a dark violet field; corner dots pulse and confetti spins.