101 WebGPU and WGSL Projects is both a learning resource and a reference text that provides lots of hands-on examples to teach and inspire you! If you're looking to get started - or want to try out something new - this text is definetly for you!
• Make WebGPU and WGSL Fun and Interesting
• Working with the API and shader language directly
• Large range of hands-on examples (with code) from very basic through to more complex/advanced concepts
• 101 project examples (yes, 101!!)
• Great resource for building up your portfolio
• Quick reference text (how-to) for times when you've forgotten or need to know how to do something (e.g., load audio or create a compute shader)
• ...
41 Implement a 3D camera system 42 Create a simple skybox 43 Render a reflective surface
44 Simulate water ripples on a plane
45 Implement a soft shadow effect
46 Render a point light source in 3D
47 Create a bump-mapped surface
48 Render a rotating textured sphere
49 Simulate a foggy scene
50 Implement a refraction shader for glass effects
51 Render a Mandelbrot fractal 52 Simulate a dynamic cloth system
53 Create a fluid simulation using particles
54 Implement realistic metallic materials
55 Procedural terrain using fractal brownian noise (fbn)
56 Render a volumetric light effect
57 Create a dynamic smoke simulation
58 Render multiple objects with instancing
59 Simulate lens flare effects 60 Implement subsurface scattering for translucent materials
81 Implement mouse interaction to move objects
82 Create a paint application using the GPU 83 Build a simple game: Pong 84 Animate objects based on user input
85 Implement drag-and-drop mechanics for 2D objects
86 Add zoom and pan functionality to a 2D scene
87 Create a dynamic heatmap visualization
88 Build a 3D object viewer with mouse controls
89 Simulate drawing with a virtual brush
90 Implement interactive particle attraction
91 Create a waveform visualizer for audio input
92 Build an interactive fractal explorer
93 Simulate a touch-sensitive ripple effect
94 Create a dynamic starfield with mouse parallax
95 Implement a simple 2D platformer
96 Make a procedurally generated maze
97 Simulate a sandbox environment with user interactions
98 Build a basic 3D scene editor
99 Create a color picker with GPU rendering
100 Implement a physics-based slingshot game
101 Develop an interactive, GPU-driven graph plotter
Appendix
• External libraries (gl-matrix)
• Load texture (png/jpg/gif)
• Load json model
• Loading video textures
• Audio loader/filter
• SDF - ray tracer
• SDF - mod (repeat) - marching shapes, sdf 'combining' shapes (add/subtract)
• Save WebGPU canvas to 'file' (png) with Transparency • Swirl effect image/fragement shader
• Generate skybox textures (in compute shader) - e.g., sky/clouds procedurally
• Ambient occlusion
Resources & Links
Lots of other projects and examples are available on the WebGPU Lab editor
• WebGPU and WGSL Lab (Online Editor/Code) [LINK]
Visitor:
Copyright (c) 2002-2025 xbdev.net - All rights reserved.
Designated articles, tutorials and software are the property of their respective owners.