Skip to content

The ball simulation, but in python. Also has a speed control, different colours and you add the balls.

Notifications You must be signed in to change notification settings

TheLegendBeacon/ball-sim-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ball-sim-python

The ball simulation, but in python. Also has a speed control, different colours and you add the balls. This implementation uses raylib.

How to run

This program uses Poetry. Use the command poetry install and poetry run python -m simulation to run.

Controls

Mouse

  • Left Click - Add one ball
  • Right Click - Add ten balls

Keyboard

  • Up Arrow - Increases speed by 0.1
  • Down Arrow - Decreases speed by 0.1
  • Left Arrow and Right Arrow - Change colour
  • Delete - Removes all balls.

Showcase

Showcase GIF

About

The ball simulation, but in python. Also has a speed control, different colours and you add the balls.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages