Gift Wrapping: Minimal Surface & Packing Math
Interactive 2D blueprint of the real minimum-wrapping-paper formula for a box, plus a genuine 2D shelf bin-packing visualization — adjust box dimensions, box count and container size to watch paper area and packing utilization recompute live.
The minimum rectangle of paper needed to wrap a box with no gaps has a provable formula, and fitting boxes into a container is the real, NP-hard bin-packing problem solved in practice with heuristics. This 2D view draws a technical blueprint of the box's unrolled net with live dimension readouts, and a genuine shelf-packing (NFDH) algorithm laying rectangles into a container — drag to pan, scroll to zoom, and click a placed rectangle to exclude it and watch the packing adapt.
A 2D blueprint of the real minimum-wrapping-paper formula for a box, plus a genuine 2D shelf bin-packing algorithm fitting rectangles into a container.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install