block by veltman 4d1413aa5fd3bb5af1a806c146870031

Smoother polygon transitions

Full Screen

Smooth transitioning US tour in the same vein as this example. Steps:

  1. Compares both shapes and adds evenly-spaced points to whichever polygon has fewer so that both have the same number of points
  2. Picks the winding of the first polygon that minimizes the sum of the squared distances between point pairs

Some possible improvements:

States are preprojected to appropriate State Plane projections and don’t include islands or multipart states (AK, HI, MI).

See also: Jigsaw morphing

index.html