HW7 part B: animation

Signed-off-by: fei <1450622282@qq.com>