Support WarningWebGPU is currently only supported on Chrome starting with version 113, and only on desktop. If they don't work on your configuration, you can check the WebGL2 examples here.
//! Renders a lot of animated sprites to allow performance testing. //! //! This example sets up many animated sprites in different sizes, rotations, and scales in the world. //! It also moves the camera over them to see how well frustum culling works. use Duration; use ; use Rng; const CAMERA_SPEED: f32 = 1000.0; // System for rotating and translating the camera ; ; // System for printing the number of sprites on every tick of the timer