block by gabrielflorit 39f173e37a244411b9da7ebb8ad8da05

Better lap timings

Full Screen

Made with blockup

This simulates cars going around the Melbourne, Australia racing track. The circles are moving about three times faster than their real-life counterparts.

The car-circles change speed randomly.

The new feature here (as compared to previous work) is the (somewhat) realistic timing board.

See my previous work:

script.js

index.html

calculateMetrics.js

constants.js

dist.css

drawBoard.js

drawCars.js

drawTrack.js

drivers.js

getRandomArbitrary.js

moveCar.js

package.json

style.styl