Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 557 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 557 Bytes

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