I'm procedurally creating caves using cellular automata but aren't as good as yours, so your code could be really helpful. Any suggestion of good articles on procedural cave generation?
The only one I can suggest off the top of my head is Amit Patel's one, but I use a different method, very briefly described in my post. I'm under the impression that most cave generation methods involve cellular automata and mine does it too, but only for creating individual caves, not the entire map.