-
Notifications
You must be signed in to change notification settings - Fork 2
/
PFA-Exporter-ShapeTest.html
170 lines (163 loc) · 19.8 KB
/
PFA-Exporter-ShapeTest.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html>
<body>
<canvas id="myCanvas" width="300" height="300" style="border:1px solid #d3d3d3;">
Your browser does not support the HTML5 canvas tag.</canvas>
<script>
var drawPolygon = function(ctx, poly) {
if(poly.length < 1) return;
ctx.beginPath();
ctx.moveTo(poly[0].x, poly[0].y);
for( var i=1 ; i < poly.length ; i++ ) {
var p = poly[i];
if(!p.bc)
ctx.lineTo(p.x , p.y);
else
ctx.bezierCurveTo(p.bc[0],p.bc[1],p.bc[2],p.bc[3], p.x, p.y);
}
}
var c = document.getElementById("myCanvas");
var ctx = c.getContext("2d");
ctx.strokeStyle = '#000000';
drawPolygon(ctx, [{x:41.3, y:17.25},{x:32.95, y:21.85,bc: [40.8,21.5,38,23]},{x:23, y:21.55,bc: [27.85,20.7,24.55,20.6]},{x:30.6, y:23.35,bc: [24.35,22.6,26.9,23.2]},{x:37.45, y:24.6,bc: [34.25,23.5,36.55,23.95]},{x:40.3, y:28.8,bc: [38.3,25.25,39.25,26.65]},{x:40.9, y:33.75,bc: [41.3,30.9,41.5,32.55]},{x:38.6, y:36.25,bc: [40.25,34.9,39.5,35.75]},{x:37.65, y:36.7,bc: [38.3,36.45,38,36.6]},{x:34.9, y:39.25,bc: [36.3,37.2,35.35,38.05]},{x:31.3, y:42.5,bc: [34.4,40.4,33.2,41.5]},{x:25.1, y:40.85,bc: [29.45,43.45,27.35,42.9]},{x:21.9, y:32.4,bc: [22.8,38.75,21.75,35.95]},{x:21.9, y:25.55,bc: [22.05,28.85,22.05,26.6]},{x:21.7, y:24.4,bc: [21.85,25.15,21.8,24.75]},{x:21.25, y:33.7,bc: [21.1,30.45,21.25,27.35]},{x:22.3, y:40,bc: [21.7,37.95,21.35,35.85]},{x:27.85, y:46.8,bc: [25.2,46.15,23.35,43.85]},{x:24.85, y:48.55,bc: [26.7,48.35,27.7,47.75]},{x:20.8, y:40.75,bc: [21.25,44.35,22.6,46.95]},{x:20.55, y:24.05,bc: [20.15,30.7,20.25,36.25]},{x:20.3, y:24.7,bc: [20.4,24.35,20.35,24.55]},{x:20, y:26.7,bc: [20.25,25,20.15,25.65]},{x:20.05, y:32.4,bc: [19.9,27.75,19.9,29.65]},{x:19.7, y:36.25,bc: [20.1,33.8,20,35.1]},{x:16.95, y:40.85,bc: [19.25,38.05,18.3,39.6]},{x:10.7, y:42.5,bc: [14.65,42.9,12.55,43.45]},{x:7.15, y:39.25,bc: [8.8,41.5,7.6,40.4]},{x:4.35, y:36.7,bc: [6.65,38.05,5.7,37.2]},{x:0.95, y:33.75,bc: [3,36.2,1.9,35.2]},{x:1.1, y:27.15,bc: [0,32.3,0.05,30.1]},{x:9.8, y:23.1,bc: [2.15,24.2,5.05,22.85]},{x:18.7, y:21.75,bc: [14.55,23.35,17.55,22.9]},{x:8.85, y:21.75,bc: [17.55,20.65,14.3,20.65]},{x:0.15, y:17.65,bc: [3.4,22.8,0.5,21.45]},{x:1, y:9.75,bc: [-0.2,13.8,0.05,11.2]},{x:4.4, y:6.8,bc: [1.9,8.3,3.05,7.3]},{x:7.15, y:4.3,bc: [5.75,6.35,6.7,5.5]},{x:10.7, y:1.05,bc: [7.6,3.1,8.8,2]},{x:16.95, y:2.7,bc: [12.6,0.05,14.7,0.6]},{x:20.2, y:11.15,bc: [19.2,4.8,20.3,7.6]},{x:20.25, y:17.85,bc: [20.1,14.65,20.1,16.9]},{x:21, y:20.35,bc: [20.4,18.8,20.65,19.6]},{x:21.7, y:17.35,bc: [21.35,19.3,21.55,18.3]},{x:21.35, y:9.95,bc: [21.85,16.35,21.7,13.9]},{x:24.65, y:1.55,bc: [20.95,6,22.05,3.2]},{x:31.35, y:0.55,bc: [27.2,-0.1,29.45,-0.4]},{x:34.9, y:3.8,bc: [33.25,1.55,34.45,2.65]},{x:37.65, y:6.35,bc: [35.35,5,36.3,5.85]},{x:40.85, y:8.95,bc: [39,6.85,40.1,7.7]},{x:41.3, y:17.25,bc: [41.6,10.2,41.75,13]}]);
ctx.stroke();
ctx.fillStyle = '#002D00';
drawPolygon(ctx, [{x:21.1, y:22.9},{x:20.55, y:24.05,bc: [20.85,23.35,20.7,23.75]},{x:20.8, y:40.75,bc: [20.15,30.7,20.25,36.25]},{x:24.85, y:48.55,bc: [21.25,44.35,22.6,46.95]},{x:27.85, y:46.8,bc: [26.7,48.35,27.7,47.75]},{x:22.3, y:40,bc: [25.2,46.15,23.35,43.85]},{x:21.25, y:33.7,bc: [21.7,37.95,21.35,35.85]},{x:21.7, y:24.4,bc: [21.1,30.45,21.25,27.35]},{x:21.1, y:22.9,bc: [21.55,23.85,21.35,23.35]}]);
ctx.fill();
var gradient3 = ctx.createLinearGradient(44.0625,-15.1875,14.6875,15.1875);
gradient3.addColorStop(0, '#002300');
gradient3.addColorStop(0.17254901960784313, '#579957');
gradient3.addColorStop(0.3333333333333333, '#006000');
gradient3.addColorStop(0.5019607843137255, '#009900');
gradient3.addColorStop(0.6549019607843137, '#006000');
gradient3.addColorStop(0.8156862745098039, '#579957');
gradient3.addColorStop(1, '#002300');
ctx.fillStyle = gradient3;
drawPolygon(ctx, [{x:40.85, y:8.95},{x:37.65, y:6.35,bc: [39,6.85,40.1,7.7]},{x:34.9, y:3.8,bc: [35.35,5,36.3,5.85]},{x:31.35, y:0.55,bc: [33.25,1.55,34.45,2.65]},{x:24.65, y:1.55,bc: [27.2,-0.1,29.45,-0.4]},{x:21.35, y:9.95,bc: [20.95,6,22.05,3.2]},{x:21.7, y:17.35,bc: [21.85,16.35,21.7,13.9]},{x:21, y:20.35,bc: [21.35,19.3,21.55,18.3]},{x:20.25, y:17.85,bc: [20.4,18.8,20.65,19.6]},{x:20.2, y:11.15,bc: [20.1,14.65,20.1,16.9]},{x:16.95, y:2.7,bc: [19.2,4.8,20.3,7.6]},{x:10.7, y:1.05,bc: [12.6,0.05,14.7,0.6]},{x:7.15, y:4.3,bc: [7.6,3.1,8.8,2]},{x:4.4, y:6.8,bc: [5.75,6.35,6.7,5.5]},{x:1, y:9.75,bc: [1.9,8.3,3.05,7.3]},{x:0.15, y:17.65,bc: [-0.2,13.8,0.05,11.2]},{x:8.85, y:21.75,bc: [3.4,22.8,0.5,21.45]},{x:18.7, y:21.75,bc: [17.55,20.65,14.3,20.65]},{x:9.8, y:23.1,bc: [14.55,23.35,17.55,22.9]},{x:1.1, y:27.15,bc: [2.15,24.2,5.05,22.85]},{x:0.95, y:33.75,bc: [0,32.3,0.05,30.1]},{x:4.35, y:36.7,bc: [3,36.2,1.9,35.2]},{x:7.15, y:39.25,bc: [6.65,38.05,5.7,37.2]},{x:10.7, y:42.5,bc: [8.8,41.5,7.6,40.4]},{x:16.95, y:40.85,bc: [14.65,42.9,12.55,43.45]},{x:19.7, y:36.25,bc: [19.25,38.05,18.3,39.6]},{x:20.05, y:32.4,bc: [20.1,33.8,20,35.1]},{x:20, y:26.7,bc: [19.9,27.75,19.9,29.65]},{x:20.3, y:24.7,bc: [20.25,25,20.15,25.65]},{x:20.55, y:24.05,bc: [20.4,24.35,20.35,24.55]},{x:21.1, y:22.9,bc: [20.85,23.35,20.7,23.75]},{x:21.7, y:24.4,bc: [21.55,23.85,21.35,23.35]},{x:21.9, y:25.55,bc: [21.85,25.15,21.8,24.75]},{x:21.9, y:32.4,bc: [22.05,28.85,22.05,26.6]},{x:25.1, y:40.85,bc: [22.8,38.75,21.75,35.95]},{x:31.3, y:42.5,bc: [29.45,43.45,27.35,42.9]},{x:34.9, y:39.25,bc: [34.4,40.4,33.2,41.5]},{x:37.65, y:36.7,bc: [36.3,37.2,35.35,38.05]},{x:38.6, y:36.25,bc: [38.3,36.45,38,36.6]},{x:40.9, y:33.75,bc: [40.25,34.9,39.5,35.75]},{x:40.3, y:28.8,bc: [41.3,30.9,41.5,32.55]},{x:37.45, y:24.6,bc: [38.3,25.25,39.25,26.65]},{x:30.6, y:23.35,bc: [34.25,23.5,36.55,23.95]},{x:23, y:21.55,bc: [24.35,22.6,26.9,23.2]},{x:32.95, y:21.85,bc: [27.85,20.7,24.55,20.6]},{x:41.3, y:17.25,bc: [40.8,21.5,38,23]},{x:40.85, y:8.95,bc: [41.6,10.2,41.75,13]}]);
ctx.fill();
var gradient4 = ctx.createLinearGradient(14.6875,15.1875,44.0625,-15.1875);
gradient4.addColorStop(0, '#002300');
gradient4.addColorStop(0.17254901960784313, '#579957');
gradient4.addColorStop(0.3333333333333333, '#006000');
gradient4.addColorStop(0.5019607843137255, '#009900');
gradient4.addColorStop(0.6549019607843137, '#006000');
gradient4.addColorStop(0.8156862745098039, '#579957');
gradient4.addColorStop(1, '#002300');
ctx.fillStyle = gradient4;
drawPolygon(ctx, [{x:30.85, y:2.55},{x:33.3, y:4.75,bc: [32.1,3.25,32.95,4]},{x:33.3, y:4.7},{x:37.2, y:8.4,bc: [33.95,6.45,35.25,7.65]},{x:39.4, y:10.15,bc: [38.15,8.75,38.85,9.3]},{x:39.55, y:17.2,bc: [39.9,11.25,39.95,13.6]},{x:38.1, y:20,bc: [39.4,18.55,38.9,19.45]},{x:38.15, y:19.95},{x:33.65, y:20.05,bc: [37.1,20.45,35.6,20.5]},{x:23.65, y:19.35,bc: [29.1,19,25.75,18.8]},{x:23.95, y:17.8,bc: [23.8,18.8,23.9,18.3]},{x:23.6, y:9.9,bc: [24.1,16.7,24,14.05]},{x:26, y:3.4,bc: [23.3,6.85,24.1,4.7]},{x:25.95, y:3.4},{x:30.75, y:2.5,bc: [27.8,2.25,29.4,1.95]},{x:30.85, y:2.55}]);
ctx.stroke();
var gradient5 = ctx.createLinearGradient(14.6875,15.1875,44.0625,-15.1875);
gradient5.addColorStop(0, '#002300');
gradient5.addColorStop(0.17254901960784313, '#579957');
gradient5.addColorStop(0.3333333333333333, '#006000');
gradient5.addColorStop(0.5019607843137255, '#009900');
gradient5.addColorStop(0.6549019607843137, '#006000');
gradient5.addColorStop(0.8156862745098039, '#579957');
gradient5.addColorStop(1, '#002300');
ctx.fillStyle = gradient5;
drawPolygon(ctx, [{x:20.9, y:21.4},{x:20.9, y:21.35},{x:20.8, y:21.15,bc: [20.85,21.2,20.85,21.3]},{x:21.4, y:21.05,bc: [21.2,21.05,21,21.1]},{x:21.3, y:21.5,bc: [21.3,21.35,21.35,21.2]},{x:21.3, y:22.05,bc: [21.25,21.85,21.25,21.65]},{x:21.35, y:22.25,bc: [21.3,22.2,21.3,22.1]},{x:21.4, y:22.5,bc: [21.35,22.45,21.35,22.35]},{x:22.05, y:22.35,bc: [21.65,22.45,21.85,22.4]},{x:22.4, y:22.15,bc: [22.15,22.3,22.25,22.2]},{x:22.45, y:22.1},{x:22.5, y:22.1},{x:22.85, y:21.75,bc: [22.65,21.95,22.75,21.85]},{x:23.05, y:22,bc: [22.9,21.8,23,21.9]},{x:23.6, y:23.1,bc: [23.25,22.35,23.45,22.7]},{x:23.85, y:23.9,bc: [23.7,23.35,23.8,23.6]},{x:23.5, y:23.45,bc: [23.75,23.7,23.65,23.55]},{x:22.8, y:23.3,bc: [23.25,23.3,23.05,23.25]},{x:22.6, y:23.35,bc: [22.75,23.3,22.65,23.3]},{x:22.3, y:23.5,bc: [22.5,23.4,22.4,23.45]},{x:22.05, y:23.3,bc: [22.2,23.45,22.1,23.35]},{x:21.4, y:22.5,bc: [21.75,23.05,21.55,22.8]},{x:21.35, y:22.5},{x:20.9, y:22.5,bc: [21.05,22.5,21.2,22.5]},{x:20.9, y:22.45},{x:20.95, y:22.15,bc: [20.95,22.25,20.95,22.35]},{x:20.95, y:21.45,bc: [21,21.7,21,21.9]},{x:20.9, y:21.4}]);
ctx.stroke();
var gradient6 = ctx.createLinearGradient(14.6875,15.1875,44.0625,-15.1875);
gradient6.addColorStop(0, '#002300');
gradient6.addColorStop(0.17254901960784313, '#579957');
gradient6.addColorStop(0.3333333333333333, '#006000');
gradient6.addColorStop(0.5019607843137255, '#009900');
gradient6.addColorStop(0.6549019607843137, '#006000');
gradient6.addColorStop(0.8156862745098039, '#579957');
gradient6.addColorStop(1, '#002300');
ctx.fillStyle = gradient6;
drawPolygon(ctx, [{x:18.45, y:11.25},{x:18.5, y:18.3,bc: [18.35,14.9,18.35,17.25]},{x:18.6, y:18.55,bc: [18.5,18.35,18.55,18.45]},{x:18.8, y:19.5,bc: [18.65,18.9,18.7,19.2]},{x:8.7, y:19.95,bc: [16.8,18.85,13.45,19]},{x:3.75, y:19.9,bc: [6.55,20.35,4.9,20.35]},{x:3.7, y:19.85},{x:2.4, y:17.6,bc: [2.95,19.4,2.5,18.65]},{x:2.95, y:11,bc: [2.1,14.4,2.3,12.2]},{x:3.05, y:10.85,bc: [3,10.95,3,10.9]},{x:5.3, y:8.85,bc: [3.65,9.9,4.4,9.2]},{x:9.25, y:5.2,bc: [7.3,8.2,8.6,6.95]},{x:9.25, y:5.25},{x:11.85, y:3,bc: [9.6,4.45,10.5,3.7]},{x:11.95, y:2.95,bc: [11.9,2.95,11.9,2.95]},{x:15.85, y:4.3,bc: [13.1,2.5,14.4,2.95]},{x:18.45, y:11.25,bc: [17.7,6.05,18.55,8.35]}]);
ctx.stroke();
var gradient7 = ctx.createLinearGradient(14.6875,15.1875,44.0625,-15.1875);
gradient7.addColorStop(0, '#002300');
gradient7.addColorStop(0.17254901960784313, '#579957');
gradient7.addColorStop(0.3333333333333333, '#006000');
gradient7.addColorStop(0.5019607843137255, '#009900');
gradient7.addColorStop(0.6549019607843137, '#006000');
gradient7.addColorStop(0.8156862745098039, '#579957');
gradient7.addColorStop(1, '#002300');
ctx.fillStyle = gradient7;
drawPolygon(ctx, [{x:18, y:35.9},{x:16.05, y:39.4,bc: [17.65,37.25,17,38.4]},{x:15.85, y:39.5,bc: [16,39.4,15.9,39.45]},{x:11.85, y:40.85,bc: [14.35,40.85,13,41.3]},{x:11.75, y:40.8,bc: [11.8,40.85,11.8,40.85]},{x:9.25, y:38.65,bc: [10.45,40.1,9.6,39.4]},{x:5.3, y:34.95,bc: [8.55,36.9,7.25,35.7]},{x:5.1, y:34.9,bc: [5.25,34.9,5.15,34.9]},{x:2.9, y:32.85,bc: [4.25,34.5,3.5,33.8]},{x:2.95, y:32.9},{x:3.25, y:27.95,bc: [2.4,31.8,2.5,30.15]},{x:3.25, y:28},{x:9.95, y:25.25,bc: [4.1,25.95,6.35,25.05]},{x:18.6, y:24.5,bc: [13.9,25.45,16.75,25.2]},{x:18.25, y:26.6,bc: [18.5,24.85,18.4,25.55]},{x:18.25, y:26.65},{x:18.3, y:32.65,bc: [18.15,27.8,18.15,29.8]},{x:18, y:35.9,bc: [18.35,33.8,18.25,34.9]}]);
ctx.stroke();
var gradient8 = ctx.createLinearGradient(14.6875,15.1875,44.0625,-15.1875);
gradient8.addColorStop(0, '#002300');
gradient8.addColorStop(0.17254901960784313, '#579957');
gradient8.addColorStop(0.3333333333333333, '#006000');
gradient8.addColorStop(0.5019607843137255, '#009900');
gradient8.addColorStop(0.6549019607843137, '#006000');
gradient8.addColorStop(0.8156862745098039, '#579957');
gradient8.addColorStop(1, '#002300');
ctx.fillStyle = gradient8;
drawPolygon(ctx, [{x:38.75, y:29.8},{x:39.35, y:33.05,bc: [39.4,31.2,39.6,32.3]},{x:39.3, y:33.15,bc: [39.3,33.1,39.3,33.1]},{x:37.9, y:34.65,bc: [38.9,33.8,38.45,34.3]},{x:37.85, y:34.7,bc: [37.85,34.65,37.85,34.65]},{x:37.75, y:34.75,bc: [37.8,34.7,37.8,34.7]},{x:37.45, y:34.9,bc: [37.65,34.8,37.55,34.85]},{x:37.2, y:35,bc: [37.35,34.95,37.25,34.95]},{x:33.4, y:38.45,bc: [35.35,35.65,34.05,36.8]},{x:33.35, y:38.6,bc: [33.35,38.5,33.35,38.55]},{x:30.8, y:40.8,bc: [32.9,39.35,32.05,40.1]},{x:30.7, y:40.85},{x:26.7, y:39.5,bc: [29.5,41.3,28.15,40.85]},{x:26.7, y:39.55},{x:24.15, y:32.65,bc: [24.85,37.8,24,35.5]},{x:24.15, y:25.55,bc: [24.3,29.05,24.3,26.7]},{x:24, y:24.4,bc: [24.1,25.15,24.05,24.75]},{x:30.75, y:25.5,bc: [25.65,25,27.9,25.35]},{x:36.5, y:26.35,bc: [33.8,25.65,35.7,25.9]},{x:38.75, y:29.8,bc: [37.15,26.9,37.9,28.05]}]);
ctx.stroke();
var gradient9 = ctx.createLinearGradient(14.6875,45.5625,-14.6875,15.1875);
gradient9.addColorStop(0, '#002300');
gradient9.addColorStop(0.17254901960784313, '#579957');
gradient9.addColorStop(0.3333333333333333, '#006000');
gradient9.addColorStop(0.5019607843137255, '#009900');
gradient9.addColorStop(0.6549019607843137, '#006000');
gradient9.addColorStop(0.8156862745098039, '#579957');
gradient9.addColorStop(1, '#002300');
ctx.fillStyle = gradient9;
drawPolygon(ctx, [{x:36.5, y:26.35},{x:30.75, y:25.5,bc: [33.8,25.65,35.7,25.9]},{x:24, y:24.4,bc: [25.65,25,27.9,25.35]},{x:24.15, y:25.55,bc: [24.1,25.15,24.05,24.75]},{x:24.15, y:32.65,bc: [24.3,29.05,24.3,26.7]},{x:26.7, y:39.55,bc: [24.85,37.8,24,35.5]},{x:26.7, y:39.5},{x:30.7, y:40.85,bc: [29.5,41.3,28.15,40.85]},{x:30.8, y:40.8},{x:33.35, y:38.6,bc: [32.9,39.35,32.05,40.1]},{x:33.4, y:38.45,bc: [33.35,38.5,33.35,38.55]},{x:37.2, y:35,bc: [35.35,35.65,34.05,36.8]},{x:37.45, y:34.9,bc: [37.35,34.95,37.25,34.95]},{x:37.75, y:34.75,bc: [37.65,34.8,37.55,34.85]},{x:37.85, y:34.7,bc: [37.8,34.7,37.8,34.7]},{x:37.9, y:34.65,bc: [37.85,34.65,37.85,34.65]},{x:39.3, y:33.15,bc: [38.9,33.8,38.45,34.3]},{x:39.35, y:33.05,bc: [39.3,33.1,39.3,33.1]},{x:38.75, y:29.8,bc: [39.4,31.2,39.6,32.3]},{x:36.5, y:26.35,bc: [37.15,26.9,37.9,28.05]}]);
ctx.fill();
var gradient10 = ctx.createLinearGradient(14.6875,45.5625,-14.6875,15.1875);
gradient10.addColorStop(0, '#002300');
gradient10.addColorStop(0.17254901960784313, '#579957');
gradient10.addColorStop(0.3333333333333333, '#006000');
gradient10.addColorStop(0.5019607843137255, '#009900');
gradient10.addColorStop(0.6549019607843137, '#006000');
gradient10.addColorStop(0.8156862745098039, '#579957');
gradient10.addColorStop(1, '#002300');
ctx.fillStyle = gradient10;
drawPolygon(ctx, [{x:18.3, y:32.65},{x:18.25, y:26.65,bc: [18.15,27.8,18.15,29.8]},{x:18.25, y:26.6},{x:18.6, y:24.5,bc: [18.5,24.85,18.4,25.55]},{x:9.95, y:25.25,bc: [13.9,25.45,16.75,25.2]},{x:3.25, y:28,bc: [4.1,25.95,6.35,25.05]},{x:3.25, y:27.95},{x:2.95, y:32.9,bc: [2.4,31.8,2.5,30.15]},{x:2.9, y:32.85},{x:5.1, y:34.9,bc: [4.25,34.5,3.5,33.8]},{x:5.3, y:34.95,bc: [5.25,34.9,5.15,34.9]},{x:9.25, y:38.65,bc: [8.55,36.9,7.25,35.7]},{x:11.75, y:40.8,bc: [10.45,40.1,9.6,39.4]},{x:11.85, y:40.85,bc: [11.8,40.85,11.8,40.85]},{x:15.85, y:39.5,bc: [14.35,40.85,13,41.3]},{x:16.05, y:39.4,bc: [16,39.4,15.9,39.45]},{x:18, y:35.9,bc: [17.65,37.25,17,38.4]},{x:18.3, y:32.65,bc: [18.35,33.8,18.25,34.9]}]);
ctx.fill();
var gradient11 = ctx.createLinearGradient(14.6875,45.5625,-14.6875,15.1875);
gradient11.addColorStop(0, '#002300');
gradient11.addColorStop(0.17254901960784313, '#579957');
gradient11.addColorStop(0.3333333333333333, '#006000');
gradient11.addColorStop(0.5019607843137255, '#009900');
gradient11.addColorStop(0.6549019607843137, '#006000');
gradient11.addColorStop(0.8156862745098039, '#579957');
gradient11.addColorStop(1, '#002300');
ctx.fillStyle = gradient11;
drawPolygon(ctx, [{x:15.85, y:4.3},{x:11.95, y:2.95,bc: [13.1,2.5,14.4,2.95]},{x:11.85, y:3,bc: [11.9,2.95,11.9,2.95]},{x:9.25, y:5.25,bc: [9.6,4.45,10.5,3.7]},{x:9.25, y:5.2},{x:5.3, y:8.85,bc: [7.3,8.2,8.6,6.95]},{x:3.05, y:10.85,bc: [3.65,9.9,4.4,9.2]},{x:2.95, y:11,bc: [3,10.95,3,10.9]},{x:2.4, y:17.6,bc: [2.1,14.4,2.3,12.2]},{x:3.7, y:19.85,bc: [2.95,19.4,2.5,18.65]},{x:3.75, y:19.9},{x:8.7, y:19.95,bc: [6.55,20.35,4.9,20.35]},{x:18.8, y:19.5,bc: [16.8,18.85,13.45,19]},{x:18.6, y:18.55,bc: [18.65,18.9,18.7,19.2]},{x:18.5, y:18.3,bc: [18.5,18.35,18.55,18.45]},{x:18.45, y:11.25,bc: [18.35,14.9,18.35,17.25]},{x:15.85, y:4.3,bc: [17.7,6.05,18.55,8.35]}]);
ctx.fill();
var gradient12 = ctx.createLinearGradient(14.6875,45.5625,-14.6875,15.1875);
gradient12.addColorStop(0, '#002300');
gradient12.addColorStop(0.17254901960784313, '#579957');
gradient12.addColorStop(0.3333333333333333, '#006000');
gradient12.addColorStop(0.5019607843137255, '#009900');
gradient12.addColorStop(0.6549019607843137, '#006000');
gradient12.addColorStop(0.8156862745098039, '#579957');
gradient12.addColorStop(1, '#002300');
ctx.fillStyle = gradient12;
drawPolygon(ctx, [{x:22.45, y:22.1},{x:22.4, y:22.15},{x:22.05, y:22.35,bc: [22.15,22.3,22.25,22.2]},{x:21.4, y:22.5,bc: [21.65,22.45,21.85,22.4]},{x:22.05, y:23.3,bc: [21.75,23.05,21.55,22.8]},{x:22.3, y:23.5,bc: [22.2,23.45,22.1,23.35]},{x:22.6, y:23.35,bc: [22.5,23.4,22.4,23.45]},{x:22.8, y:23.3,bc: [22.75,23.3,22.65,23.3]},{x:23.5, y:23.45,bc: [23.25,23.3,23.05,23.25]},{x:23.85, y:23.9,bc: [23.75,23.7,23.65,23.55]},{x:23.6, y:23.1,bc: [23.7,23.35,23.8,23.6]},{x:23.05, y:22,bc: [23.25,22.35,23.45,22.7]},{x:22.85, y:21.75,bc: [22.9,21.8,23,21.9]},{x:22.5, y:22.1,bc: [22.65,21.95,22.75,21.85]},{x:22.45, y:22.1}]);
ctx.fill();
var gradient13 = ctx.createLinearGradient(14.6875,45.5625,-14.6875,15.1875);
gradient13.addColorStop(0, '#002300');
gradient13.addColorStop(0.17254901960784313, '#579957');
gradient13.addColorStop(0.3333333333333333, '#006000');
gradient13.addColorStop(0.5019607843137255, '#009900');
gradient13.addColorStop(0.6549019607843137, '#006000');
gradient13.addColorStop(0.8156862745098039, '#579957');
gradient13.addColorStop(1, '#002300');
ctx.fillStyle = gradient13;
drawPolygon(ctx, [{x:20.95, y:21.45},{x:20.95, y:22.15,bc: [21,21.7,21,21.9]},{x:20.9, y:22.45,bc: [20.95,22.25,20.95,22.35]},{x:20.9, y:22.5},{x:21.35, y:22.5,bc: [21.05,22.5,21.2,22.5]},{x:21.4, y:22.5},{x:21.35, y:22.25,bc: [21.35,22.45,21.35,22.35]},{x:21.3, y:22.05,bc: [21.3,22.2,21.3,22.1]},{x:21.3, y:21.5,bc: [21.25,21.85,21.25,21.65]},{x:21.4, y:21.05,bc: [21.3,21.35,21.35,21.2]},{x:20.8, y:21.15,bc: [21.2,21.05,21,21.1]},{x:20.9, y:21.35,bc: [20.85,21.2,20.85,21.3]},{x:20.9, y:21.4},{x:20.95, y:21.45}]);
ctx.fill();
var gradient14 = ctx.createLinearGradient(14.6875,45.5625,-14.6875,15.1875);
gradient14.addColorStop(0, '#002300');
gradient14.addColorStop(0.17254901960784313, '#579957');
gradient14.addColorStop(0.3333333333333333, '#006000');
gradient14.addColorStop(0.5019607843137255, '#009900');
gradient14.addColorStop(0.6549019607843137, '#006000');
gradient14.addColorStop(0.8156862745098039, '#579957');
gradient14.addColorStop(1, '#002300');
ctx.fillStyle = gradient14;
drawPolygon(ctx, [{x:30.75, y:2.5},{x:25.95, y:3.4,bc: [27.8,2.25,29.4,1.95]},{x:26, y:3.4},{x:23.6, y:9.9,bc: [23.3,6.85,24.1,4.7]},{x:23.95, y:17.8,bc: [24.1,16.7,24,14.05]},{x:23.65, y:19.35,bc: [23.8,18.8,23.9,18.3]},{x:33.65, y:20.05,bc: [29.1,19,25.75,18.8]},{x:38.15, y:19.95,bc: [37.1,20.45,35.6,20.5]},{x:38.1, y:20},{x:39.55, y:17.2,bc: [39.4,18.55,38.9,19.45]},{x:39.4, y:10.15,bc: [39.9,11.25,39.95,13.6]},{x:37.2, y:8.4,bc: [38.15,8.75,38.85,9.3]},{x:33.3, y:4.7,bc: [33.95,6.45,35.25,7.65]},{x:33.3, y:4.75},{x:30.85, y:2.55,bc: [32.1,3.25,32.95,4]},{x:30.75, y:2.5}]);
ctx.fill();
</script>
<p><strong>Note:</strong> The canvas tag is not supported in Internet
Explorer 8 and earlier versions.</p>
</body>
</html>