Framework for generating geometrical animations using Python