rve = tile.q.neighbors[i].curve;
            highlightCurve(curve, enable, didJump);
            if (driver.isRunning()) {
                break; // just highlight the first one
            }
        }
    }

    function getQuantumColor(q) {
        if (isSegment(q)) {
            return getSegmentColor(q);
        } else {
            q = getQuantumSegment(q);
            if (q != null) {
                return getSegmentColor(q);
            } else {
                return "#000";
            }
        }