Porting original circle animation code to the new class based system.