|
|
|
|
|
by eiskalt
3620 days ago
|
|
Yes, this library does not generate random shaped buildings or terrain regions. Instead, it generates them from real geographical data and allows you specify some noise parameters, e.g. : canvas|z16 { grid-cell-size: 5%; /* affects triangulation*/
max-area: 0.05%; /* affects triangulation refinement */
color-noise-freq: 100000; /* color of each vertex will use this noise value */
ele-noise-freq: 100000; /* height of each vertex will use this noise value*/
color: gradient(#dcdcdc 0%, #c0c0c0 10%, #a9a9a9 50%, #808080); /* color gradient*/
}Also, some objects can be randomly generated for specific place, e.g. trees in forest. I found this idea where you have real geodata as input for randomization more interesting than having yet another planet generator with manual setting of various parameters. |
|