Pinned
Iwo Plaza | TypeGPU
Iwo Plaza | TypeGPU
@iwoplaza.dev
Lead Developer on http://typegpu.com // @swmansion.com 👨🏻💻🐸💚 https://github.com/iwoplaza 🧟🕷️⛏️ https://github.com/mobends 🎶🎹🎶 http://soundcloud.com/ivesiris
142 followers291 following59 posts
Iwo Plaza | TypeGPU reposted
JavaScript can do almost anything… but operator overloading is still missing. 👀 At What The Stack 2026, @iwoplaza.dev from Software Mansion will talk about the weird, clever, and sometimes cursed ways developers have tried to solve it, including the approach TypeGPU uses today. ⚡🧠
Iwo Plaza | TypeGPU reposted
Introducing Shaders v3 🔥 Our biggest release yet. Built for design engineers who ship magic. Design production-ready WebGPU shader effects on an infinite canvas, powered by a new rendering engine that's up to 25× faster. shaders.com/updates/intr...
Iwo Plaza | TypeGPU reposted
🎮 Konrad Reczko is bringing shaders to #WTS. Software Engineer at Software Mansion, graphics programming enthusiast, and the person wondering how every game effect was rendered. TypeScript, TypeGPU, pixels, and the Jelly Slider. 📅 Sept 19 | Skopje 🎟️ wts.sh
Iwo Plaza | TypeGPU reposted
Just discovered TypeGPU. It's a TypeScript-first way to write GPU shaders and compute pipelines. You stay in TypeScript, it auto-generates WGSL for WebGPU. 🔥 Perfect for experimenting with rendering, compute, and even AI inference in the browser. docs.swmansion.com/TypeGPU/exam...
Iwo Plaza | TypeGPU reposted
WebGPU is exciting — but bridging libraries is tricky. 🎮@iwoplaza.bsky.social introduces TypeGPU: a TypeScript way to write shaders that talk across Three.js, TensorFlow & more. For devs curious about graphics + interop. See you at JSNation US?
Get started here: software-mansion-labs.github.io/byegl/ It's very early in development, but the promise of mixing WebGL and WebGPU even in the simplest of examples is already exciting! 🥯🐶
See the source-code, and consider contributing with issues or PRs 🙏 github.com/software-man... And while you're at it, give us a star! ✨
Iwo Plaza | TypeGPU reposted
ajs1998.github.io/double-pendu... I made a simulator to explore the space of double pendulums! It runs in your browser with WebGPU, and it's very fast! I wrote a little about it here: alex.leaflet.pub/3lxizbtwyg22d
Iwo Plaza | TypeGPU reposted
floating soft glass made with WebGPU, compute shader, and a fully custom material r3f.maximeheckel.com/webgpu/glass
Iwo Plaza | TypeGPU reposted
I hate to say it but... LLMs are decent at writing TypeGPU shaders. @thdxr.com's opencode wrote a few SDF functions, then created a simple ray marched scene. Mind you, this is NOT a Three.js scene! It's a custom fragment shader that sends rays into an "imaginary" space, written fully in TypeScript
Definitely a XorDev classic 👏👏 Reimplementing it in TypeScript went smoother than last time. Love playing with the parameters on this one 🫨 Code & Preview (WebGPU required): docs.swmansion.com/TypeGPU/exam... #webgpu #typegpu #shaders
"Centrifuge 2" vec3 p,P;for(float z,d,i;i++<5e1;z+=d,o+=(1.2-cos(p.z/vec4(5,1e8,3,0)))/d)p=z*normalize(FC.rgb*2.-r.xyy),P=vec3(atan(p.y-=7.,p.x)/.1+t,p.z*.2-5.*t,length(p.xy)-11.),d=length(vec4(P.z,cos(P+cos(P/.2))-1.))*.5-.1;o=tanh(o/2e2);
Iwo Plaza | TypeGPU reposted
TypeGPU makes defining and executing your own compute pipelines easier than ever. 🎉 It's designed to be foundational and give developers full control, while improving DX via type safety and modularity. Watch the video to see what we’ve been up to. 🔥 www.youtube.com/watch?v=QrHZ...
I HAD to know how this works 😱 I rewrote it in TypeScript and unminimized parts of the code for readability. TypeGPU takes that code and compiles it into WGSL (WebGPU Shading Language), so it can be executed on the GPU 🚀 Code & Preview: docs.swmansion.com/TypeGPU/exam... #WebGPU
"Runner" vec3 q,p;for(float z,d,i,l;l++<3e1;z+=d,o+=.1*(vec4(4,2,1,0)-tanh(p.y+4.))*d/(1.+z)){p=z*normalize(FC.rgb*2.-r.xyy)-2.;p.xz-=t+3.;for(q=p,d=p.y,i=4e1;i>.01;i*=.2)d=max(d,min(min(q=i*.9-abs(mod(q,i+i)-i),q.y).x,q.z)),q.xz*=rotate2D(9.);}o=tanh(o*o);
I like to use the analogy of server & client, as writing both sides in TypeScript gives you the same benefits here! (CC @t3.gg 👀) The GPU can be thought of as just an endpoint with an API, and instead of binary blobs and strings, that API can be made type-safe! (5/n)
Iwo Plaza | TypeGPU reposted
Iwo Plaza | TypeGPU reposted
Replying to @aqandrew.com
part 2 (textures) coming eventually. seeing @iwoplaza.bsky.social’s WebGPU talk inspired me to pick this project back up!
Iwo Plaza | TypeGPU reposted
my favorite blog post, which I haven’t shared here yet. for math/graphics/JS/DnD nerds Creating a 10-Sided Die with React, Part 1 aqandrew.com/blog/10-side...
Iwo Plaza | TypeGPU reposted
At SWM, we thought: what if we took the idea behind tRPC and React Server Components – sharing types across environments – and applied it to GPU programming? 🧠 That’s how TypeGPU was born. It’s a TypeScript library for WebGPU API that brings type safety to the CPU–GPU boundary. 🚀 bit.ly/43qVph7
Iwo Plaza | TypeGPU reposted
Iwo Plaza | TypeGPU reposted
Building a custom React renderer lets you extend React's capabilities to different platforms. 🚀 If you want to learn how to map your own API to React components using react-reconciler, check our article for a deep dive into the process.👇 blog.swmansion.com/how-to-build...
Iwo Plaza | TypeGPU reposted
WebGPU is great, but working with untyped binary data can be a pain. That’s why we built TypeGPU – a TypeScript library that enhances the WebGPU API, bringing type safety to apps that span the CPU–GPU boundary. 🧠⚙️ 🔗 Check the article to see how TypeGPU works and what’s coming next: bit.ly/4j4pgld
My TypeGPU & Koota ECS game project works on React Native! 🎮 (cc @pmnd.rs) It's been a great test bed for JavaScript shaders, as well as for discovering any edge-cases we don't yet support. #webgpu #typegpu #gamedev #javascript
I was able to very quickly and painlessly add mobile controls thanks to @verekia.com’s “Mana Potion” library 🕹️ #gamedev #javascript #webgpu #typegpu
Making a web game about FALLING! I decided to hand-roll a custom engine and renderer on top of #webgpu as a learning exercise 👨🎓 📚STACK📚 - TypeGPU: deep #typescript and #webgpu integration (& experimental JS shaders 🧪) - Koota (by @pmnd.rs): a fresh ECS framework, very fun so far! #gamedev