Formula Viz Banner

WhyFormula Viz Iconformula-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

Formula Viz Monthly Analytics
Formula Viz Architecture

Python Pipeline

1. Data Processing module structure

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
2. 3D Rendering module structure

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
3D Rendering Preview
3. Thumbnail Creation module structure

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
Max vs All Thumbnail Example
4. Widget Creation module structure

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
Formula Viz Widget
5. Video Processing module structure

All elements are combined into one video for upload.

  • Widgets are combined with rendered video
  • Race timer
  • Background music
6. Automatic YouTube Upload module structure

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