
            x: (touches[0].clientX + touches[1].clientX) / 2,
            y: (touches[0].clientY + touches[1].clientY) / 2
          }
        }

        // Handle touch start
        const handleTouchStart = (e) => {
          if (e.touches.length === 2) {
            e.preventDefault()
            lastTouchDistance = getDistance(e.touches)
          }
        }

        // Handle touch move (pinch in/out for zoom)
        const handleTouchMove = (e) => {
          if (e.touches.length === 2) {
          