
router
TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.
它将高质量视觉效果(域扭曲 fbm、ACES 色调映射)与极致简洁相结合——无需安装包,直接复制源码即可——让高级着色器艺术对任何开发者都触手可及。
Soft, flowing sheets of light for your next hero section. A custom Paper Shader, distributed the simplest way possible: you copy the source.
No npm package. On the demo site, hit Copy for your agent — your clipboard gets a self-contained prompt with the full component and shader source. Paste it into your coding agent (Claude Code, Cursor, etc.) and it installs itself into your project.
Prefer to do it by hand? Grab the two files and one dependency:
pnpm add @paper-design/shaders-react
src/FoldGradient.tsx — the React componentsrc/foldGradientShader.ts — the GLSL
| Prop | Default | Description |
|---|---|---|
colors | Grain palette | Up to 5 stops, darkest → hottest. Bright sheet edges reach the last stop. |
bgColor | #121212 | Colour of the dark gaps between sheets |
shadowColor | #0a1c2a | Tint that bleeds into shadowed edges |
softness | 1 | 0–2, higher is softer |
saturation | 1 | 0–2, 0 is mono |
rotation | 52 | Drape angle in degrees |
zoom | 9 | 4–18, higher means bigger sheets |
ribbon | 0 | 0–1, blends in discrete strip cuts |
ribbonWidth | 1 | Strip width multiplier for ribbon mode |
speed | 1 | Animation speed, 0 freezes |
A single-pass WebGL2 fragment shader mounted on Paper's open-source ``:
fbm(p + 1.76·fbm(p + 4·fbm(p)))), the technique popularized by Inigo Quilezpnpm install
pnpm dev
MIT — do what
Soft, flowing sheets of light. A custom Paper Shader you copy straight into your React app.
根据分类、Topic 和编程语言匹配的相似项目。

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.
scriptc compiles ordinary TypeScript into small, fast native executables without needing Node.js, V8, or any JavaScript runtime in the binary.
A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.