2024-06-07: Random Map Fun

Ythraverse Home

Gemlog Index

Will be a short update today, but I finished my random map generator algorithm by completing the logic for adding connections between nodes, and then created nearly 200 geomorphs. Well, there's still a few little tweaks to apply, but the core of the generator is 100% functional, and now at the point where it's really fun generating maps with it and seeing what it comes up with:

[                                                                                                                                 ]
[  1 1   1 1   1 1   1 1     1 1 1 1 1 3 1 1 1 1 1             1 1 1             1 1 1     1     1 1 1     1 1 1 1 1 3 1 1 1 1 1  ]
[  1 1   1 1   1 1   1 1     1 8 8 8 1 3 1 8 8 8 1           1 1 1 1 1           1 6 1     1     1 6 1     1 8 8 8 1 3 1 8 8 8 1  ]
[  1 1   1 1 4 1 1   1 1     1 8 8 8 1 3 1 8 8 8 1         1 1       1 1         1 1 1 1 4 1 4 1 1 1 1     1 8 8 8 1 3 1 8 8 8 1  ]
[  1 1   1 1   1 1   1 1 2   1 8 8 8 1 3 1 8 8 8 1       1 1           1 1     2     1           1         1 8 8 8 1 3 1 8 8 8 1  ]
[  1 1   1 1   1 1   1 1 1 1 1 1 1 1 3 3 3 1 1 1 1     1 1               1 1 1 1     4           4     2   1 1 1 1 3 3 3 1 1 1 1  ]
[  1 1   1 1   1 1   1 1 1 1 3 3 3 3 3 1 3 3 3 3 3     1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1           1 1 1 1 2 3 3 3 3 3 1 3 3 3 3 3  ]
[  1 1 4 1 1   1 1   1 1 2 2 1 1 1 1 3 3 3 1 1 1 1     1 1 1 1 1 1 1 1 1 1 1 2 2     4           4     1   1 1 1 1 3 3 3 1 1 1 1  ]
[  1 1   1 1   1 1   1 1 2   1 8 8 8 1 3 1 8 8 8 1       1 1           1 1     1     1           1         1 8 8 8 1 3 1 8 8 8 1  ]
[  1 1   1 1   1 1 4 1 1     1 8 8 8 1 3 1 8 8 8 1         1 1       1 1         1 1 1 1 4 1 4 1 1 1 1     1 8 8 8 1 3 1 8 8 8 1  ]
[  1 1   1 1   1 1   1 1     1 8 8 8 1 3 1 8 8 8 1           1 1 1 1 1           1 6 1     1     1 6 1     1 8 8 8 1 3 1 8 8 8 1  ]
[  1 1   1 1   1 1   1 1     1 1 1 1 1 3 1 1 1 1 1             1 1 1             1 1 1     1     1 1 1     1 1 1 1 1 3 1 1 1 1 1  ]
[            1                     2 2 2 2 2                                               2                       1 2 1          ]
[          1 1 1                       2                                               1 2 1 2 2                 2 1 2 2 2        ]
[          1 1 1             1 1 1 1 1 1 1 1 1 1 1     1 1 1 1 1 1 1 1 1 1 1             1 1 1 1 1 1 1     1 1 1   1 1 1   1 1 1  ]
[          1 1 1             1 1 1 1 1 1 1 1 1 1 1     1   1   1   1   1   1             1 1 1 1 1 1 1     1 1 1 1 1 1 1 1 1 1 1  ]
[      3 3 3 3 3 3 3         1 1 6 3 3 3 3 3 6 1 1     1 1 1 1 1 1 1 1 1 1 1             1 1       1 1     1 1 1   1 1 1   1 1 1  ]
[      3 1 1 1 1 1 3     2   1 1 3 8 8 8 8 8 3 1 1 2 1 1   1   1   1   1   1             1 1       1 1       1       4       1    ]
[  1 1 3 1 1 1 1 1 3 1 1 2   1 1 3 8 8 8 8 8 3 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1   2 1 1 1 1 1 1       1 1   1 1 1 1   1 1 1   1 1 1  ]
[  1 1 3 1 1 1 1 1 3 1 1 1 1 1 1 3 8 8 8 8 8 3 1 1 2 1 1   1   1   1   1   1 1 2 1 1 1 1 1 1       1 1 2 2 1 1 1   1 T 1   1 1 1  ]
[  1 1 3 1 1 1 1 1 3 1 1 2   1 1 3 8 8 8 8 8 3 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1   1 1 1 1 1 1 1       1 1   2 1 1 1   1 1 1   1 1 1  ]
[      3 1 1 1 1 1 3     1   1 1 3 8 8 8 8 8 3 1 1 2 2 1   1   1   1   1   1             1 1       1 1       1               1    ]
[      3 3 3 3 3 3 3         1 1 6 3 3 3 3 3 6 1 1     1 1 1 1 1 1 1 1 1 1 1             1 1       1 1     1 1 1   1 1 1   1 1 1  ]
[          1 1 1             1 1 1 1 1 1 1 1 1 1 1     1   1   1   1   1   1             1 1 1 1 1 1 1     1 1 1 1 1 1 1 1 1 1 1  ]
[          1 1 1             1 1 1 1 1 1 1 1 1 1 1     1 1 1 1 1 1 1 1 1 1 1             1 1 1 1 1 1 1     1 1 1   1 1 1   1 1 1  ]
[        1 1 2 1 2                                                                         1                     2 2 1 2 2        ]
[        2 2 1 1 1                                                                       2 1 2                     1 2 1          ]
[          1 1 1             1 1   1 1 1 1 1   1 1     1 1 1   1 1 1   1 1 1     1 1 4 1 1 1 1 1   1 1     1 1 1     1 1 1 1 1 1  ]
[          1 1 1             1 1   1 1   1 1 4 1 1     1 1 1 4 1 1 1 4 1 1 1     1 1   1 1 1 1 1   1 1     1 1 1 1   1 1 1 1 1 1  ]
[      3 3 3 3 3 3 3           4   4           4       1 1 1           1 1 1     1 1               1 1     1 1   4           1 1  ]
[      3 1 1 1 1 1 3         1 1 4 1 1   1 1   1 1 2     4               4     1 1 1 3 3 3 3 3 3 3 1 1 1 1 1 1   1 1 1 1 1 4 1    ]
[  1 1 3 1 1 1 1 1 3 1 1 1 2 1 1   1 1   1 1 4 1 1 2 2 1 1               1 1   2 1 3 3 3 3 3 3 3 3 3 1 2 2 1 1   1 1 1 1 1        ]
[  1 1 3 1 1 1 1 1 3 1 1 1 2 1       4   4       1 2 2 1 1               1 1 2 1 1 3               3 1 2 1 1 1   1 1   1 1   1 1  ]
[  1 1 3 1 1 1 1 1 3 1 1 2 1 1 1   1 1 4 1 1   1 1 1 2 1 1               1 1   2 1 3 3 3 3 3 3 3 3 3 1 2 1       1 1 1 1 1   1 1  ]
[      3 1 1 1 1 1 3         1 1   1 1   1 1   1 1 2     4               4     2 1 1 3 3 3 3 3 3 3 1 1 1 1   1 4 1 1 1 1 1   1 1  ]
[      3 3 3 3 3 3 3           4                       1 1 1           1 1 1     1 1               1 1     1 1           4   1 1  ]
[          1 1 1             1 1 4 1 1   1 1 4 1 1     1 1 1 4 1 1 1 4 1 1 1     1 1   1 1 1 1 1   1 1     1 1 1 1 1 1   1 1 1 1  ]
[          1 1 1             1 1   1 1 1 1 1   1 1     1 1 1   1 1 1   1 1 1     1 1   1 1 1 1 1 4 1 1     1 1 1 1 1 1     1 1 1  ]
[                                                                                                                                 ]



