Ukiyo-e Weather & Road
Plum Branch
A ukiyo-e-style ume plum branch with 11 blossoms that bloom open petal-by-petal, sway gently, and re-bloom every 12 seconds against layered ink hills.
svgmedium complexitysubtle 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
Cultural or nature-themed hero sections, ambient art backgrounds, Japanese aesthetic UI themes.
When not to
Contexts requiring text legibility over the canvas — the dark ink branch dominates the foreground. Not suited for light-only brand palettes.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change petal color to pale pink (#f7c5d8), increase blossom count by adding entries to the tips array, and slow the sway cycle to 12 seconds. 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
- petal color palette (petalCols array)
- sway speed (7s in animation string)
- branch color (branchColor via mix ratio)
- re-bloom interval (12000ms)
- blossom tip positions (tips array)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- IIFE wrapper
- prefers-reduced-motion guard (REDUCED check)
- visibilitychange pause/start handlers
- SVG ARIA role and aria-label on stage div
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Re-bloom uses animation:none + offsetWidth reflow trick — may flash briefly on very slow devices
- Branch geometry is hardcoded SVG paths; reshaping requires manual coordinate editing
More Ukiyo-e Weather & Road components
- Sudden RainUp to 140 slanted rain streaks fall in two depth layers over a painted ukiyo-e scene: gradient sky, green hill, indigo river, and arched bridge silhouette.
- Bokashi SkyCanvas sky cycles dawn→day→dusk→night with bokashi gradients; sun/moon arcs overhead, stars appear at night, a bird drifts across, hills anchor the base.
- Falling SnowSnow flakes drift and sway over a ukiyo-e night scene: indigo sky, snow-capped rooftops, and a lone layered pine. Static fallback for reduced-motion.
- Distant MountainFour ukiyo-e hill silhouettes drift at different parallax rates past a snow-capped peak and glowing sun on a gradient indigo sky.
- Boat on the SwellA small ferry rocks on sine-wave swells at dusk beneath a sienna sun and three circling gulls, rendered in ukiyo-e woodblock palette.
- Lantern Path7 paper lanterns line a receding road in ukiyo-e woodblock style; sky and lanterns cycle through dusk and dawn as darkness falls and lifts.