For one of my own projects I created a map-generator for biomes. Now that project stopped, I thought maybe minetest can use it for biome generation. For this, I am willing to convert it to c++.
Here are some properties:
1. For each integer (x, y) coordinate it will give a number. (Normal distribution). It could be increased to x, y, z if nessesary.
2. Tiles in the same biome will give the same number.
3. It is deterministic and reproducable.
4. The order of generation does not matter.
5. Constraint: The base size of the biomes must be a power of 2 (2^N). (in the example it is 2^2)
6. Each biome can be next to any other biome.
7. Potential problem: It cannot determine that it is close to another biome.
Here is a map as an example
##############################
##############################
##############################
##############################
##############################
##############################
##############################
##############################
##############################
##############################
##############################
##############################
##############################
##############################
##############################
##############################
##############################
##############################
##############################
##############################
If there are more questions, please ask them: