neck.x = centerX + (head.width / 2) * Math.cos(angle); neck.y = centerY + (head.height / 2) *Math.sin(angle);