WebGPU Gems

This text is a reference for learning and mastering WebGPU API (theoretical and applied perspective). In these pages, we provide links to official code and documentation, discuss the WebGPU API (and shaders) from an applied perspective with examples and explanations.

Cover image

Copyright © 2023 Benjamin Kenwright.

The code for this book was developed by Benjamin Kenwright and is licensed under the MIT license.

The image art was created by Inigo Quilez and is based on a procedural ray-tracing algorithm (web-based shader).

Special thanks to reviewers, colleagues and friends for input and discussion while developing the initial versions of the text.

Contents

Chapter 1: General

Chapter 2: Graphics

Chapter 3: Data-Processing

Chapter 4: Games

Chapter 5: Sound

Chapter 6: Simulations

Chapter 7: Machine Learning



101 WebGPU Programming Projects. WebGPU Development Pixels - coding fragment shaders from post processing to ray tracing! WebGPU by Example: Fractals, Image Effects, Ray-Tracing, Procedural Geometry, 2D/3D, Particles, Simulations WebGPU Games WGSL 2d 3d interactive web-based fun learning WebGPU Compute WebGPU API - Owners WebGPU Development Cookbook - coding recipes for all your webgpu needs! WebGPU & WGSL Essentials: A Hands-On Approach to Interactive Graphics, Games, 2D Interfaces, 3D Meshes, Animation, Security and Production Kenwright WebGPU Shader Language Development: Vertex, Fragment, Compute Shaders for Programmers Kenwright WGSL Fundamentals book kenwright WebGPU Data Visualization Cookbook kenwright