Form calculation and animation