The inspiration behind all invention, be it mechanical or artistic is largely shrouded in the mystery of individual mindset.
Arguably, any human creation is the manifestation of certain conditions. For a piece of music it might be the end of a relationship. For a painter it might be the scene out of a window.
Imagine those conditions were implanted by a computer code? An algorithm.