  e.preventDefault()
            const preview = document.getElementById('preview')
            if (!preview.contains(e.target)) {
              return
            }

            const newDistance = getDistance(e.touches)
            const delta = (newDistance - lastTouchDistance) * 0.01
            lastTouchDistance = newDistance

            const center = getTouchCenter(e.touches)
            const rect = preview.getBoundingClientRect()
            const touchX = center.x - rect.left
            const to