This is a random 3D racecourse generator. The map avoids crashing into itself and continuously generates a random course until the size restraint is met or there is no way to continue generation of the course without crashing into itself.
Modeling the map sections - April 3