1. A method comprising: determining a two dimensional variable indicating a first change of a surface of a first object represented in an image, the first change occurring during a movement of the first object; determining a three dimensional variable indicating a second change of a vertex associated with the first object, the second change occurring during the movement of the first object; generating, by a processor, a model comprising the two dimensional variable and the three dimensional variable; and applying the model to a second object to animate the second object.