This is somewhat of a proposal, to discuss it a bit.
The triangle and cube examples are the most basic examples we provide. But they are also a bit convoluted because they serve as utilities that can be reused elsewhere.
Now it's not too difficult to serialize the functions in your head(and skip all the asycnc variants), or when you copy these as a starting point. But for beginners it might add some amount of confusion. And those are the most viewed documents in the repository.
I propose adding a standalone example like triangle_minimal and perhaps port one more complex example from https://webgpu.github.io/webgpu-samples/ to python.
Let me know what you think, or if you have any suggestions. I can open a PR for this sometime this week.
This is somewhat of a proposal, to discuss it a bit.
The triangle and cube examples are the most basic examples we provide. But they are also a bit convoluted because they serve as utilities that can be reused elsewhere.
Now it's not too difficult to serialize the functions in your head(and skip all the asycnc variants), or when you copy these as a starting point. But for beginners it might add some amount of confusion. And those are the most viewed documents in the repository.
I propose adding a standalone example like triangle_minimal and perhaps port one more complex example from https://webgpu.github.io/webgpu-samples/ to python.
Let me know what you think, or if you have any suggestions. I can open a PR for this sometime this week.