You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
2.2 KiB
93 lines
2.2 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title></title>
|
|
<link href='https://fonts.googleapis.com/css?family=Indie+Flower' rel='stylesheet' type='text/css'>
|
|
|
|
<style>
|
|
* {
|
|
font-family:Indie Flower;
|
|
letter-spacing:0.7px;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
ul {
|
|
background:#f7f7f7;
|
|
border:1px solid #e0e0e0;
|
|
left:0;
|
|
list-style-type:none;
|
|
padding:5px;
|
|
position:absolute;
|
|
top:0;
|
|
}
|
|
|
|
.subunit.SCT { fill: #ddc; }
|
|
.subunit.WLS { fill: #cdd; }
|
|
.subunit.NIR { fill: #cdc; }
|
|
.subunit.ENG { fill: #dcd; }
|
|
.subunit.IRL { display: none; }
|
|
|
|
.subunit-boundary {
|
|
fill: none;
|
|
stroke: #f00;
|
|
stroke-dasharray: 2,2;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.subunit-boundary.IRL {
|
|
stroke: #aaa;
|
|
}
|
|
|
|
.place-label {
|
|
font-size:11px;
|
|
left:20px;
|
|
}
|
|
|
|
.subunit-label {
|
|
fill: #777;
|
|
fill-opacity: .5;
|
|
font-size: 20px;
|
|
font-weight: 300;
|
|
text-anchor: middle;
|
|
}
|
|
|
|
svg {
|
|
/*background: #098347;*/
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<script src="d3.min.js"></script>
|
|
<!-- <script src="//d3js.org/d3.v3.min.js" charset="utf-8"></script> -->
|
|
<!-- <script src="//d3js.org/topojson.v1.min.js"></script> -->
|
|
|
|
<!-- <script src="gradients-v1.js"></script> -->
|
|
<!-- <script src="gradients-v2.js"></script> -->
|
|
<!-- <script src="california.js"></script> -->
|
|
<script src="gradients-v3.js"></script>
|
|
|
|
<!--
|
|
46026: 37.755 N 122.839 W (37°45'18" N 122°50'21" W)
|
|
|
|
http://www.ndbc.noaa.gov/data/realtime2/46026.txt
|
|
|
|
DISCUSS:
|
|
Opacity solution lacks saturation and transition alignment
|
|
gourand / phong?
|
|
Delaunay / Voronoi
|
|
Mesh gradients / coon mesh
|
|
feImage
|
|
|
|
Don't discuss triangle gradient attempts.
|
|
ogr2ogr -f GeoJSON -clipsrc -114 32.5 -125 43 -where "name IN ('California', 'Oregon', 'Nevada', 'Idaho')" california.geojson states.shp
|
|
|
|
http://dvisvgm.bplaced.net/Gradients
|
|
http://www.gdal.org/ogr_sql.html
|
|
http://www.sarasafavi.com/intro-to-ogr-part-i-exploring-data.html
|
|
-->
|
|
|
|
</body>
|
|
</html>
|
|
|