
The WebGPU Sourcebook
High-Performance Graphics and Machine Learning in the Browser
Matthew Scarpino(Author)
CRC Press
1st Edition
Published on 2. October 2024
Book
Paperback/Softback
374 pages
978-1-032-72667-0 (ISBN)
Description
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 performance available to desktop developers.
The first part of the book introduces WebGPU at a high level, without graphics theory or heavy math. The chapters in the second part are focused on graphical rendering and the rest of the book focuses on compute shaders.
This book walks through several examples of WebGPU usage. It also:
Discusses the classes and functions defined in the WebGPU API and shows how they're used in practice
Explains the theory of graphical rendering and shows how to implement rendering inside a web application
Examines the theory of neural networks (machine learning) and shows how to create a web application that trains and executes a neural network
The first part of the book introduces WebGPU at a high level, without graphics theory or heavy math. The chapters in the second part are focused on graphical rendering and the rest of the book focuses on compute shaders.
This book walks through several examples of WebGPU usage. It also:
Discusses the classes and functions defined in the WebGPU API and shows how they're used in practice
Explains the theory of graphical rendering and shows how to implement rendering inside a web application
Examines the theory of neural networks (machine learning) and shows how to create a web application that trains and executes a neural network
More details
Language
English
Place of publication
London
United Kingdom
Publishing group
Taylor & Francis Ltd
Target group
Professional and scholarly
Professional Practice & Development, Professional Reference, and Professional Training
Illustrations
7 s/w Photographien bzw. Rasterbilder, 76 s/w Abbildungen, 69 s/w Zeichnungen, 101 s/w Tabellen
101 Tables, black and white; 69 Line drawings, black and white; 7 Halftones, black and white; 76 Illustrations, black and white
Dimensions
Height: 229 mm
Width: 152 mm
Thickness: 21 mm
Weight
558 gr
ISBN-13
978-1-032-72667-0 (9781032726670)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions

E-Book
10/2024
1st Edition
CRC Press
€53.99
Available for download

Book
10/2024
1st Edition
CRC Press
€188.30
Shipment within 10-20 days

E-Book
10/2024
1st Edition
CRC Press
€53.99
Available for download
Person
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.
Content
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