An open API service indexing awesome lists of open source software.

https://github.com/jam643/bouncingballsim

simulation of bouncing balls in gravity field.
https://github.com/jam643/bouncingballsim

Last synced: 8 months ago
JSON representation

simulation of bouncing balls in gravity field.

Awesome Lists containing this project

README

          

# Bouncing Ball Simulator
Simple real-time simulation of elastic ball collisions in C++ using SFML to animate. My goal with creating this was to learn C++, cmake, and conan.

You can interact with the balls (left click = repulsive force, right click = attractive force).

![gif](bouncing_balls.gif)

## Installation (linux)
* Prereqs: cmake, conan, pipenv
* `pipenv shell`
* `pipenv sync`
* `cd build/`
* `conan install ..` (to use a specific profile add `--profile=`)
* `cmake ..`
* `make`
* `./bin/BouncingBalls`