TypeGPU

(★ 3,016)

A modular and open-ended toolkit for WebGPU, with advanced type inference and the ability to write shaders in TypeScript

File Explorer

  • .gitattributes
  • .gitignore
  • .nvmrc
  • .oxfmtrc.json
  • .prettierrc
  • CONTRIBUTING.md
  • LICENSE
  • oxlint.config.ts
  • package.json
  • pnpm-lock.yaml
  • pnpm-workspace.yaml
  • projects-using-typegpu.md
  • README.md
  • tsconfig.base.json
  • tsconfig.json
  • vitest.config.mts

# Installation Guide

node
Prerequisites

Setup Steps

pnpm install

Install project dependencies.

pnpm build

Build all packages and workspaces.

pnpm test

Run the test suite.

Key Commands

pnpm install

Install package dependencies across the monorepo.

pnpm build

Build TypeScript packages and libraries.

pnpm test

Run unit tests using Vitest.

A modern browser or environment supporting WebGPU is required.

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

// repository documentation