[                                                                                                                                 ]
[  1 1 1   1 1 1   1 1 1           1 1 1 1             1 1 4 1 1 1 1 1   1 1     1 1 1 1 1   1 1 1 1 1     1 1 1 1 1 1 1 1 1 1 1  ]
[  1 1 1 1 1 1 1 1 1 1 1         1 1     1 1 1 1 1     1 1   1 1 1 1 1   1 1     1 1 1 1 1   1 1 1 1 1     1 3 3 3 3 3 3 3 3 3 3  ]
[  1 1 1   1 1 1   1 1 1       1 1       1       1     1 1               1 1     1 1   1 1   1 1   1 1     1 3 3 3 3 3 3 3 3 3 3  ]
[            1       4       1 1     1   1 1 1   1     1 1 3 3 3 3 3 3 3 1 1     1 1   1 1   1 1   1 1     1 1 1 1 1 1 1 1 1 1 1  ]
[  1 1 1   1 1 1   1 1 1 2 2 1       1       1     1 1 1 3 3 3 3 3 3 3 3 3 1     1 1   1 1   1 1   1 1 2 1     1     1     1   1  ]
[  1 T 1   1 1 1   1 T 1 1 2 1 1 1 1 1 1 1   1 1 1 2 2 1 3               3 1     1 1   1 1 1 1 1   1 1 2 1 1   4     4     4   1  ]
[  1 1 1   1 1 1   1 1 1 1 2 1           1         2 2 1 3 3 3 3 3 3 3 3 3 1     1 1   1 1 1 1 1   1 1 2 2 1   1     1     1      ]
[    4       1               1   1 1 1   1 1 1 1 1     1 1 3 3 3 3 3 3 3 1 1     1 1   1 1 1 1 1   1 1     1 1 1 1 1 1 1 1 1 1 1  ]
[  1 1 1   1 1 1   1 1 1     1   1   1   1       1     1 1               1 1     1 1                       1 3 3 3 3 3 3 3 3 3 3  ]
[  1 1 1 1 1 1 1 1 1 1 1     1 1 1   1       1 1 1     1 1   1 1 1 1 1   1 1     1 1 1 1 1 1 1 1 1 1 1     1 3 3 3 3 3 3 3 3 3 3  ]
[  1 1 1   1 1 1   1 1 1             1 1 1 1 1         1 1   1 1 1 1 1 4 1 1     1 1 1 1 1 1 1 1 1 1 1     1 1 1 1 1 1 1 1 1 1 1  ]
[          1 1 1                     1 1 1                     2 2 2                     1 1 2                     1 2 2          ]
[          2 1 2                     2 1 1                     2 2 1                     2 2 2                     2 2 2          ]
[          1 1 1                       1 1             1 1 1     1 1 1 1 1 1     1 1 1   1 1 1   1 1 1             1 1 1          ]
[          1 1 1                       1 1             1 1 1 1   1 1 1 1 1 1     1 T 1   1 1 1 1 1 1 1           1 1 1 1 1        ]
[          1 1 1                       1 1             1 1   4           1 1     1 1 1   1 1 1   1 1 1         1 1   1 1 1 1      ]
[          1 1 1                       1 1             1 1   1 1 1 1 1 4 1         4       1       1         1 1     1 1   1 1    ]
[  1 1 1 1 1 1 1 1 1 1 1     1 1 1 1 1 1 1         1 1 1 1   1 1 1 1 1           1 1 1   1 1 1   1 1 1     1 1       1 1     1 1  ]
[  1 1 1 1 1 1 1 1 1 1 1     1 1 1 1 1   1 1 1 1 1 2 2 1 1   1 1   1 1   1 1     1 1 1   1 1 1   1 1 1     1 1 1 1 1 1 1 1 1 1 1  ]
[  1 1               1 1             1 1 1 1 1 1 1 1 2       1 1 1 1 1   1 1     1 1 1   1 1 1   1 1 1     1 1 1 1 1 1 1 1 1 1 1  ]
[  1 1               1 1             1 1                 1 4 1 1 1 1 1   1 1       1       1       4         1 1     1 1   1 1    ]
[  1 1               1 1             1 1               1 1           4   1 1     1 1 1   1 1 1   1 1 1         1 1   1 1 1 1      ]
[  1 1 1 1 1 1 1 1 1 1 1             1 1               1 1 1 1 1 1   1 1 1 1     1 1 1 1 1 1 1   1 T 1           1 1 1 1 1        ]
[  1 1 1 1 1 1 1 1 1 1 1             1 1               1 1 1 1 1 1     1 1 1     1 1 1   1 1 1   1 1 1             1 1 1          ]
[          1 2 2                     2 2 1                     2 1 1                     1 1 2                     1 2 1          ]
[          2 2 2                     1 1 2                     2 1 2                     2 1 1                     2 1 2          ]
[  1 1 1   1 1 1   1 1 1     1 1 1   1 1 1   1 1 1     1 1 1 1 1 1               1 1 1 1 1 1 1 1 1 1 1     1 1 1 1 1   1 1 1 1 1  ]
[  1 1 1 4 1 1 1 4 1 1 1     1 1 1 4 1 1 1 4 1 1 1     1 1 1 1 1 1 1 1 1 1       1 1 1 1 1 1 1 1 1 1 1     1 1 1 1 1   1 1 1 1 1  ]
[  1 1 1   1 1 1   1 1 1     1 1       4       1 1     1 1       1 1 1 1 1       1 1               1 1     1 1   1 1   1 1   1 1  ]
[    4       4       4         4   8 1 1 1 8   4       1 1       4     1 1       1 1   6 1 1 1 6   1 1     1 1   1 1 1 1 1   1 1  ]
[  1 1 1   1 1 1   1 1 1 1 1 1 1   1 3 3 3 1   1 1 2 1 1 1     1 1 1   1 1   2 2 1 1   1 3 3 3 1   1 1 1 2 1 1   1 1 1 1 1   1 1  ]
[  1 1 1 4 1 T 1 4 1 1 1 2 2 1 1 4 1 3 3 3 1 4 1 1 1 2 1 1 1 4 1 T 1 4 1 1 1 1 1 1 1   1 3 T 3 1   1 1 1 1 1 1               1 1  ]
[  1 1 1   1 1 1   1 1 1 2 2 1 1   1 3 3 3 1   1 1 1 2   1 1   1 1 1     1 1 1 1 1 1   1 3 3 3 1   1 1 2 2 1 1   1 1 1 1 1   1 1  ]
[    4       4       4         4   8 1 3 1 8   4         1 1     4       1 1           6 1 1 1 6   1 1     1 1   1 1 1 1 1   1 1  ]
[  1 1 1   1 1 1   1 1 1     1 1       4       1 1       1 1 1 1 1       1 1               4       1 1     1 1   1 1   1 1   1 1  ]
[  1 1 1 4 1 1 1 4 1 1 1     1 1 1 4 1 1 1 4 1 1 1       1 1 1 1 1 1 1 1 1 1               1 1 1 1 1 1     1 1 1 1 1   1 1 1 1 1  ]
[  1 1 1   1 1 1   1 1 1     1 1 1   1 1 1   1 1 1               1 1 1 1 1 1               1 1 1 1 1 1     1 1 1 1 1   1 1 1 1 1  ]
[                                                                                                                                 ]


