🚗 Autonomous Systems: Sense-Plan-Act Simulator (2D)
2D top-down sense-plan-act loop: a lidar fan of rays finds obstacles, a reactive controller steers the vehicle around them. Tune sensor range, steering gain, speed and obstacle density.
This 2D companion drives the same lidar-fan sense-plan-act loop as the 3D original, viewed from directly above: a vehicle runs an elliptical track while a fan of seven virtual lidar rays scans ahead for obstacles, and a reactive controller converts what the rays see into a lateral steering offset — the same avoidance formula, just rendered on a flat canvas instead of an orbitable WebGL scene.
2D top-down sense-plan-act loop: a lidar fan of rays finds obstacles, a reactive controller steers the vehicle around them. Tune sensor range, steering gain, speed and obstacle density.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install