Quadruped Ground-Reaction Force QP (2D)
Interactive 2D whole-body-control demo: solve the per-cycle quadratic program that distributes ground-reaction forces across a quadruped's stance feet, watch the exact friction-cone projection happen live in its native 2D (normal-force vs tangential-force) diagram.
Whole-body controllers for legged robots don't just plan joint motions — every cycle they also solve a small quadratic program that splits a desired net body force and moment across whichever feet are currently on the ground, subject to each foot only being able to push (never pull) and only within its Coulomb friction cone. This 2D simulator draws a quadruped from above, lets you drag or dial in a desired push, lean torque, friction coefficient, and body weight, and lifts individual legs on demand, then solves that contact-force QP live via a minimum-norm equality projection alternated with an exact closed-form projection onto each foot's friction cone. Unlike a 3D scene, the friction-cone projection is shown in its own native 2D plane (normal force vs. tangential force magnitude) for every foot at once, making the geometry of "safely inside the cone" versus "saturated against it" directly visible.
Solve the per-cycle quadratic program that a legged whole-body controller uses to distribute ground-reaction forces across a quadruped's stance feet live in a top-down view, while a second panel plots the exact friction-cone projection in its own native 2D plane, one wedge diagram per foot.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install