implementation of the diamond square algorithm to generate a height map and a biome map
python3 -m pip install -r requirements.txt
python3 height_map_generator/viewer.py [depth] [coef]
depth
number of occurrences of the algorithm (starts to be very long from 8)coef
maximum height difference between two blocks side by side
While the window is open you can use :
p
to smooth the chunku
enable/disable the coloration by heighti
enable/disable the coloration by biome
python3 height_map_generator/discover.py [depth] [coef]
depth
number of occurrences of the algorithm (starts to be very long from 8)coef
maximum height difference between two blocks side by side
While the window is open you can use :
directional arrows
to move around the map and generate a new chunkp
to smooth all the chunksm
to regenerate the current chunku
enable/disable the coloration by heighti
enable/disable the coloration by biome
- rework the display system
- reword code to upgrade general performances
- add a seeding system
- save the current window to an image