The Webgpu Sourcebook


Download The Webgpu Sourcebook PDF/ePub or read online books in Mobi eBooks. Click Download or Read Online button to get The Webgpu Sourcebook book now. This website allows unlimited access to, at the time of writing, more than 1.5 million titles, including hundreds of thousands of titles in various foreign languages.

Download

The WebGPU Sourcebook


The WebGPU Sourcebook

Author: Matthew Scarpino

language: en

Publisher: CRC Press

Release Date: 2024-10-02


DOWNLOAD





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

Practical WebGPU Graphics


Practical WebGPU Graphics

Author: Jack Xu

language: en

Publisher: UniCAD

Release Date: 2021-06-11


DOWNLOAD





WebGPU is the next-generation graphics API and future web standard for graphics and compute, aiming to provide modern 3D graphics and computation capabilities with the GPU acceleration. This book provides all the tools you need to help you create advanced 3D graphics and GPU computing on the web with this new WebGPU API. The book starts by taking you through the WebPack-TypeScript template for building the WebGPU apps and then shows you the WebGPU basics, shader program, GPU buffer, and rendering pipeline. Next, you will learn how to create primitives and simple objects in WebGPU. As you progress through the chapters, you will get to grips with advanced WebGPU topics, including 3D transformation, lighting calculation, colormaps, and textures. At the same time, you will learn how to create advanced 3D WebGPU objects, including various 3D wireframes, 3D shapes, simple and parametric 3D surfaces with colormaps and textures, as well as 3D surface plots and fractal graphics described by complex functions. In addition, you will explore new WebGPU features, such as compute shader and storage buffer, and how to use them to simulate large particle systems. By the end of this book, you will have the skill you need to build your own GPU-accelerated graphics and computing on the web with the WebGPU API. The book includes: - Template based on WebPack and TypeScript for developing WebGPU apps. - WebGPU basics, GLSL and WGSL shaders, and rendering pipeline. - Create primitives and simple shapes in WebGPU. - 3D transformations, model, viewing, projection, and various coordinate systems. - GPU buffers, uniform buffer objects, animation, and camera controls. - Normal vectors, lighting model, ambient, diffuse, and specular light calculations. - UV coordinates, texture mapping.- Color model, colormaps, and color interpolation. - Create 3D shapes, wireframes, surfaces, and 3D charts. - Create 3D plots and fractal graphics using complex functions. - Compute shaders, storage buffers, and large particle system simulation.

WebGPU (Graphics and Compute) API in 20 Minutes


WebGPU (Graphics and Compute) API in 20 Minutes

Author: Kenwright

language: en

Publisher: Independently Published

Release Date: 2022-06-24


DOWNLOAD





WebGPU is a powerful JavaScript API for performing operations, such as rendering and compute computations, on a Graphics Processing Unit. This incredible API is a new standard being integrated into the latest browsers - allowing GPU accelerated graphics, image processing effects, physical simulations and more. WebGPU is so powerful and light on its feet that it's easy to forget it's a web-based API. WebGPU is a must-learn for its flexibility, power and beauty. It works in a bold and poignant way, providing you the kind of results that will leave you amazed. As you learn the WebGPU API, you'll find it difficult to believe the amazing things the WebGPU API can do. You'll adjust your expectations - from interested to impressed and eventually awe of what is possible using the WebGPU API. The WebGPU in 20 Minutes is an ambitious guide that helps you get started on the road to WebGPU development. Simplified examples with no-nonsense explanations, this book guides you through a series of chapters, progressively introducing you to the concepts and applications of WebGPU (including tips, code listings and visual illustrations). This introductory text is a practical resource to finding your way to getting started with WebGPU in a world where we never have enough time. The book explains simple yet important concepts and practicals that you can incorporate into your own programs.