by
WebGPU (Graphics and Compute) API is a powerful web-based resource that exposes the GPU hardware capabilities without the use of external libraries or plug-ins. This incredible API is part of a new standard that will be integrated into modern browsers - allowing GPU accelerated graphics such as ray-tracing. Real time ray-tracing has always been the holy grail of rendering. Delivering physically-accurate results by simulating how light rays bounce off and refract through objects in a scene. Ray-tracing has historically been slow, taking minutes or hours to render a single frame, so being able to get results in `real time' due to advancements in hardware accelerations and the WebGPU API promises to have a huge impact on web-based visualizations. This book introducing the reader (you) to ray-tracing and computer graphic concepts using the WebGPU graphics and compute API using simple tutorials and samples.