A collision simulator. The collisions are simple. Two balls moving towards each other will collide according to their properties and the settings of the user.
In classical mechanics there are three types of collisions: elastic, inelastic, and totally inelastic.
First install raylib
Then within the directory for Botsen
mkdir build && cd build
cmake ../src
make -j
./Botsen
botsen.mov
- Add support for elastic collisions
- Add support for inelastic collisions
- Add support for totally inelastic collisions
- Allow user to specify collision type before beginning collision
- Allow user to 'throw', using mouse, balls at one another to cause collision
- Keep balls within the frame and have them bounce of the sides