mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.22.12
This commit is contained in:
parent
4a0c62edf7
commit
6fa693b562
12 changed files with 111 additions and 60 deletions
|
|
@ -49,9 +49,9 @@
|
|||
|
||||
function randomizeOutline() {
|
||||
const limits = [];
|
||||
let odd = 0.2
|
||||
let odd = .2
|
||||
for (let l = -9; l < 0; l++) {
|
||||
if (Math.random() < odd) {odd = 0.2; limits.push(l);}
|
||||
if (P(odd)) {odd = .2; limits.push(l);}
|
||||
else {odd *= 2;}
|
||||
}
|
||||
return limits;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue