mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.5.77 - river data change
This commit is contained in:
parent
07f0eff52c
commit
12fd553b0d
4 changed files with 64 additions and 66 deletions
|
|
@ -521,7 +521,7 @@ function addRiverOnClick() {
|
|||
i = min;
|
||||
}
|
||||
|
||||
const points = Rivers.addMeandring(dataRiver, Math.random() * .5 + .1);
|
||||
const points = Rivers.addMeandering(dataRiver, 1, .5);
|
||||
const width = Math.random() * .5 + .9;
|
||||
const increment = Math.random() * .4 + .8;
|
||||
const [path, length] = Rivers.getPath(points, width, increment);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue