The ball simulation, but in python. Also has a speed control, different colours and you add the balls. This implementation uses raylib.
This program uses Poetry.
Use the command poetry install
and poetry run python -m simulation
to run.
- Left Click - Add one ball
- Right Click - Add ten balls
- 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.