Cruise Control PI Lab (2D) — PI Controller & Integral Windup
2D side-view cruise-control PI controller: tune proportional and integral gains, tilt the road grade, and watch a live speed-time chart show overshoot, settling, and integral windup.
This 2D side-view companion drives the same PI-controller physics as the 3D original — proportional plus integral gains, road-grade disturbance, and an anti-windup clamp — through a plain canvas car, dial and bar readout instead of an orbiting 3D scene, so the control-loop behaviour is easier to read at a glance.
Tune Kp and Ki, tilt the road grade, and watch the car's speed overshoot, settle, or wind up — same PI-controller math as the 3D version, rendered as a 2D side view with a live speed-vs-time chart.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install