Played with https://github.com/Unity-Technologies/ml-agents
I fed a cat line art and let the agents to learn the path from the middle of the texture. After a few hours they are able to go within the line xD
Tried another random cat generator without machine learning xD