how to create 2d flat animation