plan
need to read
-
https://toji.dev/webgpu-best-practices/
-
https://webgpufundamentals.org/webgpu/lessons/webgpu-fundamentals.html#a-drawing-triangles-to-textures
- https://google.github.io/tour-of-wgsl/
-
https://webgpufundamentals.org/webgpu/lessons/webgpu-fundamentals.html#a-drawing-triangles-to-textures
- https://wiki.nikiv.dev/computer-graphics/webgpu
- https://codelabs.developers.google.com/your-first-webgpu-app#0
- https://jack1232.github.io/webgpu00/
- https://www.freecodecamp.org/news/learn-webgpu-a-next-generation-graphics-api-for-the-web/
these are task i need to do
- Learn how to set up webgpu project
- render a triangle
- render conway's game of life
keywords
vertex shader - Vertex shaders are functions that compute vertex positions for drawing triangles/lines/points
Fragment shader - Fragment shaders are functions that compute the color (or other data) for each pixel to be drawn/rasterized when drawing triangles/lines/points