This crate provides a vector shape rendering pipeline for easygpu via lyon.
```rust let mut builder = ShapeBuilder::default(); lyon::tessellation::basicshapes::fillcircle( Point::new(50., 50.), 25., &FillOptions::default(), &mut builder, ) .expect("Error tesselating circle"); let shape = builder.prepare(&renderer);
// { ... }
pass.set_pipeline(&self.pipeline); self.shape.draw(pass); ```
For a more in-depth look, check out the examples/ directory. You can run individual examples using cargo run --example <name>
, e.g., cargo run --example circle