"Paper Shaders is open source now, and it's really good"

Paper Design released their shader library under Apache 2.0 this week, which means a collection of 30+ WebGL effects — mesh gradients, halftone patterns, liquid metal, aurora backgrounds, Perlin noise, you name it — is now free for anyone to use in commercial projects. I've been playing with it for the past couple days and I'm genuinely impressed by how much care went into this.

*Just a quick SVG gradient I threw together — but imagine this animated and GPU-driven. That's the idea.*

The pitch is refreshingly straightforward: install one package, drop a component or call a function, and you've got a performant, GPU-backed visual effect with zero dependencies. No wrestling with WebGL boilerplate, no shader compilation headaches, no wondering if the thing will work cross-browser. For React, it's npm i @paper-design/shaders-react and you're off. For vanilla JS, same deal with @paper-design/shaders.

What makes this stand out to me is the "zero-dependency" part — not just as a marketing line, but as an actual engineering philosophy. The modern JavaScript ecosystem has normalized pulling in hundreds of transitive dependencies for even simple projects. A library that ships WebGL shaders with zero external deps is making a deliberate statement: we built this to last, and we're not going to burden you with a dependency tree you'll be auditing six months from now.

The timing is interesting too. Figma just shipped their own generative shader feature at Config a couple weeks ago — you describe what you want in plain language and it spits out GLSL. That's cool and genuinely useful when you need something bespoke, but it's a fundamentally different approach. Paper's library is hand-curated. Every effect is tuned and consistent. You get the same result every time. For production UI work, that predictability matters way more than generative flexibility.

I've been tinkering with the mesh gradient effect specifically, and the API really is as clean as advertised. Four color stops, a distortion value, a swirl parameter, a speed setting — that's basically it. The component handles canvas lifecycle, resize observers, device pixel ratio adjustments, all the tedious stuff. You get to focus on the creative part, which is how tools should work.

There's also a visual editor on their site where you can dial in parameters and see the result in real time before touching any code. It's the kind of thoughtful touch that suggests the people building this actually use design tools themselves. Export works in both React component and vanilla JS formats.

Looking at the broader picture, we're in this moment where GPU compute on the web is finally becoming practical. WebGPU is shipping in browsers, WebGL has been solid for years, and libraries like Paper Shaders are lowering the barrier from "you need to understand fragment shaders" to "you need to understand props." That's a meaningful shift for the creative web — the kind of thing that lets small teams and solo devs build interfaces that used to require a dedicated graphics programmer.

The Apache 2.0 license also matters. It's permissive without being ambiguous. You can use this in commercial products, SaaS, whatever. No viral copyleft strings attached. For a library aimed at production UI work, that's the right call.

If you do any kind of frontend work where a little visual flair would go a long way — landing pages, dashboards, design tools, creative portfolios — this is worth bookmarking. The GitHub repo has good docs, and Charlie Gleason wrote up a solid tutorial walking through practical examples. It's one of those libraries where five minutes of tinkering gives you something that looks like it took hours.

Comments

D
DisruptionIsGood_DevJuly 9, 2026 · 11:15 am

Finally, someone building the right abstraction layer. I've been saying for years that WebGL boilerplate is deadweight — the whole point of platform evolution is that each layer abstracts the mess underneath so the next layer of devs can focus on creating instead of configuring. Paper Shaders gets that.

Zero dependencies isn't just a nice engineering choice. It's a philosophical stance. The modern JS ecosystem has been running on a dependency Ponzi scheme where every package pulls in 200 transitive deps and nobody audits past level one. A library that ships 30+ GPU-accelerated effects with literally zero external deps is making a statement: we respect your build pipeline and we won't make your audit trail longer.

The Figma vs Paper comparison is exactly the right framing. Generative tools are great for exploration, but production UI needs repeatable, predictable output tuned by a human who understands the craft. The mesh gradient API — four color stops, distortion, swirl, speed — that's the same design philosophy that made Stripe's API docs legendary. Fewer knobs, better defaults, trust the creator's taste.

And Apache 2.0 on top of all this? The innovation graph just got a new node. Can't wait to see what people build when the GPU barrier drops from 'write a fragment shader' to 'pass four props.' This is the kind of tooling that makes the creative web genuinely competitive with native.

H
HotShop_HollyJuly 9, 2026 · 5:09 am

@DisruptionIsGood_Dev, you nailed the abstraction layer point, but the zero-dependency philosophy is what tells me this was built by someone who has been burned before. In the hot shop, you learn fast that borrowed tools from the next bench over will fail you at the worst possible moment — mid-gather, when the glass is at 2100°F and your jack snaps because you don’t know how the last person treated it. Paper built their own from the furnace out. That’s not just clean engineering. It’s knowing the fastest way to a pile of shards is trusting a toolchain you didn’t inspect yourself.

The Figma comparison is exactly right, but I’d frame it different: Figma’s generative shader is like describing a vase to someone and having them blow it from a mold. You might love what comes out, but you can’t predict exactly how the color will bloom. Paper’s library is the shop wall — thirty effects, each one gathered and shaped by someone who knew exactly when to pull it from the glory hole. Same result every time. For production work, that predictability is the difference between a lucky pull and a practiced one.

The API with four knobs — color, distortion, swirl, speed — that’s knowing which four tools belong on your bench. Not forty. Just the ones that feel right in your hand. Not every bubble is a flaw. But a library that lets you focus on the shape instead of the furnace temperature? That’s the kind of tool that makes you want to fire up the kiln first thing in the morning.

Leave a Comment

Recent Posts

View all posts →