mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
v. 0.58.08b
This commit is contained in:
parent
4f9ee7e597
commit
e4e4cdfb07
2 changed files with 6 additions and 5 deletions
|
|
@ -47,7 +47,7 @@ button, select, a {
|
||||||
}
|
}
|
||||||
|
|
||||||
#cults {
|
#cults {
|
||||||
stroke-width: 0.7;
|
stroke-width: 2;
|
||||||
mask: url(#shape);
|
mask: url(#shape);
|
||||||
mask-mode: alpha;
|
mask-mode: alpha;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
|
||||||
|
|
@ -4183,7 +4183,7 @@ function fantasyMap() {
|
||||||
path += lineGen(edgesOrdered);
|
path += lineGen(edgesOrdered);
|
||||||
}
|
}
|
||||||
var color = states[region].color;
|
var color = states[region].color;
|
||||||
regions.append("path").attr("d", round(path, 1)).attr("fill", "none").attr("stroke", color).attr("stroke-width", 1.5).attr("class", "region"+region);
|
regions.append("path").attr("d", round(path, 1)).attr("fill", "none").attr("stroke", color).attr("stroke-width", 3).attr("class", "region"+region);
|
||||||
}
|
}
|
||||||
|
|
||||||
function drawBorders(edges, type) {
|
function drawBorders(edges, type) {
|
||||||
|
|
@ -7161,6 +7161,7 @@ function fantasyMap() {
|
||||||
function undraw() {
|
function undraw() {
|
||||||
viewbox.selectAll("path, circle, line, text, use, #ruler > g").remove();
|
viewbox.selectAll("path, circle, line, text, use, #ruler > g").remove();
|
||||||
svg.select("#shape").remove();
|
svg.select("#shape").remove();
|
||||||
|
landmass.select("rect").remove();
|
||||||
cells = [], land = [], riversData = [], manors = [], states = [], features = [], queue = [];
|
cells = [], land = [], riversData = [], manors = [], states = [], features = [], queue = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -8507,9 +8508,9 @@ function fantasyMap() {
|
||||||
viewbox.on("touchmove mousemove", moved);
|
viewbox.on("touchmove mousemove", moved);
|
||||||
landmass.attr("opacity", 1).attr("fill", "#eef6fb");
|
landmass.attr("opacity", 1).attr("fill", "#eef6fb");
|
||||||
coastline.attr("opacity", .5).attr("stroke", "#1f3846").attr("stroke-width", .7).attr("filter", "url(#dropShadow)");
|
coastline.attr("opacity", .5).attr("stroke", "#1f3846").attr("stroke-width", .7).attr("filter", "url(#dropShadow)");
|
||||||
regions.attr("opacity", .6).attr("filter", "url(#splotch)");
|
regions.attr("opacity", .4);
|
||||||
stateBorders.attr("opacity", .8).attr("stroke", "#56566d").attr("stroke-width", .5).attr("stroke-dasharray", "1.2 1.5").attr("stroke-linecap", "butt");
|
stateBorders.attr("opacity", .8).attr("stroke", "#56566d").attr("stroke-width", .7).attr("stroke-dasharray", "1.2 1.5").attr("stroke-linecap", "butt");
|
||||||
neutralBorders.attr("opacity", .8).attr("stroke", "#56566d").attr("stroke-width", .3).attr("stroke-dasharray", "1 1.5").attr("stroke-linecap", "butt");
|
neutralBorders.attr("opacity", .8).attr("stroke", "#56566d").attr("stroke-width", .5).attr("stroke-dasharray", "1 1.5").attr("stroke-linecap", "butt");
|
||||||
cults.attr("opacity", .6);
|
cults.attr("opacity", .6);
|
||||||
rivers.attr("opacity", 1).attr("fill", "#5d97bb");
|
rivers.attr("opacity", 1).attr("fill", "#5d97bb");
|
||||||
lakes.attr("opacity", .5).attr("fill", "#a6c1fd").attr("stroke", "#5f799d").attr("stroke-width", .7);
|
lakes.attr("opacity", .5).attr("fill", "#a6c1fd").attr("stroke", "#5f799d").attr("stroke-width", .7);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue