this should have the start of the animation code where I create the atlas
in it