An interactive 2D physics simulation built in C++ that visualizes kinetic theory and thermodynamic principles in real-time.
- Real-Time Particle Kinematics: Simulates elastic collisions, gravity, and momentum using custom 2D physics.
- Interactive Dashboard: Powered by Dear ImGui to adjust system states dynamically.
- Direct State Control: Force-set exact values for Temperature (T), Pressure (P), and Internal Energy (U) and watch the gas particles automatically scale their velocities to match.
- Live Telemetry: Continuously calculates derived quantities including RMS Speed, Average Kinetic Energy, and Mean Free Path.
- Environment Adjustments: Scale the container dimensions, tweak particle mass, alter the time scale, or adjust collision restitution on the fly.
- C++17 Compiler
- CMake (3.10+)
- GLFW (Window management and OpenGL context)
- Dear ImGui (Immediate mode UI)
Ensure you have CMake and your preferred C++ compiler installed (e.g., MSVC, GCC, or Clang).
- Clone the repository:
git clone [https://github.com/YOUR_USERNAME/thermodynamics-simulation.git](https://github.com/YOUR_USERNAME/thermodynamics-simulation.git) cd thermodynamics-simulation
- Disclaimer: Portions of the code and documentation in this project were generated and refined with the assistance of AI tools.