valo 0.2.0

A 2D render engine on wgpu: display lists, planned GPU passes, and a Skia-shaped text stack
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Interactive Figma-style board (the stress scene, ~3.3k draws):
//! drag = pan, scroll/pinch = zoom about the cursor, `1` = 100%, `0` = fit,
//! Esc quits. The HUD strip is rendered by valo itself.
//!
//!   cargo run -p valo --example board --release

use std::sync::Arc;

fn main() {
    let mut fonts = valo_harness::example_fonts();
    let board = Arc::new(valo_harness::scenes::figma_board(&mut fonts));
    valo_harness::interactive::run_pan_zoom("valo — board", fonts, board);
}