mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-09 12:21:31 +11:00
1ac4a4f1a8
Also abandoned the FrameScope idea and revised the `Stats::add_sample` to accept a struct to accept a variety of future measurements. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
Usage
Running the viewer without any arguments will render a built-in set of public-domain SVG images:
$ cargo run -p with_winit --release
Optionally, you can pass in paths to SVG files that you want to render:
$ cargo run -p with_winit --release -- [SVG FILES]
Controls
- Mouse drag-and-drop will translate the image.
- Mouse scroll wheel will zoom.
- Arrow keys switch between SVG images in the current set.
- Space resets the position and zoom of the image.
- S toggles the frame statistics layer
- Escape exits the program.