Procedural racetrack generation in Javascript
I've created a procedural racetrack generator, here:
http://static.opengameart.org/procgen/track.html
Relevant JS:
http://static.opengameart.org/procgen/procgen_track.js
This code is CC0, so feel free to use it however you see fit.