Wouldn’t It be great if ScaledJS can auto correct itself and make the map as per your Validation Rules? Well, yes recently added a basic version of auto correction that ScaledJS uses and generates the terrains.

However I need to investigate on how I can make sure it doesn’t interfere with the existing algorithm. Currently, It’s working far better than I had expected, I got certain Maps witch awesome rivers and lakes. But I still need to test it a little before I roll out another Release.

Also added Mocha Test Framework and a couple of test cases to help me make sure the code is validated before any push to the branch.