mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.4.61
This commit is contained in:
parent
9870fcc339
commit
576a6996ca
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ function drawHeightmap() {
|
||||||
paths[h] += round(lineGen(points));
|
paths[h] += round(lineGen(points));
|
||||||
}
|
}
|
||||||
|
|
||||||
terrs.append("rect").attr("x", 0).attr("y", 0).attr("width", "100%").attr("height", "100%").attr("fill", scheme(.8)); // draw base layer
|
terrs.append("rect").attr("x", 0).attr("y", 0).attr("width", graphWidth).attr("height", graphHeight).attr("fill", scheme(.8)); // draw base layer
|
||||||
for (const i of d3.range(20, 101)) {
|
for (const i of d3.range(20, 101)) {
|
||||||
if (paths[i].length < 10) continue;
|
if (paths[i].length < 10) continue;
|
||||||
const color = getColor(i, scheme);
|
const color = getColor(i, scheme);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue