Skip to content
Motion GPU: A Minimal WebGPU Framework Shaders and Multi-Pass Pipelines

Motion GPU: A Minimal WebGPU Framework Shaders and Multi-Pass Pipelines

Motion GPU strips WebGPU down to fullscreen shaders, multi-pass pipelines, and frame scheduling. Nothing else. DAG-based scheduler, composable render graph, and ping-pong slots.

Details

Published

What it is

Most WebGPU projects want to be everything. Motion GPU wants to be brutally focused, and that's what makes it interesting. Built by Marek Jóźwiak, it's a deliberately narrow tool: fullscreen shaders, multi-pass pipelines, frame scheduling. That's the whole menu. No scene graphs, no mesh loaders, no camera rigs. The result is a small and optimized bundle.

Under the hood, things get properly nerdy. The frame scheduler is DAG-based with explicit task ordering, so you're not guessing at execution sequence. The render graph supports composable ping-pong slots for multi-pass pipelines, which is exactly the sort of thing that sounds dry until you're three hours into debugging a bloom chain and wishing someone had thought about it. Pipeline rebuilds are deterministic. Errors are structural, not thrown into the void. The API is minimal enough that you can hold most of it in your head, which is a feature more libraries should aspire to.

Right now it's Svelte-only, with React and Vue on the roadmap. Head over to motion-gpu.dev for docs and demos, or dig into the repo if you want to see how a DAG scheduler and render graph look when someone builds them without the usual kitchen-sink impulse.

How it’s made

Technology
WebGPU
Framework & Tool
SvelteVue.js