ahirner / poly-nou

experimental integration of https://nphysics.org and https://nannou.cc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

poly-nou

poly-nou is an experimental integration of nphysics2d and nannou. After cargo run, randomly generated polygons will hit the ground and each other.

screenshot 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!

Todos

  • Break up concave polygons into compound shapes
  • Generalize shape drawing
  • Add more collision shapes
  • Add shaders that signify motion

About

experimental integration of https://nphysics.org and https://nannou.cc


Languages

Language:Rust 100.0%