orbit method
Implementation
void orbit(Point origin, double arcWidth, double arcHeight, double degrees) {
double radians = degrees * (math.pi / 180);
x = origin.x + arcWidth * math.cos(radians);
y = origin.y + arcHeight * math.sin(radians);
}
void orbit(Point origin, double arcWidth, double arcHeight, double degrees) {
double radians = degrees * (math.pi / 180);
x = origin.x + arcWidth * math.cos(radians);
y = origin.y + arcHeight * math.sin(radians);
}