Generate an arbitrary number of Racing Track Images to use in Machine Learning or else.
From pure grayscale to rgb/kerbs/starting grid
python main.py --n-tracks 2 --width 512 --height 512 --rgb y --kerb y --starting-grid y
--n-tracks : Number of tracks to generate
--width/--height : Width/Height of images in pixel
--rgb : Rgb or Grayscale
--kerb : To draw kerbs
--starting-grid : To draw starting-greed
Procedural race track generation with Python.
Blog post with more insights here.
Following the article found here.
The tracks obtained by my implementation are far from ideal, but it might be a good starting point for further work.