Vantajs

From MengTo/Skills · View interactive version

Vantajs is an AI agent skill from the GitHub repository MengTo/Skills. Use when adding animated WebGL background effects with Vanta.js (setup, parameters, resizing, performance, integration in React/Next.js).

How to use this skill

Skill file

Vanta.js — Animated WebGL Backgrounds Skill

When to use

How it works

Key APIs/patterns

Common pitfalls

Quick recipes

1) Minimal waves background

<div id="hero" style="height: 70vh;"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r134/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta/dist/vanta.waves.min.js"></script>
<script>
  const effect = VANTA.WAVES({ el: "#hero", color: 0x0b1220, shininess: 40, waveHeight: 16, zoom: 0.9 });
</script>

2) React cleanup pattern (concept)

What to ask the user

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.