2D C++ Physics Engine

Created on: July 2022
Team size: 1
Time frame: 1 Month
Tools used: C++

This is a 2D physics engine made in C++ with no libraries. It was made during the physics engine module of the SAE Institute.

It has :

At first the demo scene was made in SFML. But recently, I ported it to raylib so that I could compile the project to a web version with Emscripten. You can left click to place circles and right click to place squares.

You can read the project's documentation on Read the Docs and see the source on GitHub.

Downloading...

What I Learned

Code Reviews

The project was also featured in 3 code review videos made by The Cherno, who was an engine programmer at Electronic Arts for 4 years. They accumulated over 318'000 views as I'm writing this. In these, The Cherno looks at my code and makes comments on the various things that could be improved.