Home▸Robotics & Kinematics▸Container Yard Reshuffle Planner

Container Yard Reshuffle Planner (2D)

Watch a 2D stacking-crane side view retrieve containers from a yard in strict priority order, comparing a greedy destination heuristic against a naive strategy for the classic Container Relocation Problem.

Robotics & Kinematics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-robotics-topic-88 ↗ Open standalone

An automated stacking crane must empty a container yard in a fixed retrieval order, but containers arrive stacked in whatever order the ship unloaded them — so the target container is often buried under others that must be relocated out of the way first. This simulator plays out the real algorithm terminal operators use to decide where each blocking container should go: a greedy heuristic that only relocates onto a stack whose top container will be needed later, so the move never has to be undone. Toggle to the naive strategy to see how many extra relocation moves — and crane time — that single rule saves, tracked live as retrieved count, total relocations, and moves per retrieval.

⚙ Under the hood

Watch a 2D stacking-crane side view retrieve containers from a yard in strict priority order, comparing a greedy destination heuristic against a naive strategy for the classic Container Relocation Problem.

roboticslogisticsalgorithmsport automationoptimization

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)