drag to pan · scroll to zoom

Gift Wrapping: Minimal Surface & Packing Math

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.