-
Notifications
You must be signed in to change notification settings - Fork 0
/
pattern.html
40 lines (36 loc) · 725 Bytes
/
pattern.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.polygons {
fill: none;
stroke: rgba(0, 0, 0, 0);
stroke-width: 1px;
}
.sites {
fill: rgba(0, 0, 0, 1);
stroke: "black";
}
.stitchf {
stroke-width: 4;
stroke-linecap: round;
stroke-linejoin: round;
stroke: rgba(243,218,206,0.8);
}
.stitchb {
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
stroke: rgba(13,29,236,0.8);
}
#svgid {
background: rgba(0,0,0,0.9);
}
body {
margin: 0px;
}
</style>
<svg id="svgid" width="1480" height="2000"></svg>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="point-in-svg-polygon.js"></script>
<script src="dat_gui.min.js"></script>
<script src="dynamicPatternsD3.js"></script>