A collection of scenes used for Vello Sparse Strips examples.
This crate provides various scene implementations including:
The Emoji Grid scene uses the bundled Noto Color Emoji COLR subset by default. Native builds can render a different COLR font by setting NOTO_COLR_PATH to the font file path before running the example. For it to work in WASM, you have to change two lines in the source file, see there for more information.
You can do something as follows to get it up and running (on Linux/MacOS):
curl -L -o /tmp/Noto-COLRv1.ttf https://github.com/googlefonts/noto-emoji/raw/main/fonts/Noto-COLRv1.ttf NOTO_COLR_PATH=/tmp/Noto-COLRv1.ttf cargo run -p vello_hybrid_winit --release # OR NOTO_COLR_PATH=/tmp/Noto-COLRv1.ttf cargo run -p vello_cpu_winit --release