Thanks for the comment. I used a cellular automaton to generate ore. Here a pretty nice video which explains the work of the cellular automaton
youtube.com/watch?v=v7yyZZjF1z4