mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
v1.22.23
This commit is contained in:
parent
203da3142d
commit
533d517f1f
1 changed files with 0 additions and 10 deletions
|
|
@ -261,16 +261,6 @@
|
||||||
const small = r.length < smallLength;
|
const small = r.length < smallLength;
|
||||||
r.type = r.parent && !(r.i%6) ? small ? "Branch" : "Fork" : small ? rw(smallType) : "River";
|
r.type = r.parent && !(r.i%6) ? small ? "Branch" : "Fork" : small ? rw(smallType) : "River";
|
||||||
}
|
}
|
||||||
|
|
||||||
//return;
|
|
||||||
const basins = [...(new Set(pack.rivers.map(r=>r.basin)))];
|
|
||||||
const colors = getColors(basins.length);
|
|
||||||
basins.forEach((b,i) => {
|
|
||||||
pack.rivers.filter(r => r.basin === b).forEach(r => {
|
|
||||||
rivers.select("#river"+r.i).attr("fill", colors[i]);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const getName = function(cell) {
|
const getName = function(cell) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue