Particle Tracker — Object Tracking Sandbox
A physics sandbox demonstrating how object detection and tracking algorithms work — with bounding boxes, persistent IDs, trajectory trails, and occlusion handling.
How It Works
Particles bounce around with realistic physics. The "detector" draws bounding boxes each frame (with simulated misses), while the "tracker" maintains persistent IDs and trajectory trails — even through occlusion.
| Control | Action |
|---|---|
| Click canvas | Spawn a new particle |
| Drag the wall | Move the occlusion wall to test track persistence |
| Gravity slider | Adjust gravity (0-2) |
| Friction slider | Adjust friction |
| Toggles | Show/hide detection boxes and trajectory trails |
| Pause / Clear | Pause simulation or remove all particles |
The Concept
Real-time object tracking combines per-frame detection (e.g., YOLO) with cross-frame association (e.g., DeepSORT). The key challenge is maintaining identity through occlusion and detection failures — exactly what the draggable wall demonstrates here.