Support Warning
WebGPU 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.
move_sprite.rs:
//! Renders a 2D scene containing a single, moving sprite.
use *;
/// The sprite is animated by changing its translation depending on the time that has passed since
/// the last frame.