Delivery Drone Router (2D): Ant Colony Optimization
2D top-down Ant Colony Optimization lab: watch pheromone-trail reinforcement converge delivery-drone routes toward shorter multi-stop paths, on a plain canvas built for reading the algorithm.
This 2D companion runs the exact same Ant Colony Optimization algorithm as the 3D version — the τα·ηβ transition rule, evaporation and length-proportional pheromone deposit — on a flat top-down map instead of an orbiting scene, so the pheromone trails and the converging best route are easier to read at a glance.
Real Ant System metaheuristic: each colony's ants build a full delivery tour, pheromone evaporates by (1−ρ) and each ant deposits Q/length on its route's edges, so short routes get reinforced over successive colonies.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install