This example is running in WebGL2 and should work in most browsers. You can check the WebGPU examples here.
3d_rotation.rs:
//! Illustrates how to rotate an object around an axis.
use *;
use TAU;
// Define a component to designate a rotation speed to an entity.
// This system will rotate any entity in the scene with a Rotatable component around its y-axis.