A demonstration of an object literal with an animation method