john's Avatar


24 Aug, 2019 03:14 AM

Animation of two cars (blue and red dots) racing along a track.

Although the cars move at the same speed, they seem to pull ahead and fall behind at various points during each circuit. This happens because the car taking an inside curve has a temporary advantage over the car taking an outside curve. But in any closed loop, however complex, these factors will balance out causing both cars to cross the finish line at the same time.

The animation is augmented by some novel visualizations which show what portions of the track give an advantage to the red car, and what portions benefit the blue car. The histogram shows the magnitude of that advantage at each point. The arrows show the changing direction of each car.

The network builds the track out of arcs and sine waves and uses my trace node to derive separate paths for the two lanes. In addition to the network and screenshot, I have also attached a movie of the race.



Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • racetrack_screenshot.png 619 KB
  • racetrack.zip 51 KB
  • race6.mp4 136 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

19 Jul, 2021 12:05 PM
13 Jul, 2021 01:04 PM
13 Jul, 2021 04:11 AM
12 Jul, 2021 11:40 PM
12 Jul, 2021 09:17 PM


07 Jul, 2021 02:14 AM
30 Jun, 2021 08:55 PM
30 Jun, 2021 03:32 AM
29 Jun, 2021 12:55 PM
29 Jun, 2021 07:18 AM
20 Jun, 2021 07:19 AM