Animation controller of the lamp project