Skip to content

This program simulates elastic collisions of balls in a boxed area.

License

Notifications You must be signed in to change notification settings

dadul96/ElasticCollisionSimulation

Repository files navigation

ElasticCollisionSimulation

This program simulates elastic collisions of balls in a boxed area. For more information on this topic see Wikipedia.

Installation

There is no installation required. Just download the ElasticCollisionSimulation.exe (from Releases) and run the simulation. When executing the program for the first time, a config.ini file will be created in the same folder. At the next program start the config settings are loaded from this file. The config file allows following settings:

  • Background color
  • Ball count
  • Ball radius
  • Ball velocity
  • Ball color

Built With

Note

The SFML-Library was build for Visual Studio 2019 and 32bit target systems. If you are using other versions of VS you might need to change the library in the dependencies-folder.

Author

Daniel Duller - dadul96

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • Inspired by Oscar Villarreal - oscardve
  • Screen-GIF recorded with - ShareX