Skip to content

No.198 · Backgrounds

Moiré Veil

Two fine line grids drifting against each other: the interference bands swim and re-tune themselves as your pointer tilts one grid.

The prompt

Copy this text

Automatic copying is unavailable. Copy the selected text using your device’s copy command.

Written for the variant you picked above: Bone

Layer two oversized (inset -40%) grids of 1px vertical hairlines at a shared pitch, plus a concentric-ring layer in screen blend. Grid A rotates a full turn over 60s; grid B sits ~2.4° off and slowly rocks between 1° and 5° over 90s while breathing scale 1→1.04. The interference of the two fine patterns produces large drifting moiré bands. Pointer x adds up to ±2.5° of extra tilt to grid B and pointer y translates it by up to three pitches, eased over 0.4s, retuning the bands live. Content can sit above. Selected variant — Bone (bone): Bone: ink #e8e4d8 hairlines on paper #0c0d10, pitch 7px. This selection takes precedence over references to other themes or options in the general brief. Implement this selected appearance; do not add a variant picker or alternative appearances unless requested. Implementation requirements: Use React and TypeScript. Keep the component self-contained, with uniquely scoped CSS and no animation libraries. Include required imports, styles and font setup in the result. Interaction: Move the pointer to tilt and slide one grid and watch the bands re-form. Motion: Three long CSS keyframe loops (60s rotate, 90s rock, 40s ring drift) plus eased pointer offsets. Accessibility: Purely decorative layers (aria-hidden); no flashing — all motion is slow. Reduced motion freezes the layers. Responsive behavior: Fills its container; grids oversize so edges never show. Preserve keyboard access, visible focus and reduced-motion behavior. Keep fictional demo data and simulated service calls in a separate usage example; expose callbacks for real actions and recover from rejected requests. Keep usage-example links inside the demo: use local buttons or prevent navigation. Demonstration links must not navigate to Vitrine routes or open other pages; preserve real URL support in the reusable component itself. Verify the result at narrow and wide viewport sizes, with keyboard input and reduced motion enabled.

Notes

Interaction
Move the pointer to tilt and slide one grid and watch the bands re-form.
Motion
Three long CSS keyframe loops (60s rotate, 90s rock, 40s ring drift) plus eased pointer offsets.
Accessibility
Purely decorative layers (aria-hidden); no flashing — all motion is slow. Reduced motion freezes the layers.
Responsive
Fills its container; grids oversize so edges never show.