# Clouds — component for shaders (html)

> **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.

A pale blue sky over soft drifting clouds, with the sun glowing at the top of the frame

- **Install:** `npm i vanta`
- **Registry:** vanta · **Framework:** html · **License:** MIT
- **Docs and preview:** https://www.vantajs.com/?effect=clouds
- **Source:** https://github.com/tengbao/vanta/blob/master/src/vanta.clouds.js
- **Example:** https://skills.varg.ai/previews/lib-vanta-clouds.mp4?v=40227 (Rendered by varg from the library’s own code (Vanta.js · 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 Vanta.js Clouds effect (https://www.vantajs.com/?effect=clouds, MIT, source github.com/tengbao/vanta/blob/master/src/vanta.clouds.js) as a bright full-frame sky behind a title, travel or weather beat. Load three.js r134 and vanta@0.5.24/dist/vanta.clouds.min.js and mount VANTA.CLOUDS on a full-frame div with mouse, touch and gyro controls off. It is a single shader driven by the iTime uniform, so render it frame-exact: cancel effect.req and on each frame set effect.uniforms.iTime.value = seconds × speed, then call effect.renderer.render(effect.scene, effect.camera). Tune skyColor, cloudColor, cloudShadowColor and the three sun colors for golden hour or overcast, and keep speed at 0.5–1. Pass scale: 1 for a sharper 1080p render than the default upscaled buffer.

## Used in

- [Lyric video](https://skills.varg.ai/video/lyric-video.md)
- [Audio visualizer](https://skills.varg.ai/video/visualizer.md)
- [Logo sting](https://skills.varg.ai/video/logo-sting.md)
- [Brand intro & bumper](https://skills.varg.ai/video/brand-intro.md)
- [Stream overlay package](https://skills.varg.ai/video/stream-overlay.md)
- [News broadcast package](https://skills.varg.ai/video/news-package.md)
- [Countdown & launch timer](https://skills.varg.ai/video/countdown.md)
- [Shader loop](https://skills.varg.ai/video/shader-loop.md)

## More shaders

- [Blob](https://skills.varg.ai/component/hf.blob.md) — `npx hyperframes add blob`
- [Chrome Orb](https://skills.varg.ai/component/hf.chrome-orb.md) — `npx hyperframes add chrome-orb`
- [Color Wheel](https://skills.varg.ai/component/hf.color-wheel.md) — `npx hyperframes add color-wheel`
- [Falling Lines](https://skills.varg.ai/component/hf.falling-lines.md) — `npx hyperframes add falling-lines`
- [Frost](https://skills.varg.ai/component/hf.frost.md) — `npx hyperframes add frost`
- [Godrays](https://skills.varg.ai/component/hf.godrays.md) — `npx hyperframes add godrays`
