ShadowBall

See the space, not just the ball.

Shadow Ball reads where every player stands and shows who controls the dangerous space, where each player could have been, and what to change at half-time. Free, in your browser.

space your team controls space they control best move the model finds ·

Three ways to use it

Tactics board

Pick two LaLiga 2026/27 sides, a formation, a style and the eleven. Freeze a moment (build-up, high press, mid-block, final-third attack, a ball lost high, a low block) and drag players and the ball, or play the full 90 minutes.

Open the tactics board
  • Share of the dangerous space you own or deny
  • Rest defence: what you would still hold if the ball were lost now
  • The three single moves worth most, and a four-player unit move to try
  • A full match with live stats, best positions and a half-time suggestion

Match replay

Fifteen minutes of a real match (open data from Metrica Sports, players shown by number) as a bench would see it: the live pitch, the Shadow pitch with each player's best position, pressing traps, fatigue, and from the second half a plan built from the first.

Watch the replay

Your own match

Every LaLiga 2026/27 side is ready on an empty board. Pick your team and the opponent, a formation, a playing style and the players you like, then kick off: 2 × 45 minutes played in your browser. At half time it shows where the model wanted your players and which formation and style would suit the second half.

Play a match
Have video of your own game?
  1. python run.py video frame match.mp4, then mark four pitch points on the calibration page (the picture stays in your browser)
  2. python run.py video track match.mp4 --calib calib.json and the commands it prints
  3. Open the clip.json it writes in the replay

What the numbers mean

For every spot on the pitch the model asks who would get there first, then weights the spot by how often the ball reaches the box from there. Your share of that weighted space is space owned with the ball and space denied without it.

Does it matter? When the defending side denies the most space, attackers reach the final third within 10 seconds far less often:

Final third reached within 10 s, high vs low space denied
MatchHigh denialLow denial
Open game 127.3%38.0%
Open game 228.1%43.7%
Open game 315.3%24.6%
Competition match20.8%30.9%

What it cannot do yet