v1.5.77 - river data change

This commit is contained in:
Azgaar 2021-02-28 17:16:04 +03:00
parent 07f0eff52c
commit 12fd553b0d
4 changed files with 64 additions and 66 deletions

View file

@ -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);