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.
//! Illustrates how to scale an object in each direction. use PI; use *; // Define a component to keep information for the scaled object. // Implement a simple initialization. // Startup system to setup the scene and spawn all relevant entities. // This system will check if a scaled entity went above or below the entities scaling bounds // and change the direction of the scaling vector. // This system will scale any entity with assigned Scaling in each direction // by cycling through the directions to scale.