Optimise the route
A van's eight drops in the order they were booked: Optimise solves the shortest order and the tangled path pulls itself into a clean loop while 38 km and 52 min of savings count up.
LogisticsNo. 4423 variationsFree with an account
Playing on its own
Variation
- The idea
- Reordering stops to save time and distance
- Autoplay
- Eight stops on a map with a tangled path; the cursor clicks Optimise, a thin bar fills while it solves, every vertex slides to its new stop a beat after the last so the path untangles into a loop, the list rows slide into the new order and the saving counts to 38 km and 52 min; Before and After flip between the two routes.
- When you click
- Optimise, then Before and After to compare. Drag a stop in the list to move it, which locks it there; the lock button locks or frees a stop where it is; the next Optimise keeps locked stops in place. Keyboard: Tab to a stop and use the arrow keys to move it, Enter selects it on the map.
- Look
- map path, morph, industrial type
- Variations
- Map, List, Day map
- Files
- index.html, style.css, script.js and prompt.md. No framework, no CDN, works offline.
The prompt and the files
Paste the prompt into Claude, ChatGPT, Lovable or any coding agent to rebuild it in your own product, or take the three files as they are.
Loading the files