Background Beams With Collision — component for particles & physics (react)
For AI agents: find the right skill in one call —
curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add.mdto its path. Before generating anything, show the person the options on the use-case page.
Thin glowing beams fall from the top and burst into small sparks when they hit the floor
- Install:
npx shadcn@latest add @aceternity/background-beams-with-collision - Registry: aceternity · Framework: react · License: Aceternity License (free components)
- Docs and preview: https://ui.aceternity.com/components/background-beams-with-collision
- Source: https://ui.aceternity.com/components/background-beams-with-collision
- Time: Drive from the frame. Runs on its own clock (requestAnimationFrame, timers, springs or CSS). Drive it from frame / fps before rendering, or the render drifts.
- Runs: local render, free
- Aspect: any
Prompt that renders it frame-exact
Add Background Beams With Collision from Aceternity UI (https://ui.aceternity.com/components/background-beams-with-collision; free under the Aceternity License, fine in commercial video, source not redistributable) behind a centered headline, filling the frame. Install with npx shadcn@latest add @aceternity/background-beams-with-collision. The beams are Motion tweens on repeat with random delays, and the bursts come from a collision check on a timer, so for a render compute each beam's y from frame / fps, place the explosion at the frame where a beam reaches the floor, and seed the random spark directions. In HyperFrames, build the same beams on the paused timeline. Tune the beamOptions list (initialX, duration, delay, repeatDelay, className) for density and color.
Used in
- Top-N listicle
- Quiz, poll & would-you-rather
- Bar chart race
- Science what-if explainer
- Lyric video
- Audio visualizer
- Logo sting
- Countdown & launch timer
More particles & physics
- Confetti —
npx hyperframes add confetti - Liquid Metal —
npx hyperframes add liquid-metal - Particle Image Reveal —
npx hyperframes add particle-image-reveal - Pendulum Swing —
npx hyperframes add pendulum-swing - Snow —
npx hyperframes add snow - Spiral Galaxy —
npx hyperframes add spiral-galaxy