sequba / h3mapgen-cellular-terrain

Part of the Heroes 3 Map Generator. Module builds terrain shape using cellular automata.
1 stars 0 forks source link

Structure "frequency" measure needed #3

Open sequba opened 7 years ago

sequba commented 7 years ago

We have a way of measuring the black/white percentage (the black_rate function). A way to distinguish large open caves from labyrinth-like structures would be very useful.

sequba commented 7 years ago

Sugestion: count the number of monochromatic 3x3 squares?