{
  "about": "Real pointer crossings between two tiled Chrome windows (native Wayland, Hyprland). The stacked sessions were recorded with the throwaway test page on 2026-11-20 and 2026-11-21, the side-by-side one with the site's own dev aid (?windows=debug) on 2026-11-26. Input for the tests of the placement calculation described in 2026-11-21-ventanas-vecinas-design.md. 'gap' and 'shift' are px as measured per crossing (rounded); 'dt' is ms between leaving one page and entering the other; 'speed' is px/s on the way out. 'shift' is signed as seen from the window that was left: the entered page's corner minus the left page's corner, across the direction of travel. 'expected.offset' is the page corner of the window with the higher id minus that of the window with the lower id; 'expected.within' is how far from it the calculation may be, in px, after any crossing.",
  "sessions": [
    {
      "name": "stacked-1",
      "note": "Recorded with the first version of the page, which took the pointer's position from the leave event itself instead of where it was last seen. The values are still valid input for the calculation.",
      "windows": {
        "cr7w": { "ow": 1266, "oh": 675, "iw": 1266, "ih": 588 },
        "v8w7": { "ow": 1266, "oh": 676, "iw": 1266, "ih": 589 }
      },
      "crossings": [
        { "from": "cr7w", "to": "v8w7", "out": "top", "in": "bottom", "dt": 12, "gap": 18, "shift": 12, "speed": 7085 },
        { "from": "v8w7", "to": "cr7w", "out": "bottom", "in": "top", "dt": 18, "gap": 67, "shift": -3, "speed": 4342 },
        { "from": "cr7w", "to": "v8w7", "out": "top", "in": "bottom", "dt": 11, "gap": 32, "shift": -21, "speed": 8610 },
        { "from": "v8w7", "to": "cr7w", "out": "bottom", "in": "top", "dt": 20, "gap": 58, "shift": -73, "speed": 4558 },
        { "from": "cr7w", "to": "v8w7", "out": "top", "in": "bottom", "dt": 13, "gap": -4, "shift": 11, "speed": 3892 },
        { "from": "v8w7", "to": "cr7w", "out": "bottom", "in": "top", "dt": 16, "gap": 114, "shift": -24, "speed": 8848 },
        { "from": "cr7w", "to": "v8w7", "out": "top", "in": "bottom", "dt": 41, "gap": 36, "shift": -63, "speed": 1078 },
        { "from": "v8w7", "to": "cr7w", "out": "bottom", "in": "top", "dt": 21, "gap": 45, "shift": 22, "speed": 2460 },
        { "from": "cr7w", "to": "v8w7", "out": "top", "in": "bottom", "dt": 276, "gap": 240, "shift": 56, "speed": 866 },
        { "from": "v8w7", "to": "cr7w", "out": "bottom", "in": "top", "dt": 190, "gap": 11, "shift": 376, "speed": 90 },
        { "from": "cr7w", "to": "v8w7", "out": "top", "in": "bottom", "dt": 48, "gap": 130, "shift": 195, "speed": 4661 },
        { "from": "v8w7", "to": "cr7w", "out": "bottom", "in": "top", "dt": 37, "gap": 27, "shift": -12, "speed": 828 }
      ],
      "expected": {
        "after": "every crossing, from the first one on",
        "placement": "v8w7 is above cr7w",
        "offset": { "dx": 0, "dy": -676 },
        "within": { "dx": 0, "dy": 0 }
      }
    },
    {
      "name": "stacked-2",
      "note": "Recorded with the second version of the page (pointer position taken from where it was last seen).",
      "windows": {
        "3690": { "ow": 1266, "oh": 675, "iw": 1266, "ih": 588 },
        "3du8": { "ow": 1266, "oh": 676, "iw": 1266, "ih": 589 }
      },
      "crossings": [
        { "from": "3690", "to": "3du8", "out": "top", "in": "bottom", "dt": 4, "gap": -201, "shift": 14, "speed": 351 },
        { "from": "3du8", "to": "3690", "out": "bottom", "in": "top", "dt": 8, "gap": -43, "shift": 10, "speed": 2405 },
        { "from": "3690", "to": "3du8", "out": "top", "in": "bottom", "dt": 6, "gap": -29, "shift": -14, "speed": 0 },
        { "from": "3du8", "to": "3690", "out": "bottom", "in": "top", "dt": 8, "gap": -27, "shift": 9, "speed": 3032 },
        { "from": "3690", "to": "3du8", "out": "top", "in": "bottom", "dt": 9, "gap": 13, "shift": 6, "speed": 5006 },
        { "from": "3du8", "to": "3690", "out": "bottom", "in": "top", "dt": 7, "gap": 103, "shift": 2, "speed": 12395 },
        { "from": "3690", "to": "3du8", "out": "top", "in": "bottom", "dt": 8, "gap": 47, "shift": 13, "speed": 6338 },
        { "from": "3du8", "to": "3690", "out": "bottom", "in": "top", "dt": 23, "gap": 92, "shift": 10, "speed": 4851 },
        { "from": "3690", "to": "3du8", "out": "top", "in": "bottom", "dt": 39, "gap": 46, "shift": -55, "speed": 3261 },
        { "from": "3du8", "to": "3690", "out": "bottom", "in": "top", "dt": 13, "gap": 75, "shift": -1, "speed": 7780 },
        { "from": "3690", "to": "3du8", "out": "top", "in": "bottom", "dt": 14, "gap": 96, "shift": -7, "speed": 7083 },
        { "from": "3du8", "to": "3690", "out": "bottom", "in": "top", "dt": 14, "gap": 44, "shift": 0, "speed": 3877 },
        { "from": "3690", "to": "3du8", "out": "top", "in": "bottom", "dt": 27, "gap": -9, "shift": -222, "speed": 0 }
      ],
      "expected": {
        "after": "every crossing, from the first one on",
        "placement": "3du8 is above 3690",
        "offset": { "dx": 0, "dy": -676 },
        "within": { "dx": 0, "dy": 0 }
      }
    },
    {
      "name": "side-by-side-1",
      "note": "Recorded with the site's dev aid. Every crossing was fast. The expected placement is not what the site believed: it is where Hyprland said the two windows were (hyprctl clients: x 9 and x 965, both y 428, both 946 x 1003; gaps_in 4, border 1, so 10 px between them). How far apart the windows are is the one thing a crossing measures badly: the calculation was between 948 and 958 px during this session, against the real 956. 12 px is half the width of a ring on the hero's floor.",
      "windows": {
        "7w0q7ma0": { "ow": 946, "oh": 1003, "iw": 946, "ih": 916 },
        "1wv0v5xf": { "ow": 946, "oh": 1003, "iw": 946, "ih": 916 }
      },
      "crossings": [
        { "from": "7w0q7ma0", "to": "1wv0v5xf", "out": "right", "in": "left", "dt": 2, "gap": 12, "shift": 8, "speed": 7326 },
        { "from": "1wv0v5xf", "to": "7w0q7ma0", "out": "left", "in": "right", "dt": 2, "gap": 2, "shift": -1, "speed": 4008 },
        { "from": "7w0q7ma0", "to": "1wv0v5xf", "out": "right", "in": "left", "dt": -1, "gap": 10, "shift": 1, "speed": 8618 },
        { "from": "1wv0v5xf", "to": "7w0q7ma0", "out": "left", "in": "right", "dt": 5, "gap": -22, "shift": 4, "speed": 4093 },
        { "from": "7w0q7ma0", "to": "1wv0v5xf", "out": "right", "in": "left", "dt": 11, "gap": 0, "shift": 4, "speed": 5111 },
        { "from": "1wv0v5xf", "to": "7w0q7ma0", "out": "left", "in": "right", "dt": 2, "gap": 15, "shift": 0, "speed": 6887 },
        { "from": "7w0q7ma0", "to": "1wv0v5xf", "out": "right", "in": "left", "dt": 3, "gap": 9, "shift": 1, "speed": 3449 },
        { "from": "1wv0v5xf", "to": "7w0q7ma0", "out": "left", "in": "right", "dt": 3, "gap": -6, "shift": 1, "speed": 4281 },
        { "from": "7w0q7ma0", "to": "1wv0v5xf", "out": "right", "in": "left", "dt": 1, "gap": 9, "shift": 0, "speed": 10778 }
      ],
      "expected": {
        "after": "every crossing, from the first one on",
        "placement": "7w0q7ma0 is to the left of 1wv0v5xf",
        "offset": { "dx": -956, "dy": 0 },
        "within": { "dx": 12, "dy": 0 }
      }
    }
  ]
}
