Home

Awesome

<!-- This is written for GitHub Flavored Markdown. See: https://github.github.com/gfm/ -->

PlayRho

linux macos windows API Documentation CodeQL Coverage Status latest packaged version(s) Ask questions at StackOverflow with the tag playrho

A way to play with physical behaviors like the conservation of momentum.

Overview

PlayRho is a real-time oriented, platform independent, physics engine and library. It's currently best suited for interactive 2-D games or demos. The project's name is the composition of the verb play with the noun rho, where rho is the Greek letter often used to represent physical quantities like momentum.

PlayRho started off as a port by Louis Langholtz of the Box2D 2.3.2 physics engine to "modern C++". It's evolved into a derivative work by Louis and other contributors to the code base. Like its predecessor, PlayRho is also licensed under a Zlib License. Many other open source physics engines exist, like: Bullet Physics and Chipmunk.

The PlayRho library component itself requires only a standards compliant C++17 compiler and standard library implementation. It's continuous integration backed and unit test proven to compile and work on at least Linux, macOS, and Windows. See the status badges above for up-to-date status of builds, tests, documentation, code-security, and more.

By design, new development is done in the default/master branch, merged in by pull requests, and then possibly backported to a release branch if not API breaking. While the master branch is intended to always be buildable and runnable, its interface is not meant to be stable and it's not meant for use unless you're specifically looking to help develop this project. For use in projects, choose from a more stable tagged release or a release branch.

General Goals

Additional Resources: