Shape correspondence
Each position on the starting outline needs a meaningful counterpart on the ending outline. For polygon-based CSS shapes, matching vertex counts and consistent vertex order produce the most predictable transition. For SVG paths, compatible command sequences and subpaths are important. Adding points can preserve an outline while giving the two shapes matching structures.