This example is running in WebGL2 and should work in most browsers. You can check the WebGPU examples here.
mesh2d.rs:
//! Shows how to render a polygonal [`Mesh`], generated from a [`Rectangle`] primitive, in a 2D scene.
use ;