This example is running in WebGL2 and should work in most browsers. You can check the WebGPU examples here.
//! Simple text rendering benchmark. //! //! Creates a `Text` with a single `TextSection` containing `100_000` glyphs, //! and renders it with the UI in a white color and with Text2d in a red color. //! //! To recompute all text each frame run //! `cargo run --example many_glyphs --release recompute-text` use ;