if (!isSelected) { return { x: Math.cos(angle) * xRadius, y: Math.sin(angle) * yRadius, } } const horizontal = width / 2 const vertical = height / 2