Created animation and added javadoc.