Morph constructor

Morph(
  1. RoundedPolygon start,
  2. RoundedPolygon end
)

Creates a Morph between the start and end polygons.

The mapping between the two shapes is computed once, here, so a Morph should be created ahead of time and reused across frames rather than rebuilt for each value of progress.