Imported library

← Imported library
SubscriptionMIT licence

Abstract glassy shader

shader

GLASSWORKS — a drop-in WebGL2 metaball field (two SDF circles fused with a smooth union, an exponential glow and a cosine spectrum) integrated into shadcn `components/ui` and framed as a glass component lab: a live telemetry HUD reading the shader's own blob centres/FPS/clock, a control deck of faders that promote the baked-in constants to live uniforms, copyable source tabs, and a props/uniforms API; fully procedural with a CSS metaball fallback.

From prompt to live site

  1. 01

    Copy the prompt

    Grab the full prompt — the layout, motion and stack notes your AI needs, with the licence notice.

  2. 02

    Paste into your AI

    Drop it into Claude, Cursor or v0 — or straight into your own project.

  3. 03

    Launch it live

    Adapt the copy, wire your data, and ship — with the notice kept alongside.

Source and licence

Source: pulkitxm/claude-directory@f3d7e12f34bf

Author: 2026 Pulkit

Entry: shaders/abstract-glassy-shader/index.html

MIT License

Copyright (c) 2026 Pulkit

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Files (27, plus 2 media)
  • .gitignore (72 bytes)
  • README.md (6,166 bytes)
  • components.json (418 bytes)
  • index.html (701 bytes)
  • package.json (702 bytes)
  • prompt.md (5,840 bytes)
  • public/favicon.svg (567 bytes)
  • scripts/verify.mjs (8,161 bytes)
  • src/App.tsx (2,441 bytes)
  • src/components/lab/ControlDeck.tsx (3,937 bytes)
  • src/components/lab/HeroPanel.tsx (3,521 bytes)
  • src/components/lab/TelemetryHud.tsx (3,941 bytes)
  • src/components/lab/TopBar.tsx (2,381 bytes)
  • src/components/lab/code.tsx (2,038 bytes)
  • src/components/lab/controls.tsx (4,769 bytes)
  • src/components/lab/sections.tsx (11,563 bytes)
  • src/components/lab/sources.ts (1,799 bytes)
  • src/components/ui/abstract-glassy-shader.tsx (12,981 bytes)
  • src/components/ui/demo.tsx (402 bytes)
  • src/index.css (8,162 bytes)
  • src/lib/utils.ts (309 bytes)
  • src/main.tsx (241 bytes)
  • src/vite-env.d.ts (39 bytes)
  • tsconfig.app.json (564 bytes)
  • tsconfig.json (208 bytes)
  • tsconfig.node.json (451 bytes)
  • vite.config.ts (378 bytes)

Want the whole library?

Every item's prompt, code and instructions, with a CreativePower subscription.

See plans

More shader templates