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.
- Host: GitHub
- URL: https://github.com/jam643/bouncingballsim
- Owner: jam643
- Created: 2018-08-25T19:04:59.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T07:51:14.000Z (over 3 years ago)
- Last Synced: 2025-03-05T10:47:04.259Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 10.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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).

## 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`