
Why
formula-viz?
In Formula 1 Qualifying sessions, drivers compete for starting position in the race. However, the drivers are on the track at different times, making it hard to compare their performances.
formula-viz is an automated, end-to-end application which takes one or several configuration files as inputs then generates and automatically uploads 4k videos to Youtube as quickly as 3 hours after the qualifying session occurs.
50,000+ Monthly Views


Python Pipeline

Official F1 telemetry data is fetched, processed, and prepared for visualization
- Telemetry data interpolation for smooth transitions
- Car animation data generation (position, wheel rotation, steering angle)
- Identification of straights for fast-forwarding sequences

3D visualization is built in stages to simulate a merged qualifying session.
- Track generation from track points, with alternating curbstones calculated based on curve angles
- Driver objects added and animated frame by frame by loading team-specific 3D car models and helmets
- Status track overlay and formula-viz watermark integration


Eye-catching thumbnails are automatically generated using the qualifying results.
- Car positioning based on the session results
- Image mode determined by config, supporting 0, 1, or 2 driver images


Custom UI elements with additional context and information, generated frame-by-frame.
- Real-time throttle and braking indicators
- DRS activation status visualization
- Dynamic sector time displays
- Team color-coded driver tags


All elements are combined into one video for upload.
- Widgets are combined with rendered video
- Race timer
- Background music

Once processing is complete, videos are automatically uploaded to YouTube with metadata based on configuration file parameters.
- Title from configuration file
- Tags and category assignment
- Scheduled publishing time determined by config