Inverted pendulums are a classic example used when teaching about PID controls. I built a physics simulation and PID controller in the browser. It uses RK4 integration for the physics for precision and efficiency. This simulation can be used to do hands-on teaching about PID controllers.
This is a project that I completed entirely myself.