1. A computer-readable medium containing computer-executable code for performing a method of deforming a shape comprising a boundary polygon and a local area within the boundary polygon, the method comprising: receiving an input for deforming the shape; identifying a first plurality of coordinates associated with vertices on the boundary polygon of the shape; identifying a second plurality of coordinates associated with vertices in the local area of the shape; deforming the shape based on the input to generate a deformed shape, wherein the first plurality of coordinates and the second plurality of coordinates are preserved during deforming the shape.