iamtomshaw/f1-race-replay — explained in plain English
Analysis updated 2026-06-26
Replay any Formula 1 race with animated driver positions and a live leaderboard to study race strategy and overtakes.
Visualize qualifying sessions with telemetry overlays showing speed, gear, throttle, and brake data for each driver.
Click on a driver in the leaderboard to highlight their path on track and pull up their real-time telemetry.
Study Safety Car deployments and their effect on race positions using the app's simulated Safety Car positioning.
| iamtomshaw/f1-race-replay | python-attrs/attrs | aidlearning/aidlearning-framework | |
|---|---|---|---|
| Stars | 5,779 | 5,780 | 5,773 |
| Language | Python | Python | Python |
| Setup difficulty | easy | easy | moderate |
| Complexity | 2/5 | 2/5 | 3/5 |
| Audience | general | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
FastF1 downloads session data from the F1 feed on first run and caches it locally, so the initial replay takes longer while data downloads.
F1 Race Replay is a Python application that plays back Formula 1 race events as an animated visualization on your screen. It pulls real telemetry and timing data from the FastF1 library, which accesses the official F1 data feed, then renders a top-down view of the track with each driver's position moving in real time as the race progresses. The visualization includes a live leaderboard showing driver positions and tyre compounds, a lap and time counter, and markers for drivers who retire from the race. Interactive controls let you pause, rewind, fast forward, and change playback speed using either keyboard shortcuts or on-screen buttons. You can click on drivers in the leaderboard to highlight them on track and pull up their telemetry data, including speed, gear, and DRS activation status. The app also models Safety Car deployments. Because the F1 API does not provide GPS coordinates for the Safety Car itself, the application simulates its position by placing it roughly 500 meters ahead of the race leader on the track. Visual cues show the three phases of a Safety Car period: deploying from the pit lane, running on track, and returning to the pits. Sessions beyond race replays are also supported. Qualifying sessions can be replayed with telemetry overlays showing speed, gear, throttle, and brake over the lap. Sprint sessions and sprint qualifying work through additional command-line flags. A graphical menu lets you pick the year and round without typing commands. Getting started requires Python 3.11 or later and a few dependencies, installed via pip. The FastF1 cache folder is created automatically on first run, storing downloaded session data so repeat runs load faster. The project is actively developed, with a roadmap file listing planned features.
A Python app that replays Formula 1 races as animated top-down visualizations using real telemetry data, with a live leaderboard, interactive playback controls, and driver telemetry overlays.
Mainly Python. The stack also includes Python, FastF1.
The explanation does not mention the license terms.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly general.
This repo across BitVibe Labs
Verify against the repo before relying on details.