Skip to content

LeszczyTom/2D_Physics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D_Physics

2D physics, built to learn rust.


What to expect

  • Balls can collide with obstacles.
  • Balls can collide with other balls.
  • Left click can spawns new balls or move ball.
  • Right click can attracts all the balls on the cursor or delete a ball.

How to use

If you want to compile it by yourself, you need to install Rust and Cargo.

Then:

$ git clone https://github.com/LeszczyTom/2D_Physics.git
$ cd 2D_Physics
$ cargo run

Or you can download the latest release.


Screenshots

Walls: walls Zero gravity: gravity Left click: spwan_move Right click: right_click

Dependencies