[                                                                                                                                 ]
[  1 1 1 1 1 1 1 1 1 1 1     T 1   1 1 3 1 1   1 T     1 1 1   1 1 1   1 1 1               1               1 1 1 1 1 1 1 1 1 1 1  ]
[  1 3 3 1 1 1 1 1 3 3 1     1 1   1 1 3 1 1   1 1     1 T 1   1 1 1   1 T 1       1 1 1   1   1 1 1       1 1 1 1 1 1 1 1 1 1 1  ]
[  1 3 3 1 1   1 1 3 3 1       4   1 1 3 1 1   4       1 1 1   1 1 1   1 1 1       1 T 1 4 1 4 1 T 1       1 1               1 1  ]
[  1 1 1 1 1   1 1 1 1 1     1 1 1 1 1 3 1 1 1 1 1       4       1       4         1 1 1   1   1 1 1       1 1   1 1 1 1 1 1 1 1  ]
[  1 1 1 1 1   1 1 1 1 1 1 2 1 1 1 1 6 3 6 1 1 1 1 2 2 1 1 1   1 1 1   1 1 1 2 2           1           1 1 1 1   1 1 1 1 1 1 1 1  ]
[  1 1               1 1 1 1 3 3 3 3 3 8 3 3 3 3 3 2 2 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1   1 1 1            ]
[  1 1 1 1 1   1 1 1 1 1 1 1 1 1 1 1 6 3 6 1 1 1 1 2 1 1 1 1   1 1 1   1 1 1 2 2     4     1     4     2 2 1 1   1 1 1 1 1 1 1 1  ]
[  1 1 1 1 1   1 1 1 1 1     1 1 1 1 1 3 1 1 1 1 1       4       1       4         1 1 1   1   1 1 1       1 1   1 1 1 1 1 1 1 1  ]
[  1 3 3 1 1   1 1 3 3 1       4   1 1 3 1 1   4       1 1 1   1 1 1   1 1 1       1 T 1   1   1 T 1       1 1               1 1  ]
[  1 3 3 1 1 1 1 1 3 3 1     1 1   1 1 3 1 1   1 1     1 T 1   1 1 1   1 T 1       1 1 1   1   1 1 1       1 1   1 1 1 1 1 1 1 1  ]
[  1 1 1 1 1 1 1 1 1 1 1     T 1   1 1 3 1 1   1 T     1 1 1   1 1 1   1 1 1               1               1 1   1 1 1 1 1 1 1 1  ]
[          2 2 1                     2 1 2                     2 1 1                     2 1 2                     1 1 1          ]
[          1 1 2                     1 1 2                     2 1 2                     1 1 1                     1 2 2          ]
[            1                       1 1 1             1 1 1 1 1 1 1 1 1 1 1     1 1 1     1 1 1 1 1 1     1 1 1   1 1 1   1 1 1  ]
[            1                     1 1 1 1 1           1 3 3 1 1 1 1 1 3 3 1     1 1 1 1   1 1 1 1 1 1     1 1 1 4 1 1 1 4 1 1 1  ]
[            1                   1 1       1 1         1 3 3 1 1   1 1 3 3 1     1 1   4           1 1     1 1 1   1 1 1   1 1 1  ]
[  1 1 1 1 1 1 1 1 1 1 1       1 1           1 1       1 1 1 1 1   1 1 1 1 1     1 1   1 1 1 1 1 4 1         4       4       4    ]
[  1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1   1 1 1 1 1     1 1   1 1 1 1 1       2 2 1 1 1   1 1 1   1 1 1  ]
[  1 1 1           1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1               1 1     1 1   1 1   1 1   1 1 2 2 1 1 1 4 1 T 1 4 1 1 1  ]
[  1 1 1 1 1 1 1 1 1 1 1 1 2 1 1               1 1 1 2 1 1 1 1 1   1 1 1 1 1           1 1 1 1 1   1 1 1 2 1 1 1   1 1 1   1 1 1  ]
[  1 1 1 1 1 1 1 1 1 1 1       1 1           1 1       1 1 1 1 1   1 1 1 1 1       1 4 1 1 1 1 1   1 1       4       4       4    ]
[            1                   1 1       1 1         1 3 3 1 1   1 1 3 3 1     1 1           4   1 1     1 1 1   1 1 1   1 1 1  ]
[            1                     1 1 1 1 1           1 3 3 1 1 1 1 1 3 3 1     1 1 1 1 1 1   1 1 1 1     1 1 1 4 1 1 1 4 1 1 1  ]
[            1                       1 1 1             1 1 1 1 1 1 1 1 1 1 1     1 1 1 1 1 1     1 1 1     1 1 1   1 1 1   1 1 1  ]
[          1 1 2                     1 1 2                     2 2 2                                               2 1 1          ]
[          1 1 2                     2 1 1                     2 2 2                                               2 1 2          ]
[        1 1 1 1 1           1 1 1 1 1 1 1 1 1 1 1     1 1 1 1 1 1 1 1 1 1 1               1                       1 1 1          ]
[        1 1   1 1           1   1           1   1     1 1 3 1 1 3 1 1 3 1 1               1                       1 1 1          ]
[        1 1   1 1           1 1 1   1 1 1   1 1 1     1 3 6 3 3 6 3 3 6 3 1               4                       1 1 1          ]
[  1 1 1 1 1   1 1 1 1 1     1   1   1   1   1   1     1 1 3 1 1 3 1 1 3 1 1           6 1 1 1 6                     4            ]
[  1 1 1 1 1   1 1 1 1 1 1 2 1 1 1 1 1   1 1 1 1 1     1 1 3 1 1 3 1 1 3 1 1           1 3 3 3 1       1 2 1 1 1   1 1 1   1 1 1  ]
[  1                   1 1 1       1       1           1 3 6 3 3 6 3 3 6 3 1     1 1 4 1 3 3 3 1 4 1 1 1 2 1 1 1 4 1 1 1 4 1 1 1  ]
[  1 1 1 1 1   1 1 1 1 1 1 1 1 1 1 1 1   1 1 1 1 1     1 1 3 1 1 3 1 1 3 1 1           1 3 3 3 1       2 1 1 1 1   1 1 1   1 1 1  ]
[  1 1 1 1 1   1 1 1 1 1     1   1   1   1   1   1     1 1 3 1 1 3 1 1 3 1 1           6 1 1 1 6                     4            ]
[        1 1   1 1           1 1 1   1 1 1   1 1 1     1 3 6 3 3 6 3 3 6 3 1               4                       1 1 1          ]
[        1 1   1 1           1   1           1   1     1 1 3 1 1 3 1 1 3 1 1               1                       1 1 1          ]
[        1 1 1 1 1           1 1 1 1 1 1 1 1 1 1 1     1 1 1 1 1 1 1 1 1 1 1               1                       1 1 1          ]
[                                                                                                                                 ]

Next step will be creating actual tile graphics and loading them into a client so that once the client receives the map data from the server, it can display them with tile sprites. Having lots of fun with this project!

Ythraverse Home

Gemlog Index