mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
[PR #224] Feature: Driver Chase Cam View with Dashboard HUD #232
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/f1-race-replay#232
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/224
Author: @darsh-shah4548
Created: 2/7/2026
Status: 🔄 Open
Base:
main← Head:feature/driver-chase-cam📝 Commits (2)
3e49748Add tyre strategy timeline panel (resolves #95)a1792ceAdd driver chase cam view with smooth top-down camera tracking📊 Changes
5 files changed (+1167 additions, -12 deletions)
View changed files
📝
main.py(+1 -0)📝
src/arcade_replay.py(+3 -1)📝
src/f1_data.py(+64 -0)📝
src/interfaces/race_replay.py(+377 -11)📝
src/ui_components.py(+722 -0)📄 Description
Summary
Vafter selecting a driver on the leaderboardCamera2Dwith sub-frame interpolation between 25 FPS data frames and heavy heading smoothing for butter-smooth rendering at any playback speedESCorVexits back to normal viewTechnical Details
Camera2Dfor world-space (track + cars),default_camerafor screen-space HUD overlayframe_indexis finalized inon_update, ensuring camera and rendered cars use identical frame data (no 1-frame desync)arcade.Textobjects for all HUD elements, reduced track point density for chase cam renderingDriverInfoComponent(distance / 10.0 / 55.56at 200 km/h reference speed)Files Changed
src/interfaces/race_replay.pysrc/ui_components.pyChaseCamHUDComponentclass + 1 help entry — appended at endZero existing contributor code deleted or overwritten. All modifications are strictly additive: new imports, tuple extensions, guard clauses in key handlers, and a popup height increase (+20px) to fit the new help entry.
Screenshots
Test plan
V— verify camera zooms into the driverVorESCto exit — verify normal view returns exactly as beforeHto confirm "V - Chase Cam (select driver)" appears in controls help🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.