WebGPU
"Chrome ships WebGPU", announced Google on April 6, 2023. This is one of the most exciting news in computer graphics in recent times. WebGPU is the upcoming modern standard for 3D graphics and general purpose GPU computing for the web. It has been in development since 2017, and is backed by major companies such as Google, Apple, and Microsoft.
The Book of WebGPU is a fun programming book that teaches you the fundamentals of 3D graphics programming and GPU computing using WebGPU and JavaScript.This webpage is a live demonstration of the WebGPU examples in the book. You can study the code by viewing the source in the browser, or by going to the GitHub repo. I will be updating this page as I make progress with the book. Please use the button on the right to pre-order the book from No Starch Press.
Browser Compatibility
The examples in the book work with Google Chrome 113 and above. WebGPU is garnering browser support rapidly, so please check the official implementation status for the latest news.
About Mahesh Venkitachalam
Mahesh Venkitachalam is the author of the bestselling book Python Playground published by No Starch Press, USA. The second edition of this book will be out in October 2023. You can reach him at @mkvenkit on Twitter.




