mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
v1.22.31
This commit is contained in:
parent
f684996f82
commit
bc6b8cdafe
18 changed files with 111 additions and 111 deletions
|
|
@ -115,7 +115,7 @@
|
|||
|
||||
// main routes
|
||||
roads.selectAll("path").data(main).enter().append("path")
|
||||
.attr("id", (d, i) => "road" + i)
|
||||
.attr("id", (d, i) => "road" + i)
|
||||
.attr("d", d => round(lineGen(d.map(c => {
|
||||
const b = cells.burg[c];
|
||||
const x = b ? burgs[b].x : cells.p[c][0];
|
||||
|
|
@ -125,7 +125,7 @@
|
|||
|
||||
// small routes
|
||||
trails.selectAll("path").data(small).enter().append("path")
|
||||
.attr("id", (d, i) => "trail" + i)
|
||||
.attr("id", (d, i) => "trail" + i)
|
||||
.attr("d", d => round(lineGen(d.map(c => {
|
||||
const b = cells.burg[c];
|
||||
const x = b ? burgs[b].x : cells.p[c][0];
|
||||
|
|
@ -136,7 +136,7 @@
|
|||
// ocean routes
|
||||
lineGen.curve(d3.curveBundle.beta(1));
|
||||
searoutes.selectAll("path").data(ocean).enter().append("path")
|
||||
.attr("id", (d, i) => "searoute" + i)
|
||||
.attr("id", (d, i) => "searoute" + i)
|
||||
.attr("d", d => round(lineGen(d.map(c => {
|
||||
const b = cells.burg[c];
|
||||
const x = b ? burgs[b].x : cells.p[c][0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue