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.
//! This example displays each contributor to the bevy source code as a bouncing bevy-ball. use ; use ; use ; // Store contributors in a collection that preserves the uniqueness type Contributors = ; ; const GRAVITY: f32 = 9.821 * 100.0; const SPRITE_SIZE: f32 = 75.0; const SATURATION_DESELECTED: f32 = 0.3; const LIGHTNESS_DESELECTED: f32 = 0.2; const SATURATION_SELECTED: f32 = 0.9; const LIGHTNESS_SELECTED: f32 = 0.7; const ALPHA: f32 = 0.92; const SHOWCASE_TIMER_SECS: f32 = 3.0; const CONTRIBUTORS_LIST: & = &; /// Finds the next contributor to display and selects the entity /// Change the tint color to the "selected" color, bring the object to the front /// and display the name. /// Change the modulate color to the "deselected" color and push /// the object to the back. /// Applies gravity to all entities with velocity /// Checks for collisions of contributor-birds. /// /// On collision with left-or-right wall it resets the horizontal /// velocity. On collision with the ground it applies an upwards /// force. /// Apply velocity to positions and rotations. /// Get the names of all contributors from the git log. /// /// The names are deduplicated. /// This function only works if `git` is installed and /// the program is run through `cargo`.