Skip to content

A simple 2d physics simulation in rust using sdl2.

Notifications You must be signed in to change notification settings

ggielly/suicideballs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

suicide balls

a simple 2d physics simulation in rust using sdl2.

suicide balls

how to run

  • clone the repository
  • run cargo run

controls

  • up arrow: increase bounciness
  • down arrow: decrease bounciness
  • g: toggle gravity mode (vertical / centripetal)
  • +/-: increase / decrease the number of ball to generate
  • esc: quit the application

Licence

Under the MIT licence.

About

A simple 2d physics simulation in rust using sdl2.

Resources

Stars

Watchers

Forks

Languages