Skip to content

kmamal/gpu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@kmamal/gpu

Package Dependencies License: MIT

WARNING: The WebGPU specification is still a work-in-progress.

WebGPU for Node.js via Google Dawn. Allows you to use WebGPU without a browser.

It should work on Linux, Mac, and Windows. Prebuilt binaries are available for x64 architectures, and arm-based Macs.

Instructions

Check the examples for how to use this package. You can use both compute and render pipelines. For render pipelines, you can either render the result to a buffer and save it as an image, or you can use @kmamal/sdl to render directly to a window as in this example.