Galaxy — component for shaders (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 .md to its path. Before generating anything, show the person the options on the use-case page.

Layered starfield twinkling and drifting toward the camera, the brightest stars with soft flares

Prompt that renders it frame-exact

Use Galaxy from React Bits (https://reactbits.dev/backgrounds/galaxy, MIT + Commons Clause: fine for a rendered video, but the component can't be resold). Install with npx shadcn@latest add @react-bits/Galaxy-JS-CSS and use it full-frame behind space, AI or launch titles. For video, raise density to 1.5–2 and starSize/glowIntensity so the stars survive compression. Set hueShift and saturation for colour, and starSpeed and rotationSpeed for drift. Patch its requestAnimationFrame clock to time = frame / fps, and turn off mouseInteraction, mouseRepulsion, clickWarp and intro so every frame is reproducible.

Used in

More shaders