Functions for objects moving in a circle