Moved circle animation into the Java library