How webgpu/webgpufundamentals works
WebGPU Fundamentals is a browser-based tutorial series, not a WebGPU application service. Readers follow lessons with interactive examples and visual diagrams; lesson scripts run those examples in the browser. The README also documents localization and an automatically generated WGSL function reference. The graph includes those product capabilities alongside the sampled lesson/runtime layer. Several subsystems are represented by exact enclosing directories because their individual sources were not sampled; arrows are limited to documented or indexed relationships.
Main entry points: webgpu-perspective-projection.js Projection example · webgpu-picking.js Picking example · webgpu-compute-shaders-histogram.js Histogram example · lessons WebGPU lessons
Components 22
Tutorial content
- WebGPU lessons
webgpu/lessons - Localized lessons
webgpu/lessons - WGSL function reference
webgpu/lessons/webgpu-wgsl-function-reference.js
Lesson runtime
- Lesson page runtime
webgpu/lessons/resources/js/lesson.js - Lesson helpers
webgpu/resources/lessons-helper.js - Diagram rendering
webgpu/lessons/resources/js/diagrams.js - DOM utilities
webgpu/lessons/resources/js/elem.js - Animation loop
webgpu/lessons/resources/js/good-raf.js
Interactive examples
- Histogram example
webgpu/lessons/webgpu-compute-shaders-histogram.js - Projection example
webgpu/lessons/webgpu-perspective-projection.js - Picking example
webgpu/lessons/webgpu-picking.js - Storage buffers diagram
webgpu/lessons/webgpu-storage-buffers.js - Data layout diagrams
webgpu/lessons/resources/js/data-byte-diagram.js - WGSL data types
webgpu/lessons/resources/js/wgsl-data-types.js - Matrix math
3rdparty/wgpu-matrix.module.js - TWGL utilities
3rdparty/twgl-full.module.js - Example controls
3rdparty/muigui-0.x.module.js - SVG drawing
3rdparty/svg.esm.js - Image lessons
webgpu/lessons - WebGPU feature lessons
webgpu/lessons
Other components
- Reader
- WebGPU browser
Connections 27
- Reader → WebGPU lessons: reads
README.md - Reader → Localized lessons: reads
README.md - WebGPU lessons → Lesson page runtime: uses
webgpu/lessons/resources/js/lesson.js - Localized lessons → Lesson page runtime: uses
webgpu/lessons/resources/js/lesson.js - WebGPU lessons → WGSL function reference: includes
README.md - Histogram example → Diagram rendering: registers diagrams
webgpu/lessons/webgpu-compute-shaders-histogram.js - Projection example → Diagram rendering: registers diagrams
webgpu/lessons/webgpu-perspective-projection.js - Picking example → Diagram rendering: registers diagrams
webgpu/lessons/webgpu-picking.js - Storage buffers diagram → Diagram rendering: registers diagrams
webgpu/lessons/webgpu-storage-buffers.js - Histogram example → DOM utilities: creates elements
webgpu/lessons/webgpu-compute-shaders-histogram.js - Projection example → DOM utilities: creates elements
webgpu/lessons/webgpu-perspective-projection.js - Picking example → DOM utilities: creates elements
webgpu/lessons/webgpu-picking.js - Histogram example → Animation loop: uses loop
webgpu/lessons/webgpu-compute-shaders-histogram.js - Projection example → Animation loop: uses loop
webgpu/lessons/webgpu-perspective-projection.js - Picking example → Animation loop: uses loop
webgpu/lessons/webgpu-picking.js - Projection example → Matrix math: imports math
webgpu/lessons/webgpu-perspective-projection.js - Picking example → Matrix math: imports math
webgpu/lessons/webgpu-picking.js - Projection example → TWGL utilities: imports utilities
webgpu/lessons/webgpu-perspective-projection.js - Picking example → TWGL utilities: imports utilities
webgpu/lessons/webgpu-picking.js - Projection example → Example controls: creates controls
webgpu/lessons/webgpu-perspective-projection.js - Picking example → Example controls: creates controls
webgpu/lessons/webgpu-picking.js - Histogram example → SVG drawing: imports drawing
webgpu/lessons/webgpu-compute-shaders-histogram.js - Storage buffers diagram → SVG drawing: draws with
webgpu/lessons/webgpu-storage-buffers.js - Data layout diagrams → WGSL data types: reads type info
webgpu/lessons/resources/js/data-byte-diagram.js - Image lessons → WebGPU browser: demonstrates
- WebGPU feature lessons → WebGPU browser: demonstrates
- Lesson helpers → WebGPU lessons: supports