block by gabrielflorit 70bace15a196959075ccc2effbeb6064

Speedy Racer

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, as displayed on the line chart.

See my previous work:

script.js

index.html

calculateMetrics.js

chart.js

constants.js

dist.css

drawBoard.js

drawCars.js

drawTrack.js

drivers.js

getAngle.js

getRandomArbitrary.js

moveCar.js

package.json

style.styl