poly-nou is an experimental integration of nphysics2d
and nannou. After cargo run
, randomly generated
polygons will hit the ground and each other.
You can shake them up by moving the window!
Conversion traits in src/geometry.rs
facilitate interoperability. However, use
at your own risk and don't expect idiomatic rust just yet!
- Break up concave polygons into compound shapes
- Generalize shape drawing
- Add more collision shapes
- Add shaders that signify motion