1st Edition

The WebGPU Sourcebook High-Performance Graphics and Machine Learning in the Browser

By Matthew Scarpino Copyright 2025
384 Pages 76 B/W Illustrations
by CRC Press

384 Pages 76 B/W Illustrations
by CRC Press

384 Pages 76 B/W Illustrations
by CRC Press

The WebGPU Sourcebook: High-Performance Graphics and Machine Learning in the Browser explains how to code web applications that access the client’s graphics processor unit, or GPU. This makes it possible to render graphics in a browser at high speed and perform computationally intensive tasks such as machine learning. By taking advantage of WebGPU, web developers can harness the same... Read more

Preface
1. Introduction
2. Fundamental Objects
3. Rendering Graphics
4. The WebGPU Shading Language (WGSL)
5. Uniforms and Transformations
6. Lighting, Textures, and Depth
7. Advanced Features
8. Compute Applications
9. Machine Learning with Neural Networks
10. Image and Video Processing
11. Matrix Operations
12. Filtering Audio with the Fast Fourier Transform (FFT)
Appendix A: Node and TypeScript
Appendix B: WebAssembly, Emscripten, and Google Dawn
Index

Biography

Matthew Scarpino is a software developer at Purdue University. He has worked on many different types of programming projects, including web applications, graphical rendering, and high-performance computing. He received his Master’s in Electrical Engineering in 2002, and has been a professional programmer and author ever since.