Interstella — component for backgrounds & gradients (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.
A dark close-up sphere with an amber glow on one side and a teal rim of light sweeping in, grainy
- Install:
npm i @shadergradient/react @react-three/fiber three three-stdlib camera-controls - Registry: shadergradient · Framework: react · License: MIT
- Docs and preview: https://shadergradient.co/customize
- Source: https://github.com/ruucm/shadergradient/blob/main/packages/shadergradient/src/presets.ts#L142
- Example: https://skills.varg.ai/previews/lib-shadergradient-interstella.mp4?v=115529 (Rendered by varg from the library’s own code (ShaderGradient · rendered by varg))
- 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
Use the ShaderGradient "Interstella" preset (preset 03 on https://shadergradient.co/customize, MIT; exported as presets.interstella from @shadergradient/react, source github.com/ruucm/shadergradient/blob/main/packages/shadergradient/src/presets.ts) as a cinematic full-frame background for a sci-fi, travel or tech title sequence. Install @shadergradient/react with @react-three/fiber and three, then render <ShaderGradientCanvas style={{position:'absolute',inset:0}} lazyLoad={false} pixelDensity={1}> with <ShaderGradient {...presets.interstella.props} /> inside. To make it frame-exact, override animate="off" and pass uTime={seconds} (the shader multiplies it by uSpeed 0.3), set enableTransition={false} so the camera starts in place, and let R3F draw once before each frame is captured. It is lit by an environment map (lightType "env", envPreset "city"), which loads an HDR file at startup, so preload it before rendering or set envBasePath to a local copy. Recolor color1–color3 and nudge reflection for more or less gloss.
Used in
- Year in review / Wrapped
- Lyric video
- Karaoke video
- Logo sting
- Title sequence
- Brand guidelines film
- Stream overlay package
- Shader loop
More backgrounds & gradients
- Aurora —
npx hyperframes add aurora - Aurora Drift —
npx hyperframes add aurora-drift - Flowing Gradient —
npx hyperframes add flowing-gradient - Mesh Gradient —
npx hyperframes add mesh-gradient - Mesh Gradient Background —
npx hyperframes add mesh-gradient-bg - Minimal Gradient Background —
npx hyperframes add mk-background