As always I just generated the track, a new one every race. I had a bigger scope envisioned, but I'm pleased with what I managed to get done.
Thanks for the feedback!
Thanks, the generator is quite simple: I generate points that are 100 units "up" from the previous point in a list, then I shift the point a random amount sideways to create the turns, then I use all these points to create a spline curve (to smooth it out). From that curve I generate more points, randomize a width for every section and then I just draw everything using shapedrawer.
Oh, and I create a chain body in box2d for the walls.
Source code is here: https://github.com/lavaeater/created.by.a.robot.takeover