mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
simply math expression
This commit is contained in:
parent
c691865d11
commit
391792c8c8
1 changed files with 1 additions and 1 deletions
|
|
@ -2770,7 +2770,7 @@ function fantasyMap() {
|
||||||
amended.push([x, y]);
|
amended.push([x, y]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const width = +riverWidthInput.value * 0.6 + Math.random() * 1;
|
const width = +riverWidthInput.value * 0.6 + Math.random();
|
||||||
const increment = +riverIncrement.value * 0.9 + Math.random() * 0.2;
|
const increment = +riverIncrement.value * 0.9 + Math.random() * 0.2;
|
||||||
riverWidthInput.value = width;
|
riverWidthInput.value = width;
|
||||||
riverIncrement.value = increment;
|
riverIncrement.value = increment;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue