Webgpu Core Workers

Use when running WebGPU inside a Web Worker or rendering to an OffscreenCanvas off the main thread. Prevents main-thread jank and the mistake of trying to access a DOM canvas from a worker. Covers WorkerNavigator.gpu, OffscreenCanvas, transferControlToOffscreen, worker WebGPU context setup, and unsupported worker contexts. Keywords: Web Worker, OffscreenCanvas, transferControlToOffscreen, WorkerNavigator.gpu, render on worker thread, off main thread, navigator.gpu in worker, how do I run WebGPU in a worker, main thread jank.

Impertio-Studio Updated 203 repo stars
35 Deterministic Skills for WebGPU

File contents

impertio-studio/webgpu-claude-skill-package commit 83baa29163

Frequently asked questions

npx get-skill add impertio-studio/webgpu-core-workers