References

Computational Geometry >

Minimum Square Covering

INPUT: A rectilinear polygon represented by a list of every other corner. Move the blue circles to change the polygon.

OUTPUT: A smallest set of squares whose union is the polygon.

TEST CASES:

CONTROLS:

  • Remove a point by dragging it over the left or top border.
  • Save your configuration by copying the .
  • then right-click to save the image:
  • ;
  • Remove all points by clicking .
  • .
  • Automatically find the minimum covering
Points: