Simplex dithering shader
Shadcn/Tailwind v4/TS integration of the verbatim `DitheringShader` — a WebGL2 ordered-dithering field (simplex/warp/dots/wave/ripple/swirl/sphere crushed through Bayer 2×2/4×4/8×8 or blue-noise matrices into a two-tone halftone) dropped into `@/components/ui`, framed as an amber-on-oxblood "dither bench": the brief's ripple · 2×2 preset full-bleed behind a centered "Simplex" lockup, a live Bayer threshold-matrix panel, and field/matrix/pixel-size/speed controls wired straight to the shader uniforms with an FPS/shader-clock telemetry HUD read off the render loop; 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/simplex-dithering-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 (20, plus 9 media)
- .gitignore (45 bytes)
- README.md (4,772 bytes)
- components.json (418 bytes)
- index.html (644 bytes)
- package.json (699 bytes)
- prompt.md (15,399 bytes)
- public/favicon.svg (966 bytes)
- scripts/verify.mjs (11,660 bytes)
- src/App.tsx (12,919 bytes)
- src/components/Slider.tsx (1,546 bytes)
- src/components/ThresholdMatrix.tsx (3,277 bytes)
- src/components/ui/dithering-shader.tsx (16,902 bytes)
- src/components/ui/simplex.tsx (2,055 bytes)
- src/fonts/fonts.css (1,248 bytes)
- src/index.css (4,035 bytes)
- src/lib/utils.ts (174 bytes)
- src/main.tsx (243 bytes)
- tsconfig.json (617 bytes)
- tsconfig.node.json (229 bytes)
- vite.config.ts (571 bytes)
Want the whole library?
Every item's prompt, code and instructions, with a CreativePower subscription.