WebGPU × WebAssembly

Rendering and computing engine for scientific workloads in the browser.

WasmGPU combines a TypeScript WebGPU engine with a Rust WebAssembly driver to support high-throughput rendering and computing workflows in a single browser-first runtime.

Available under the Mozilla Public License 2.0.

Latest release

v0.8.0 Released Sunday, May 24, 2026

Highlights

  • Added broader glTF 2.0 compatibility with full support for over a dozen official extensions.
  • Added the nodelink scientific visualization primitive.
  • Added compute kernels for real/complex LU factoring and solving.
  • Added external WebAssembly interop for typed views over foreign modules.
  • Added renderer warmup and occlusion culling.
  • Fixed glTF animation robustness by refreshing animation sampler views after WebAssembly allocations.

Install

Get started with your project

terminal

npm package

npm install @zushah/wasmgpu
 
cloud_download

CDN bundle

https://cdn.jsdelivr.net/gh/Zushah/WasmGPU@0.8.0/dist/WasmGPU.iife.min.js

Overview

Built for high-performance applications

view_in_ar

WebGPU engine

Rendering paths are designed for modern pipeline management, batching, and scene throughput.

memory

WebAssembly driver

Hot paths for transforms, culling, and layout-sensitive logic execute in a memory-safe manner with Rust.

science

Scientific compute

Compute APIs include ndarray abstractions, reusable kernels library, and async readback support.

account_tree

Data-oriented design

Scene and transform systems are organized to keep memory access predictable at scale.

source

TypeScript and Rust

Double-brained architecture for a seamless combination of convenience and performance.

terminal

Python interoperability

Pyodide integration enables scientific programming to be enveloped within the browser.

bolt

SIMD128 vectorization

Performance-critical operations are optimized using SIMD128 instructions for higher throughput.

image

glTF 2.0

Built-in support for importing glTF 2.0 assets with over a dozen supported extensions.

api

Streamlined ergonomics

Develop powerful projects in a simple style without losing focus on boilerplate and baggage.