Phosphor 30 shader hero
Shadcn/Vite/TypeScript integration of the brief's raw-WebGL2 `phosphor-30` shader (an 80-step raymarch folding a rotating SDF into ribbons of light via `tanh(o / 5e3)` on one full-screen triangle), framed as a CRT "PHOSPHOR // 30" instrument hero — bezel + corner brackets, a drifting scan line, a phosphor-glow `FIELD OF / LIGHT` headline, live FPS·session telemetry and lucide-react chrome; the prompt's `phosphor-30.tsx` + `demo.tsx` dropped in verbatim alongside a composable type-checked twin, fonts vendored locally.
From prompt to live site
- 01
Copy the prompt
Grab the full prompt — the layout, motion and stack notes your AI needs, with the licence notice.
- 02
Paste into your AI
Drop it into Claude, Cursor or v0 — or straight into your own project.
- 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/phosphor-30-shader-hero/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 (25, plus 4 media)
- .gitignore (55 bytes)
- README.md (6,337 bytes)
- components.json (408 bytes)
- index.html (931 bytes)
- package.json (809 bytes)
- postcss.config.js (81 bytes)
- prompt.md (11,634 bytes)
- public/favicon.svg (356 bytes)
- scripts/verify.mjs (5,914 bytes)
- src/App.tsx (121 bytes)
- src/components/demo.tsx (120 bytes)
- src/components/phosphor-hero.tsx (9,308 bytes)
- src/components/ui/button.tsx (2,170 bytes)
- src/components/ui/phosphor-30.tsx (10,043 bytes)
- src/components/ui/phosphor-canvas.tsx (10,881 bytes)
- src/index.css (2,536 bytes)
- src/lib/use-clock.ts (973 bytes)
- src/lib/utils.ts (262 bytes)
- src/main.tsx (239 bytes)
- src/vite-env.d.ts (39 bytes)
- tailwind.config.ts (1,338 bytes)
- tsconfig.app.json (684 bytes)
- tsconfig.json (208 bytes)
- tsconfig.node.json (453 bytes)
- vite.config.ts (261 bytes)
Want the whole library?
Every item's prompt, code and instructions, with a CreativePower subscription.