Circle rotation and translation based upon generating sin waves