Usage

Click on selected polygon to move

If polygons do not intersect there are shown two lines: blue is a normal obtained by SAT, green is separating line found by naive algorithm.

Keys

  • 1 -- select poly 1
  • 2 -- select poly 2
  • r -- rotate left selected
  • R -- rotate right selected
  • s -- scale down selected
  • S -- scale up selected
  • g or G -- new selected