Ukiyo-e Woodblock
Moon Tide
A cream full moon with concentric halo rings rises over 5 layered indigo tide bands with rolling sine-wave crests and sparse foam dabs in woodblock style.
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
Dark-mode hero backgrounds, Japanese aesthetic themes, ambient looping screensavers, or oceanic/night-sky contexts.
When not to
Light backgrounds (sky and water hardcoded dark indigo). Contexts needing legible text overlays — wave motion competes with reading.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change CORAL to '#c084fc' (purple), shift SKY1 to '#0f0f2e' for a deeper night, and increase moonR multiplier from 0.135 to 0.18 for a larger moon.
Safe to edit
- moon size (moonR = Math.min(W,H)*0.135)
- palette constants (SKY1, SKY2, CORAL, BANDS array)
- wave speed per band (spd[i] = 0.18+t*0.14)
- number of tide bands (nb=5)
- foam color (FOAM='#cfe0e6')
- moon position (moonX=W*0.70, moonY=H*0.30)
Keep intact
- DPR-aware canvas sizing and ctx.setTransform
- visibilitychange pause/resume loop
- reduced-motion static fallback (frame(2.0))
- IIFE wrapper
Known limitations
- Background and water colors hardcoded — must edit constants to change color scheme
- No pointer interactivity; strictly passive ambient
- Wave step size (W/60) may produce slightly chunky crests on very wide displays
More Ukiyo-e Woodblock components
- Wave CrestA stylized ukiyo-e-inspired cresting wave with curling foam claws, an indigo sea gradient, Fuji-like cone, and coral sun — all drawn procedurally on canvas.
- Rain Lines96 diagonal rain streaks fall over layered indigo/coral hill bands and a village silhouette beneath a bokashi cream sky with a pale moon disc.
- Crane Glide7 cranes with flapping wings glide across flat indigo/teal bands past a coral sun and Mt. Fuji silhouette, with scrolling wave crests.
- Blossom Fall110 sakura petals drift and flutter down over an indigo-to-coral bokashi sky with a stylised woodblock mountain and bare branch silhouette.
- Mountain ConeSnow-capped Fuji cone under a bokashi sky cycling night-dawn-day-dusk every 24s; sun/moon disc arcs overhead while 7 cranes drift across.
- Koi RippleA kohaku koi undulates across a dark pond as four concentric ripple rings expand and coral petals drift, all rendered in woodblock palette.