Random Procedural Generation

I am wondering if anyone has any idea on how to do Procedural generation of maps in Javascript or if anyone would be willing to try and make such a script.


I have found one random map script, but it does not work well or with most tilesets...


EDIT:


so I have found some algorithms that render such feats of awesome ( http://ondras.zarovi.cz/algo/) and wonder if combining a type of tile replacement of symbols would be possible..
There it is: Click here
Does not work. @Lantiz


I have tried to run it with a few not default tilesets and it breaks. Also it has troubles running with yanfly stuff. Would require an absurd amount of modding to get working right.
*cough* No one? 🙁
Really...no one?

Original thread: https://forums.rpgmakerweb.com/threads/random-procedural-generation.56843/