torophy

Crates.iotorophy
lib.rstorophy
version0.1.1
sourcesrc
created_at2020-06-19 14:08:12.447725
updated_at2020-06-19 14:32:44.819428
description2D physics engine over a toroidal space
homepagehttps://github.com/lemunozm/torophy/
repositoryhttps://github.com/lemunozm/torophy/
max_upload_size
id255710
size80,626
Luis Enrique Muñoz Martín (lemunozm)

documentation

README

torophy license downloads

torophy

2D physics engine over a toroidal space. The aim of this project is to test and experiment with physics over a toroidal space.

Features

  • Toroidal space physics.
  • Particle physics.
  • Rigid body collision (circles).
  • Fast: focus in to make the collisions as fast as possible.
  • Easy to use: Simple API to make your own experiments really easy and fast.

Examples

You can see more examples in the examples folder.

Test it!

Install from cargo repositories

It is necessary to have rust language installed (you can install from rustup.rs)

cargo install torophy --examples

if you have ~/.cargo/bin in PATH you only need to run the example by its name.

From sources

git clone https://github.com/lemunozm/torophy.git
cargo run --example basic --release

You can change basic name for any other example name found in the examples folder.

Contribute!

Any help is welcome! If you have any awesome idea for a new experiment or feature, please, create an issue or a pull request.

Commit count: 28

cargo fmt