What problem does it solve?
Decorative particle effects often run as page-wide screensavers that obscure content, drain battery, and ignore accessibility settings. This Skill provides a disciplined pattern for adding a restrained particle atmosphere scoped to one section, with visibility pausing, responsive density, and reduced-motion fallbacks.
Core Features & Use Cases
- Renderer Selection Guidance: Choose between canvas, DOM/SVG, or WebGL based on particle count, motion complexity, and branding needs.
- Configurable Simulation: One configuration object controls count, gravity, wind, sway, speed, size, opacity, rotation, pointer disturbance radius, and end modes (recycle, exit, settle, static).
- Performance & Accessibility Guardrails: IntersectionObserver and document visibility pausing, ResizeObserver with device-pixel-ratio caps, area-based density clamping, and prefers-reduced-motion static fallbacks.
- Use Case: Add falling seed, snow, petal, or confetti particles behind a landing page hero that pause when scrolled out of view, respond gently to pointer movement, and render a static composition for reduced-motion users.
Quick Start
Use the ambient-section-particles skill to add a restrained, visibility-aware particle layer behind this section without competing with its content.