Waves — component for backgrounds & gradients (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 glossy faceted blue water surface rolling in slow swells, filling the frame edge to edge

Prompt that renders it frame-exact

Use the Vanta.js Waves effect (https://www.vantajs.com/?effect=waves, MIT, source github.com/tengbao/vanta/blob/master/src/vanta.waves.js) as the full-frame background under a headline or product name. Load three.js r134 and [email protected]/dist/vanta.waves.min.js and mount VANTA.WAVES on a full-frame div with mouse, touch and gyro controls off. The surface height is computed from effect.t (Vanta counts 60 ticks per second), so seed Math.random before init (the triangle layout is random), cancel effect.req, and for every frame set effect.t = seconds × 60, call effect.onUpdate() and then effect.renderer.render(effect.scene, effect.camera). Set color to a dark brand tone, shininess 30–60 for the highlights, waveHeight 10–20 and waveSpeed below 1 for a calm sea; zoom 0.8 shows more horizon.

Used in

More backgrounds & gradients