Have a look at Shahriar Shahrabi's experiment with Compute Shaders in Unity.
Shahriar Shahrabi has recently shared his experiment with procedural paintings based on a genetic algorithm made in Unity 3D with the help of Compute Shaders. The work was inspired by similar experiments from Anastasia Opara.
What is the genetic algorithm? The developer described it as a search operation that is all about evolution. This algorithm is looking for the best answer to a problem. It doesn't know the answer but it can tell how fitting a given answer is. Basically, the algorithm finds an answer with the highest fitness score based on a function you define.