https://github.com/mwdle/bouncelab
BounceLab - A configurable and interactive graphical simulator for various shapes in 2D physical space.
https://github.com/mwdle/bouncelab
2d animations bounce-animations box2d configurable cplusplus interaction physics qt shapes simulation
Last synced: about 2 months ago
JSON representation
BounceLab - A configurable and interactive graphical simulator for various shapes in 2D physical space.
- Host: GitHub
- URL: https://github.com/mwdle/bouncelab
- Owner: mwdle
- License: other
- Created: 2023-12-12T07:07:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-21T01:59:56.000Z (almost 2 years ago)
- Last Synced: 2025-01-11T14:18:53.626Z (over 1 year ago)
- Topics: 2d, animations, bounce-animations, box2d, configurable, cplusplus, interaction, physics, qt, shapes, simulation
- Language: C++
- Homepage:
- Size: 5.29 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# BounceLab
A configurable and interactive graphical simulator for various shapes in 2D physical space.
## Table of Contents
* [Description](#bouncelab)
* [Features](#features)
* [License](#license)
* [Disclaimer](#disclaimer)
## Features
* Configurable Shapes
* Shapes are randomly mixed by default, but can be overridden to circles, rectangles, or triangles
* Triangles are currently broken
* More shapes are coming soon
* Shape density and size are configurable within reasonable limits
* Support for up to 300 shapes in the simulation at one time
* Optimizations coming soon for better performance with high shape counts
* Configurable Physics
* Configurable world friction
* Configurable gravity
* Configurable world collision elasticity
* Keyboard Controls
* Using the arrow keys will move all shapes in the direction of the pressed keys
* The shapes will still be affected by all physical factors such as collision elasticity, shape size, and shape density, all of which may affect and/or limit control over the shapes
* Configurable Colors
* Colors are random by default, but can be overridden for shapes and the background
* Mouse Controls Coming _Eventually_
## Other Info
This program was implemented using QT and Box2D libraries in C++. It can be compiled using qmake or a program such as QT Creator.
## License
This project is licensed under the GNU General Public License v3.0 (GPL-3.0). See the [LICENSE](LICENSE.txt) file for details.
## Disclaimer
This repository is provided as-is and is intended for informational and reference purposes only. The author assumes no responsibility for any errors or omissions in the content or for any consequences that may arise from the use of the information provided. Always exercise caution and seek professional advice if necessary.