File size: 107,038 Bytes
43205f0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
<!doctype html>
    <html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>TURTLE · Latent Embedding Visualization</title><link rel="icon" href="favicon.ico" type="image/x-icon"><style>
.course-home{position:fixed;right:20px;bottom:20px;z-index:100;display:block;box-sizing:border-box;width:64px;padding:5px;border:1px solid #b6c4d6;border-radius:10px;background:#f4f7fb;line-height:0}
.course-home:hover{background:#fff}
.course-home:focus-visible{outline:3px solid #f9a565;outline-offset:4px}
.course-home img{display:block;width:52px;height:52px}
@media(max-width:650px){.course-home{right:12px;bottom:12px}}
</style></head>
    <body style="margin:0;background:#060914;overflow:hidden">
      
    <div id="embedding_47259796c5664c2e8d1f103373c32add" style="position:relative;width:100%;height:720px;
         background:#060914;border-radius:14px;overflow:hidden;">
      <canvas style="display:block;width:100%;height:100%;touch-action:none"></canvas>
      <div style="position:absolute;left:14px;top:12px;color:#e8edff;
           font:13px system-ui;pointer-events:none">
        <b>TURTLE · 768-dimensional vector</b><br>
        <span data-readout="mode-description">Encoding: magnitude → length · sign → right/left</span><br>
        <span data-readout="angle-row">Consecutive angle = <span data-readout="angle">45</span>° · index-driven 3D roll</span><br>
        <span data-readout="interaction">Click to deform · drag to orbit · wheel to zoom</span>
        <div data-readout="selection" style="margin-top:4px;color:#ffd98a"></div>
        <div data-readout="status" style="margin-top:4px;color:#8ee6a8">Loading canvas…</div>
      </div>
      <div class="embedding-controls" style="position:absolute;right:12px;top:12px;width:210px;max-height:calc(100% - 46px);overflow-y:auto;
        padding:10px;background:rgba(9,14,32,.88);color:#e8edff;border:1px solid #26345c;
        border-radius:10px;font:12px system-ui;box-shadow:0 6px 22px #0008">
        <label style="display:block;margin:0 0 8px">Mode
          <select data-control="mode" style="box-sizing:border-box;width:100%;margin-top:3px;background:#0d1730;
            color:#fff;border:1px solid #40527e;border-radius:5px;padding:5px">
            <option value="glyph">Glyph · turtle encoding</option>
            <option value="geometric">Geometric · n-D walk + PCA</option>
            <option value="trajectory">Trajectory · real BERT hidden states</option>
          </select>
        </label>
        <div style="display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:8px">
          <button data-action="pause">Pause</button><button data-action="reset">Random reset</button>
          <button data-action="twist-left">Twist −</button><button data-action="twist-right">Twist +</button>
          <button data-action="contract">Contract</button><button data-action="expand">Expand</button>
          <button data-action="smooth">Smooth</button><button data-action="jitter">Deform</button>
        </div>
        <div data-section="angle" style="display:grid;grid-template-columns:1fr 68px;gap:6px;align-items:end;
          padding-bottom:5px;border-bottom:1px solid #26345c;margin-bottom:6px">
          <label style="display:block;margin:0">Path points
            <input data-control="count" type="number" min="2" max="768" step="1" value="768"
              style="box-sizing:border-box;width:100%;margin-top:2px;background:#0d1730;color:#fff;
              border:1px solid #40527e;border-radius:5px;padding:4px">
          </label>
          <button data-action="apply-count">Apply</button>
        </div>
        <div style="display:grid;grid-template-columns:1fr 68px;gap:6px;align-items:end;
          padding-bottom:5px;border-bottom:1px solid #26345c;margin-bottom:6px">
          <label style="display:block;margin:0">Consecutive angle (°)
            <input data-control="angle" type="number" min="1" max="179" step="1" value="45"
              style="box-sizing:border-box;width:100%;margin-top:2px;background:#0d1730;color:#fff;
              border:1px solid #40527e;border-radius:5px;padding:4px">
          </label>
          <button data-action="apply-angle">Apply</button>
        </div>
        <div data-section="glyph-stack" style="border-bottom:1px solid #26345c;padding-bottom:8px;margin-bottom:8px">
          <b>Embeddings</b>
          <div style="display:flex;gap:5px;margin-top:6px">
            <button data-action="add-embedding">Add embedding</button>
            <button data-action="remove-embedding" disabled>Remove last</button>
          </div>
          <button data-action="clear-embeddings" disabled style="margin-top:5px">Clear added</button>
          <label style="display:block;margin-top:6px">Layer spacing <input aria-label="Layer spacing" data-control="stack-spacing" type="range" min="90" max="180" step="5" value="110" style="width:100%"></label>
          <div data-readout="stack" aria-live="polite" style="color:#aebbd9;margin-top:4px">1 embedding · no added layers</div>
          <div style="color:#aebbd9;font-size:11px;margin-top:4px">Synthetic random vectors, not model outputs. Click any glyph to deform it.</div>
        </div>
        <label style="display:block;margin:5px 0">Rotation speed <input data-control="speed" style="width:100%" type="range" min="-3" max="3" step=".05" value="1"></label>
        <label style="display:block;margin:5px 0">Deform strength <input data-control="strength" style="width:100%" type="range" min=".5" max="12" step=".5" value="4.5"></label>
        <label style="display:block;margin:5px 0">Deform radius <input data-control="radius" style="width:100%" type="range" min="2" max="40" step="1" value="12"></label>
        <label style="display:block;margin:5px 0">Line width <input data-control="line" style="width:100%" type="range" min=".25" max="5" step=".25" value=".25"></label>
        <label style="display:block;margin:5px 0">Point size <input data-control="point" style="width:100%" type="range" min="0" max="6" step=".25" value="1.25"></label>
        <label style="display:block;margin:5px 0">Zoom <input data-control="zoom" style="width:100%" type="range" min="1.5" max="15" step=".1" value="5.8"></label>
        <div data-section="glyph-colors" style="display:flex;justify-content:space-between;margin-top:7px">
          <label>Line <input data-control="line-color" type="color" value="#65d9ff"></label>
          <label>Points <input data-control="point-color" type="color" value="#ffd166"></label>
        </div>
        <div data-section="sign-colors" style="display:none;justify-content:space-between;margin-top:7px">
          <label>Positive <input data-control="positive-color" type="color" value="#65d9ff"></label>
          <label>Negative <input data-control="negative-color" type="color" value="#ff5fa2"></label>
        </div>
        <div data-section="trajectory-colors" style="display:none;justify-content:space-between;margin-top:7px">
          <label>Animal <input data-control="animal-color" type="color" value="#65d9ff"></label>
          <label>Automobile <input data-control="car-color" type="color" value="#ff8a65"></label>
        </div>
      </div>
    </div>
    
      <script>
    (() => {
      try {
      const host = document.getElementById("embedding_47259796c5664c2e8d1f103373c32add");
      if (!host) throw new Error('Embedding container was not created.');
      const canvas = host.querySelector('canvas');
      const ctx = canvas.getContext('2d');
      const getControl = name => host.querySelector(`[data-control="${name}"]`);
      const getAction = name => host.querySelector(`[data-action="${name}"]`);
      const status = host.querySelector('[data-readout="status"]');
      const selection = host.querySelector('[data-readout="selection"]');
      let embedding = [1.5235853988, -5.1999205312, 3.752255979, 4.702823582, -9.7551759433, -6.5108975343, 0.6392020158, -1.5812129617, -0.0840057875, -4.2652196379, 4.3969898743, 3.8889596771, 0.3301534878, 5.6362060348, 2.3375467113, -4.2964623144, 1.8437539204, -4.7944130041, 4.3922515065, -0.2496295549, -0.9243118177, -3.404647722, 6.1127066934, -0.7726474103, -2.1416391108, -1.7606677524, 2.6615459278, 1.8272203218, 2.063663058, 2.154105015, 10.7082380044, -2.0320750819, -2.5612136454, -4.0688636412, 3.0798971129, 5.6448614636, -0.5697372883, -4.2007823848, -4.1224060785, 3.2529639391, 3.716270856, 2.7157713415, -3.3275485364, 1.1608066153, 0.5834290457, 1.0934429836, 4.3571438897, 1.1179777439, 3.3945678154, 0.3378953474, 1.4455969934, 3.1564411292, -7.2857790993, -1.5983560818, -2.3518632715, -3.1943892412, -1.3757112561, 7.4747065562, -4.3291555785, 4.841391773, -8.4143488581, -1.6744251499, 0.8137653255, 2.9311116568, 3.556132899, 3.966736176, -1.7436253612, -2.3117589633, 4.2898794063, -0.9565216244, -6.3784316167, -5.66643607, -4.59726143, 2.4858037203, 0.7121286804, 3.4524267703, -2.1362632317, 0.7926984554, 3.1279519698, -1.5467326986, 2.2838761878, -3.3096297053, -1.8152692328, -1.90868947, -5.9791982279, 2.4348624039, -2.347011701, 0.0624705936, 2.4037332945, 2.2326558801, 3.3269255449, -0.4924274225, -2.1164915602, -0.3985910545, -8.4366721698, -7.2355623621, -6.6134980618, -4.986234138, 1.9988711336, -4.5273952768, -1.8908127702, 6.4961414889, -1.7813198553, 3.6875778423, -4.6680884, -1.0271877893, -4.7501102746, -1.6951653795, 4.2015406873, -8.636602116, 2.1721182177, 1.1886780117, -2.9707497785, -7.2302892719, 0.3606475386, -2.6474635453, 1.1633810568, 0.1092607276, 8.0088944566, -1.1967781374, -5.1174874631, 0.8963781748, 1.0999834199, 6.7959378762, 4.1755562296, 1.7843552957, 7.3165144561, -5.9438152716, -3.1987576637, -4.632879707, -1.9490490158, -6.8834307378, 3.1757547341, -1.1111134855, -7.3540314725, -5.077895406, 1.5675692373, 4.1906328395, 9.9836544585, 14.56931233, 2.0720471664, -4.9476906002, -10.6602314037, 1.3385573117, -4.0647054766, -2.0767863009, -3.0604839953, -0.7039544321, 5.3299011539, 0.7852428372, -0.7931741852, -5.1782687641, -8.3734147235, -2.4315395454, -0.2689127541, 8.8396495679, 0.6513726074, 4.9136975551, -2.4964779927, -5.9247188321, -4.8255838112, -3.6261303227, 10.6423486622, -4.1069333961, 4.1924460187, -4.5146358904, 4.6578650644, 1.9247548305, -0.7831894883, -0.2038126307, -3.2739384771, 2.2303610074, -2.2749174017, -6.1280288188, -6.3896878716, 0.8629395886, 7.8954562821, 0.7999580679, -0.5931916305, 1.429130698, 6.5300087085, 1.0969125068, -2.0546361542, 5.5314435503, 2.1437821923, 7.67877996, 0.9161721861, -6.1223451586, -6.8407959962, 8.2546396612, 8.6183286039, -0.8975960664, -1.9159366057, 7.3072214612, -5.5352284102, -4.4736350948, 3.2166339734, -1.9730256143, -0.0256093336, -0.8172144926, 1.687872744, 7.0374093066, 0.4529245345, 3.2196939664, -10.2508605052, -0.2435920097, -4.2161513515, -6.0940653021, -4.3907618346, -1.6706172035, 4.5795127118, -6.6319635887, 0.153157463, -2.4208471667, -1.6383654718, 5.0137891265, 2.690577185, 6.6869905372, -0.7725283962, -3.4797130584, -1.1192940844, 1.2124839564, 0.8828667923, -5.4219403612, 0.4524489081, 1.1411416507, 12.5873701877, 9.3842230564, -4.2662167528, -1.4369168077, -7.3172100092, -2.9535350698, 1.578025018, 6.0292681044, -3.6454191887, -3.2707322003, -10.7364451487, -0.8133296027, -5.3120720593, -2.6471971368, -4.3843038908, -0.4713127713, -8.7886419568, -7.335226227, 10.6462355601, -6.4371129064, -5.4839278923, 9.1845676416, 14.5253358462, -5.8578331441, -1.8412447839, 1.7077777547, 8.643488222, -4.9342853921, -1.2263892297, 3.8866878803, 2.1738303723, -1.8807803562, -0.6691148226, -6.8744790418, -1.1908687199, -1.33193745, 1.1608494481, -2.7766360941, 2.3576926127, 5.0635790891, 0.7771466383, 1.758782042, 0.2657767379, 0.0004219655, -3.6077901677, 1.5824713084, -0.4864329921, 10.4658415447, 7.8667745124, 1.9292327628, -3.8152860485, -5.5620573599, 5.9557147654, 1.3137461257, 2.400717017, -8.7229299349, 4.6371924078, 2.2721016911, -5.5521534221, -2.3576240372, 1.3185860218, 0.2623339918, -1.460855929, -0.5174413403, -1.259886891, 0.7628125605, 7.357459865, -12.8332922047, -1.1842513225, 0.8825621069, 1.4799699484, -1.8595729066, -8.7836089124, 1.6399774186, 8.6367510708, -7.6693070246, 4.3191400685, -1.6426261156, -0.3066217291, -5.2644925535, -1.6722808618, 6.5002229735, 2.9132762099, 8.661558027, 5.8870594449, 2.1954333946, 8.7196726308, 2.1949657937, 4.139940884, -1.4828547677, 0.3327290793, -3.4871191165, 4.947919673, -5.8915181156, 3.9117517121, -0.9532552875, 5.8562354673, 3.7543449437, 9.1032307882, 3.6538734557, -7.8602012783, -0.3347658645, -5.860035963, -2.5913992118, 7.5561421664, 3.1876690545, -3.4946521429, -5.0685868322, 0.1639104644, -6.0828007469, -3.355701387, 1.5600473578, 5.7765601805, 3.0438073611, -11.456447543, 1.5218336452, 0.3601678662, 2.0694514269, 8.0810484083, -10.316191384, -2.955517126, 2.954531614, -7.9079719973, 7.3797452403, 1.8417830635, 4.2329199292, -2.8547183076, 4.0688184498, 5.3423577799, 1.1643901007, 1.1720044635, 1.3517161964, -4.3167263237, -0.7376434012, -0.7626126623, 1.9169693218, 4.9991212346, -5.2926804099, -0.6250451516, 7.4072777383, -3.7179411441, -4.1112500865, 1.0115309592, 4.2219259524, 0.0571302778, 6.6448029522, 4.2839699128, 4.2091003345, 2.7705825066, 11.6382655017, -1.0258084443, -10.0176114603, 8.0212718076, -2.2884971548, 0.5394022217, 6.5477534243, -8.0112977053, -6.2582360705, -8.0063896856, -3.9706814501, 2.1981830301, 2.6209392141, 1.3813708966, -7.0638294195, -11.5505171832, 0.271767927, -2.3588801682, 2.2969288586, 3.5097681311, 0.6912071603, 3.8006654269, 1.1460568706, 2.650323528, -3.5233663143, -0.8980570692, 0.9838804833, 4.1026423771, -1.9687058611, 2.6058362787, -1.3291939596, -0.5877108366, 4.1475952101, -9.9653018553, -6.4823616404, -7.4109269872, -11.6680805992, -3.3913222008, 3.7471694986, -1.4244203319, 0.9889504097, 5.4460874836, 6.6384306613, -0.3456896736, 6.7679294478, 0.4606332922, -4.1869911191, -2.972001761, -7.4026825628, -4.4406692687, -1.7900834404, 4.0179250969, 8.6038491558, -6.9109075769, 1.9641373413, -5.2027196958, 2.3734854423, -0.6554332534, -9.1545291292, 4.6414849578, -3.025003564, -2.6695011919, -5.3487620564, -3.2714163834, 2.1394522035, -0.9462217047, 1.6433100114, 1.8096092696, 6.6033082776, -1.7139307543, -7.3842890842, 5.3361120829, -1.6574408605, 5.5729622229, 1.9168855659, -0.655687651, 1.7438794702, 9.7550628006, 10.3849026453, 0.3469056757, 0.8009529666, 5.3812007873, -4.2283051638, 1.6653518631, -0.1293142398, 1.5695410573, -4.1668440297, -7.9478374665, -10.36491718, -5.5869205649, -2.2933764247, -1.4659579332, 9.6861558121, 5.5299668495, -4.8104555817, 1.7385422623, -2.0353911818, -1.4218191902, 0.9266282471, 3.0958555849, -1.6962924194, 5.3192576637, -5.7096911307, 0.0316953118, 12.988368633, 1.1153987131, 7.166072533, 0.4576008909, 2.9038854766, -0.283915972, -0.8520379058, -3.8974119836, 2.1515067948, -4.2576859459, 3.3279261816, 5.4264350222, 1.8326570362, -1.4312436678, 2.2698278965, -1.5433652777, 4.6777356273, -9.1570304211, -1.6780368406, -9.9540599756, -7.4753041511, 6.8193111491, 4.4759249099, -3.5974011664, -7.5125172802, -14.8226441892, -2.7174775397, 12.1020750612, 2.1744213573, -2.7978614302, 2.3254010475, -7.804791765, -1.4866168135, 0.4973873651, -0.4305032591, 3.9540306085, 1.7232261312, 3.3416300905, -3.4418614112, 4.4890770421, 8.1446847381, -4.8507475983, -4.4384782786, 6.6789216816, -0.9567199335, 7.0191069603, -2.2126785595, 7.2752278814, 0.657429084, 1.2911441166, 7.8235901083, -1.8088523872, -4.7056104796, -2.2428210401, 2.2616697532, -7.8287953609, 3.1873545133, -2.6938565881, 5.7390633037, -11.9713015245, -3.9328288755, -8.4323407562, -4.1311473318, 1.2383295055, -0.8961331272, -1.2668878447, -0.7959243569, 1.0169412031, -5.0426802097, 3.5342482045, 3.3133298519, 1.9251896883, 2.7826672138, 1.482090004, 10.1753665137, -0.4354708553, -1.5354160917, -3.7676379018, -5.1613133529, -6.222358938, -4.4439865662, -0.3534019083, 1.6714756425, 0.2557102928, -3.8276763871, 4.5009228201, 3.6970633615, -0.7982415371, -3.2645807233, 2.7421396041, 0.9398679374, -7.2406362971, -0.3399012799, 1.3101790604, -4.4984739324, 0.9492169642, -7.2741124263, 6.6809305001, 6.2397499253, -1.2625866715, 1.8172716892, -12.049609829, -5.7817383013, -1.4688946008, -5.3606651071, 3.5719824132, 9.9864826537, -5.8830735971, -4.1873170204, 1.1772418415, 8.0555807425, -6.1118715627, 1.2451806115, 9.1064942541, -8.2587957409, -6.4053460342, -2.1180330323, -2.6029420643, 4.0630064388, 1.2082985991, -8.8748102982, 2.5770520145, -2.8876944368, 6.3722360847, -3.1379376822, -3.1830764155, 2.705658054, 3.8146324117, 2.2404968197, -8.4279865869, 2.6901721996, -5.1715402584, 1.1763805579, -7.118672177, 2.2316107377, -4.0329945215, -6.4131732513, 3.5691006824, 1.2082226084, -3.069884007, 7.2558942451, -2.2032621078, 0.1605383699, 1.3445672384, -3.0983296706, 2.355681467, -2.6672617358, -2.0581916111, 6.813213199, -5.2029302626, -12.0639016546, 8.0546849751, 12.746639763, -2.0263463272, -9.6841902031, -1.552419881, -1.4311147492, -0.9496192051, -5.5669402096, 2.8978057124, 2.6225368764, -7.4720280991, 3.4959836585, 10.2634249097, 0.8598016622, -1.6866258103, -0.710016072, 3.0762838348, -8.6533580275, 0.8219535149, -1.9523197473, 9.2391250648, -0.870863669, 8.3394380556, -5.5187034889, 2.936295834, 1.597001319, -4.3452362393, 0.8869805732, 6.0625941842, -1.6189585214, -8.4598132458, -0.0878141324, -4.512115474, -1.7117046933, -0.4079388484, -8.5282610801, -8.0782916966, 2.4103341776, -2.6135934808, -12.8237217091, 3.924220183, 1.3618487764, -3.5693741202, -6.5841510553, 4.1790394816, 1.7467531128, 11.9130114134, 2.1009429936, 1.9385157063, -0.8346396505, 4.083879336, 3.1254260062, 6.2586250428, -2.6066145932, -2.1770373647, -2.3955158546, 3.9540086059, 7.4918722015, -2.2942024657, -2.123868639, 1.5703861193, -1.2288075001, 4.7602682657, -11.2588864531, -4.1335252346, -3.9120816698, -11.6017800619, -4.8181922218, -4.5757805792, -1.0055232726, 5.5648294583, -1.225303256, -5.1540686014, -0.2847727061, 5.2458681072, -4.8797940806, -4.5528744196, 2.7927447964, -1.1076805787, 3.2374234535, -0.068233959, 3.5083182404, -5.1753905702, -0.0604232539, -1.0534500718, -6.0794546205, -7.8173897393, 3.4287451764, -1.7547619111, -5.1114014082, -0.4808946846, 5.6400942867, -11.4036892269, -7.4831934495, -4.6144322095, 7.3058943336, 1.4129349146, 3.8365862023, -5.7008045956, -5.5976793764, 2.2390685836, 0.2913716547, 2.7436940943, -0.9383549546, 1.3907186323, 0.7905954245, 3.8888369454, 4.0350414097, -8.099359972, -11.2363427767, 5.0087269883, 5.9386254663, -5.1031150976, -9.2991770327, 0.495174105, 4.6541911318, 8.9879726122, 2.5814878605, -1.8585834829, -4.4656531079, 0.0572564584, -1.4963235194, -5.0753395286, 10.2437782543, 8.9258420104, 5.6802434178, -4.604251989, 4.2750966215, 3.1981320475, 2.212728121, 6.2483263352, 3.1768557143, 3.7000711815, 3.1845314169, 1.70395704, -8.9180556486, 0.4181053871, -2.7809597942];
      let glyphBasePath = [[-13.6785632, -26.5265384, -38.1547234], [-13.405713, -26.7993887, -38.1547234], [-12.1651176, -26.8757432, -38.5899822], [-11.708922, -27.4111895, -39.228943], [-11.6452573, -28.5782604, -39.4580731], [-9.8188805, -30.2376465, -39.5797163], [-8.2146517, -30.2359812, -39.1981961], [-8.1201625, -30.32378, -39.1003677], [-7.8749156, -30.2413758, -38.7946971], [-7.8676875, -30.2235581, -38.7855902], [-8.25611, -29.2253091, -38.6459068], [-7.9784102, -28.2131006, -39.0179485], [-7.2464159, -27.5802115, -38.8343028], [-7.1633511, -27.5815152, -38.8437968], [-6.1939418, -28.5941711, -39.1128198], [-6.13078, -29.1635076, -38.9633255], [-5.4847856, -29.7128813, -38.2814736], [-5.5505918, -30.0445327, -37.9594109], [-4.8332068, -30.8386591, -37.3857175], [-4.7573488, -31.9479304, -37.3512259], [-4.7206844, -31.991126, -37.3792773], [-4.4923312, -32.0424605, -37.3748307], [-3.7633691, -31.5842758, -37.4216877], [-2.2838095, -31.839491, -37.0442481], [-2.1550948, -31.7545215, -36.9238126], [-1.9589931, -31.2522968, -36.8645586], [-2.1344219, -30.8553591, -36.7620723], [-1.9188766, -30.2173103, -36.7904888], [-1.5674069, -29.9819813, -36.6027558], [-1.0484265, -29.981024, -36.6645779], [-0.6496965, -30.3446152, -36.5842831], [-0.5566133, -32.9811718, -35.9558891], [-0.2468103, -33.2764326, -35.6700427], [0.3895108, -33.4022047, -35.6637924], [1.2291605, -32.8964177, -35.3458507], [1.9713337, -33.0921125, -35.2068464], [2.6227687, -34.1666878, -34.5250964], [2.7182247, -34.176178, -34.4173062], [3.5642718, -33.6092609, -34.1095684], [3.7295248, -32.6118142, -33.849103], [4.3528763, -32.081146, -33.9416477], [5.2210902, -32.0057797, -33.5861566], [5.8089656, -32.3550579, -33.6602099], [6.6067518, -32.1484103, -33.8364357], [6.8664647, -32.2843818, -33.8142761], [6.9252948, -32.4072485, -33.8715141], [6.8847409, -32.6788418, -33.8357059], [6.0306087, -33.3645873, -33.9696296], [5.7570965, -33.3331792, -34.0357695], [5.1441503, -32.7651947, -33.8337566], [5.1256101, -32.6851273, -33.8576067], [5.293533, -32.3610455, -33.8290673], [6.0509036, -32.1231828, -33.7348897], [6.8769699, -30.6965993, -32.9058438], [6.8612775, -30.2940732, -32.9457655], [6.4774339, -29.8691949, -32.7816593], [5.6806964, -29.8400685, -32.6442627], [5.411488, -30.0512855, -32.7099048], [3.8820477, -29.9643959, -33.8220996], [3.4733636, -30.5851253, -34.6282029], [2.4917984, -30.5198177, -35.3601201], [0.8798015, -31.8286502, -35.8394799], [0.8324897, -32.166223, -36.0917539], [0.7091138, -32.2138857, -36.249813], [0.108942, -31.9051219, -36.5588965], [-0.1791096, -31.06134, -36.6862083], [0.1539118, -30.2675558, -37.2041693], [-0.0033311, -30.0235232, -37.5369309], [-0.5369236, -29.9016716, -37.7448319], [-1.0358089, -29.0052437, -38.1025288], [-1.2259833, -28.9606416, -38.2458131], [-2.7518118, -29.4865397, -38.3156153], [-3.3992136, -30.6559666, -38.8379441], [-3.0513695, -31.7274372, -39.1322101], [-3.3097936, -32.2094324, -39.4440556], [-3.4665001, -32.2981981, -39.4344595], [-4.2749031, -32.160052, -39.737658], [-4.6752363, -32.4763642, -39.917662], [-4.8757552, -32.4668138, -39.9151741], [-5.4191824, -32.0096517, -40.2662641], [-5.695727, -32.0668766, -40.5377443], [-5.9950628, -31.7245026, -40.8951666], [-6.7959296, -31.676777, -41.1379171], [-7.065129, -31.920163, -41.420153], [-7.1873113, -32.386299, -41.4584356], [-6.4834539, -33.642808, -41.9263164], [-6.6473683, -34.2327016, -42.0], [-6.4288734, -34.7553083, -41.8198105], [-6.4334132, -34.766352, -41.8094304], [-6.9605884, -35.0390094, -41.6739507], [-7.4922582, -34.8639616, -41.5938293], [-7.8505622, -34.1963843, -41.2251633], [-7.9345203, -34.1802882, -41.1343586], [-8.3936005, -34.4198157, -40.995794], [-8.4202087, -34.5137855, -40.9702543], [-7.4415007, -36.1534135, -40.0114834], [-5.8054284, -36.962116, -40.1768232], [-4.2670823, -36.6535537, -39.5905098], [-3.549592, -35.6219578, -39.4649731], [-3.0709986, -35.5335783, -39.3256263], [-2.5554837, -34.7877639, -38.6236636], [-2.5457598, -34.3105779, -38.5846887], [-1.4254129, -33.1419827, -38.8779589], [-1.4279514, -32.6908497, -38.8796396], [-0.8873084, -32.0260214, -38.5082482], [-1.0317539, -31.199457, -37.6753877], [-1.2273105, -31.0443013, -37.6021625], [-2.4045985, -31.1946351, -37.4055096], [-2.6437637, -31.4901957, -37.2061039], [-3.3577535, -31.4732106, -36.4172871], [-3.8398174, -32.7903339, -34.7388239], [-4.2823297, -32.870666, -34.4220279], [-4.4378861, -32.7022178, -34.226944], [-4.857993, -32.843475, -33.6189671], [-5.8141285, -34.2822345, -33.0115521], [-5.9029239, -34.3014185, -33.0020581], [-6.2536137, -34.8372407, -32.803339], [-6.4778699, -34.8823015, -32.6176173], [-6.5032891, -34.8717591, -32.6147105], [-7.2552414, -33.0834101, -32.0225774], [-7.5330583, -32.9640088, -32.0018211], [-8.6347083, -33.3037838, -31.4096011], [-8.7617325, -33.2150616, -31.2436758], [-8.8174984, -32.956973, -31.1548479], [-7.8822499, -31.5422041, -30.8613508], [-6.978451, -31.3354749, -30.3526755], [-6.5529989, -31.4846591, -30.3836444], [-5.6542503, -33.0063223, -29.8264885], [-4.2294553, -33.3275591, -29.4620044], [-3.6332266, -32.934032, -29.0799626], [-3.1552154, -31.8659981, -29.1667595], [-3.2705754, -31.4171047, -28.9969053], [-4.7533984, -30.5297689, -28.7665982], [-4.9406565, -29.7948397, -28.4987994], [-5.1262738, -29.6916421, -28.3141783], [-6.9631229, -29.8626925, -28.0579329], [-7.7437717, -30.8111677, -27.6772823], [-8.1372654, -30.8595197, -27.6563002], [-8.9316608, -30.3472228, -27.1736842], [-9.9675936, -28.0503899, -27.3850821], [-8.87904, -24.6144071, -26.5949884], [-8.4206968, -24.3886734, -26.4751825], [-8.0747351, -23.3829057, -25.8126686], [-8.6907686, -20.7548993, -25.869769], [-8.5397193, -20.4758153, -25.9890268], [-8.857207, -19.5332742, -26.2546722], [-9.2711701, -19.33995, -26.5152659], [-10.0389914, -19.4377836, -26.4743681], [-10.1541586, -19.5587727, -26.5366902], [-11.4234875, -19.5212544, -26.9944495], [-11.5344174, -19.3870412, -27.0905328], [-11.6701022, -19.3946183, -27.2384714], [-12.6652821, -20.1922126, -27.5440923], [-12.8267996, -22.1787287, -28.2686267], [-12.4376031, -22.5823562, -28.5232742], [-12.3711652, -22.59586, -28.51679], [-11.1639954, -24.085998, -27.3616806], [-11.1716907, -24.2490649, -27.3379165], [-12.0838606, -25.095591, -27.3333987], [-12.1579652, -25.6742834, -27.5770885], [-11.5222041, -27.0132573, -27.3436324], [-10.4353401, -27.5102296, -27.5993303], [-9.5897703, -27.1829073, -27.7451682], [-7.3652303, -28.1174231, -28.946352], [-6.7426641, -27.7783888, -29.7075026], [-6.2463716, -28.2316762, -30.5294696], [-5.3772085, -27.9371572, -31.211496], [-4.3131665, -28.3879525, -31.4485883], [-4.1462251, -28.7451861, -31.7351923], [-4.016249, -28.7559362, -31.8846402], [-3.9830977, -28.7230365, -31.9066186], [-3.9518701, -27.9003149, -32.0049819], [-3.6200788, -27.4869998, -31.8096307], [-3.6829938, -27.060206, -31.4277386], [-4.8598074, -26.1527942, -30.9800379], [-6.4603473, -26.3428169, -30.8352066], [-6.6359826, -26.2350424, -30.9080176], [-7.4746271, -24.4643496, -30.5082106], [-7.4235871, -24.2710215, -30.5408598], [-7.4992325, -24.1418113, -30.5532171], [-7.4415791, -23.8003967, -30.4477775], [-6.3508436, -22.6222895, -30.8445847], [-6.0813098, -22.5787817, -30.7932444], [-5.7881545, -22.1599496, -30.6961948], [-4.4468159, -21.8180983, -30.9118441], [-3.9699144, -21.9981128, -30.724907], [-2.901985, -23.6002746, -30.9981733], [-2.9429967, -23.8284429, -30.9883475], [-2.1137078, -25.1051568, -31.2825205], [-0.5746495, -25.7118897, -30.7679203], [0.0599641, -27.2055559, -29.4500319], [-0.6994512, -29.1635007, -28.8550916], [-0.6053318, -29.3566161, -28.7807536], [-0.1828506, -29.5833289, -28.8553569], [0.3708435, -31.009835, -29.8962303], [1.4242446, -31.2317561, -30.7941946], [2.1532757, -30.5689053, -31.353525], [2.74849, -30.6958726, -31.895063], [2.9106231, -30.4588152, -32.3039787], [2.9098885, -30.4528498, -32.3064161], [2.7485864, -30.3388807, -32.3682993], [2.6382958, -29.9273192, -32.333814], [3.2183363, -28.4026823, -33.0519334], [3.3138352, -28.3398184, -33.0426439], [4.1128486, -28.4936052, -33.0960729], [6.2781358, -27.14956, -32.6009314], [6.3010829, -27.0954051, -32.6195514], [6.0876158, -26.071262, -32.4056509], [4.8339863, -25.1756213, -32.4969586], [3.7584566, -25.348788, -32.7202003], [3.472663, -25.639845, -32.6078315], [2.569681, -25.6645368, -31.8803674], [1.9676254, -26.7734487, -30.7717583], [1.9329191, -26.7802029, -30.7558065], [1.5225448, -27.2346635, -30.7868703], [1.4834899, -27.6074028, -30.6087867], [0.6353277, -28.1476317, -29.8334221], [0.0494592, -27.9496429, -29.5472431], [-0.8544679, -26.5175138, -29.5371015], [-1.0169329, -26.4558177, -29.6269844], [-1.8665139, -26.6893065, -29.608092], [-2.007801, -26.9338016, -29.6329709], [-2.2948411, -27.0256742, -29.5741132], [-2.4981789, -26.9626749, -29.6425298], [-3.438837, -27.4814525, -30.4978976], [-3.520442, -27.4371968, -30.5650738], [-3.5451307, -27.1988547, -30.7266596], [-2.0210024, -24.4023707, -30.866486], [-0.1048232, -23.5882315, -32.0128049], [0.1080915, -22.7265927, -32.6289836], [-0.0934791, -22.4792315, -32.8039649], [-1.8878714, -22.0161692, -32.8076084], [-2.4990363, -22.2704157, -33.1559962], [-2.7701066, -22.1116806, -33.4030773], [-2.9518547, -20.7540435, -34.0779832], [-3.5815437, -20.3852116, -34.6435343], [-4.4076703, -20.4125764, -34.6977693], [-6.2040189, -22.0957837, -35.8526365], [-6.2065927, -22.2964395, -35.8991248], [-5.3410939, -23.3167575, -35.758271], [-4.7384039, -23.4655643, -36.0114684], [-3.7103118, -23.0682713, -35.8767929], [-3.6594645, -22.9607024, -35.8863742], [-4.3705298, -20.9282989, -36.4503735], [-5.839951, -19.8810881, -36.0083701], [-6.2571074, -17.7697568, -34.384083], [-7.4498683, -17.312537, -33.3711159], [-8.4227438, -17.9774206, -32.6359785], [-9.9417551, -17.3645123, -30.9843849], [-12.0242795, -14.4022463, -30.3354022], [-13.4351405, -14.0319869, -30.6062796], [-13.830119, -14.268983, -30.6789378], [-14.2060997, -14.1839983, -30.8751207], [-15.7463617, -12.6423185, -30.6680284], [-16.8712155, -12.5841228, -30.1267309], [-17.0885025, -12.7919626, -30.048878], [-17.9638595, -12.7491166, -29.6006913], [-18.4101801, -12.4302441, -29.6478669], [-18.8288993, -12.4679127, -29.8718054], [-18.9354605, -12.5951541, -29.906037], [-18.8593952, -14.3304739, -29.7870831], [-18.6823484, -14.5447134, -29.9042179], [-18.3618698, -14.6400732, -29.859583], [-18.2289835, -14.8850008, -29.7658377], [-17.5607638, -15.0930551, -29.697173], [-17.2398571, -15.555368, -29.8967598], [-17.2059701, -16.8121789, -29.6440185], [-17.3282101, -16.9635067, -29.6739606], [-17.7662283, -17.005674, -29.7430582], [-17.8207004, -16.9697679, -29.7264935], [-17.8207406, -16.9696734, -29.7265232], [-18.541896, -16.699779, -30.2184366], [-18.6581456, -16.3541849, -30.3848011], [-18.762972, -16.2895046, -30.3870491], [-19.6302913, -14.0840023, -29.1999186], [-19.1439763, -12.1537768, -29.2850795], [-18.7294947, -11.8994826, -29.237399], [-18.4684032, -10.9826341, -29.3952053], [-18.9173804, -9.7269049, -28.9414394], [-18.3948685, -8.6924877, -27.9759719], [-18.0926807, -8.5926818, -27.8788818], [-17.5445915, -8.8534795, -27.8433321], [-15.5440089, -8.4030113, -28.6651046], [-14.8473217, -8.8960628, -29.4718366], [-14.730622, -9.4358547, -29.6335076], [-13.5675111, -10.1328329, -30.0058968], [-12.9832492, -10.0643155, -29.9035644], [-12.7579734, -10.2167763, -29.7098405], [-12.7383516, -10.2796558, -29.7011584], [-12.4111608, -10.4502686, -29.6742562], [-12.2882413, -10.4209664, -29.7089839], [-12.0780463, -10.1956011, -29.626263], [-11.918337, -10.1910076, -29.5176572], [-10.6788304, -11.4581142, -28.9429975], [-7.7896251, -11.3385871, -27.4590725], [-7.54648, -11.1644834, -27.4819847], [-7.3511285, -11.1791885, -27.5896094], [-7.1043137, -11.4537002, -27.6545521], [-6.6544822, -11.4712277, -27.7929341], [-4.8272075, -10.2795092, -27.3575332], [-4.4935575, -10.331241, -27.1156363], [-3.1363655, -11.9922586, -26.687088], [-1.2507624, -12.1467916, -26.2473555], [-0.647513, -12.8486088, -25.6641599], [-0.3843304, -12.8146516, -25.3437661], [-0.3362498, -12.7594702, -25.31781], [-0.4629949, -11.4697961, -25.0041616], [-0.7515486, -11.2388407, -24.7973476], [-0.7047696, -10.1527411, -23.5610623], [-0.2421176, -9.6160851, -23.3552921], [1.8615011, -9.5333929, -22.7387871], [2.7988744, -10.4732747, -22.0598422], [2.9134127, -11.0154818, -22.105165], [2.0236429, -12.8716521, -21.3052525], [1.5064717, -13.0684179, -21.2518936], [0.5449461, -12.6710759, -21.3820145], [0.2393537, -12.7730439, -21.5750321], [0.1946926, -12.7393598, -21.638055], [-0.3570579, -13.0553887, -22.250973], [-1.4287076, -12.6604844, -22.7666721], [-2.8607942, -13.0671243, -22.6659088], [-3.64799, -12.7402032, -22.1609935], [-3.8063568, -12.8398437, -22.0084234], [-5.0701532, -12.39653, -21.371174], [-5.3158733, -11.6881669, -20.7864202], [-4.7950094, -9.4476556, -20.6308133], [-4.1096394, -8.9604852, -20.2444396], [-3.924148, -7.1093029, -19.5361945], [-3.9740617, -7.0565874, -19.4923994], [-5.414252, -6.7002122, -19.5311262], [-5.961932, -6.9527039, -19.2722186], [-7.5398774, -6.2251289, -18.4703764], [-7.7175604, -5.5433063, -18.0762794], [-8.2844056, -5.3213458, -17.4338115], [-9.5080612, -5.6020532, -17.1659965], [-9.5441979, -5.581886, -17.1692699], [-11.0280618, -5.9799472, -17.055281], [-11.5034469, -6.6187019, -17.3524199], [-11.7918032, -6.6510741, -17.6205786], [-12.9481475, -5.8388516, -17.9994022], [-13.0733158, -5.0860458, -18.1083994], [-15.1770626, -3.2283171, -17.3723329], [-15.2048707, -2.9304131, -17.1293673], [-15.1561013, -2.8548521, -17.1141127], [-14.6494053, -2.7517807, -17.028477], [-13.0868837, -3.7722256, -16.1882801], [-11.3227305, -3.2490729, -14.3334616], [-10.8828883, -2.6656623, -14.170797], [-10.143999, -2.5489126, -14.1526963], [-8.9656258, -1.0064166, -13.6593887], [-7.4921754, -0.7763652, -12.5327762], [-7.0707436, -0.973009, -12.4966088], [-6.7075167, -1.9399326, -12.2095492], [-6.0563974, -2.2525273, -12.1771256], [-5.6393061, -3.1096627, -12.5685961], [-5.8051591, -4.4361001, -12.3594771], [-6.0216328, -4.6297692, -12.4104276], [-6.3126259, -4.6096392, -12.4654131], [-6.5590504, -4.3856451, -12.3860496], [-7.419233, -4.3895416, -11.7112845], [-7.5625678, -4.5053745, -11.680643], [-7.5809516, -4.6957159, -11.6535136], [-7.921892, -5.0257662, -11.7561537], [-9.1104483, -5.2341126, -11.3728499], [-9.7067004, -6.1371238, -10.581749], [-9.6700654, -6.282197, -10.5300685], [-10.6054103, -7.6557765, -9.6595751], [-10.4012461, -8.2717787, -8.9772966], [-9.5849483, -8.8778811, -8.7526709], [-9.5380651, -9.1295497, -8.7624186], [-10.1226048, -9.9999634, -8.9722031], [-10.1356936, -10.0046952, -8.9682476], [-11.7187667, -9.6065111, -9.3774345], [-12.336376, -8.7197713, -9.2803885], [-12.1467581, -7.682634, -9.1229986], [-11.6400034, -7.2363505, -9.3137756], [-8.8174106, -6.8427557, -8.561386], [-8.6857443, -6.6607632, -8.430854], [-9.2271857, -4.3485839, -7.5378143], [-8.2412146, -2.977678, -6.4084559], [-8.3805483, -2.6422088, -5.9568208], [-8.3131959, -2.5929798, -5.8486418], [-6.9513381, -3.0376234, -5.0134071], [-5.6159131, -2.0731358, -3.8288737], [-5.0434798, -0.5969066, -3.7565037], [-5.6109364, 1.1173595, -2.83403], [-6.4890211, 1.5787019, -2.6684418], [-6.6409876, 2.0871496, -2.5001456], [-6.4356422, 2.7050931, -2.6289625], [-6.1682251, 2.9041029, -2.5227611], [-6.0167338, 4.4894778, -1.7077804], [-7.8911257, 6.3775379, -0.4914721], [-7.8856484, 6.4295793, -0.4467608], [-8.1881676, 6.6035188, 0.0381471], [-8.082891, 6.9664376, 0.4804304], [-7.3689088, 7.1723129, 0.9682633], [-7.2079256, 7.1059266, 0.9862196], [-6.8197761, 6.3918471, 1.5019433], [-6.8624265, 6.1053378, 1.5204086], [-7.3987702, 5.7093776, 1.5985162], [-7.5821456, 4.8537026, 1.4239757], [-7.4992979, 4.6538889, 1.4942752], [-7.5791303, 4.4739928, 1.6470997], [-8.5099026, 4.1426739, 1.9688363], [-8.6825658, 3.7233736, 2.1761475], [-9.1390858, 3.5813764, 2.6310954], [-9.1503012, 3.3839405, 2.9035239], [-9.056342, 3.2882484, 2.9680973], [-9.1491033, 2.3393669, 3.4090414], [-7.8021578, 1.0068718, 5.076374], [-6.2081243, 0.6677983, 5.2749049], [-4.7378701, 1.5797319, 6.0026051], [-4.2380574, 4.3450275, 6.9169002], [-4.6357877, 5.099491, 6.8154054], [-4.4758422, 5.8779857, 6.2967487], [-4.6619187, 6.0615133, 6.0480796], [-4.6229899, 6.2712326, 5.9167971], [-3.6391455, 6.7161708, 5.0585809], [-1.9808196, 6.4744451, 4.9236756], [-1.9096243, 6.5152662, 4.954171], [-0.4037581, 6.0081645, 5.5970153], [-0.3655763, 5.9127903, 5.6522948], [0.3417343, 5.7233273, 6.4192948], [1.0353743, 5.9698017, 6.5763631], [1.7544612, 7.5637918, 7.2524504], [1.3258131, 8.5062366, 7.6916739], [0.9358178, 8.7328072, 7.6457693], [0.632945, 9.5425159, 7.1089855], [1.3748385, 11.5725008, 6.8315443], [0.6333253, 13.1364454, 6.571319], [0.7677394, 13.555135, 6.3387621], [0.2646098, 14.2801457, 5.3602709], [0.4948306, 14.5966547, 4.9040229], [0.4427392, 14.7244076, 4.8117148], [-1.2846231, 15.0593829, 3.3019169], [-1.4368282, 15.7297171, 2.3483291], [-1.8895346, 15.6987945, 1.7310406], [-2.2036562, 15.2047991, 1.3928248], [-1.9776964, 13.8833829, 1.1982295], [-1.4410569, 13.4408466, 0.7480716], [-1.4839953, 13.0831082, 0.3433796], [-1.3317613, 12.9873247, 0.1850152], [-1.2588387, 12.6033284, 0.0420342], [-1.4710152, 12.3203007, -0.2493807], [-3.0331432, 11.7463997, -0.4144199], [-3.2332149, 11.3713121, -0.3266554], [-2.6691854, 9.6368673, 0.0869995], [-3.1840445, 8.608227, 0.7963764], [-3.0513727, 8.3739495, 1.11843], [-3.6793446, 7.701017, 2.1884494], [-4.0852371, 7.7691819, 2.4459233], [-4.1724818, 7.6780646, 2.5539163], [-4.4145302, 7.7659373, 2.9127414], [-5.6027594, 9.7530814, 3.7748547], [-4.8704381, 12.1179585, 4.6628723], [-4.8002173, 12.1493685, 4.7053172], [-4.6001166, 12.1178854, 4.6944779], [-3.7386616, 11.2025436, 5.2212002], [-2.7782264, 11.250171, 5.692443], [-2.4623763, 10.9775143, 5.7540005], [-2.4314159, 10.9752021, 5.7435743], [-2.2386787, 10.7435308, 5.4843583], [-1.4554103, 10.8891455, 4.7922855], [-0.7868081, 12.4464947, 3.7062888], [-1.3781889, 15.0000883, 3.5636648], [-2.3312295, 15.7682643, 2.8539188], [-2.9103812, 15.7655794, 2.809898], [-3.171282, 15.5018766, 2.7945463], [-5.497122, 15.3166533, 3.5522421], [-6.6959625, 15.9690216, 3.2380676], [-7.6918412, 15.6803298, 2.5984048], [-8.0155546, 15.908755, 2.4063012], [-8.5277429, 15.8594437, 2.3752899], [-8.75225, 15.6421177, 2.1963085], [-8.9139678, 15.672088, 2.0289038], [-9.2865438, 16.2900688, 1.7222311], [-9.6625533, 16.3500693, 1.5232822], [-10.110801, 17.1840754, 0.5649583], [-10.9334988, 17.0375103, -0.6151965], [-10.9361185, 17.0424677, -0.620941], [-9.5361321, 19.2985708, -2.562773], [-9.2758788, 19.4050502, -2.5898068], [-7.7997672, 18.9588869, -3.546839], [-7.7364451, 18.8626814, -3.5597289], [-7.8847167, 18.1431146, -3.5932411], [-7.8519843, 18.0833352, -3.5703188], [-7.6664891, 17.9834569, -3.6170218], [-6.7144021, 18.1501098, -3.4168504], [-6.282587, 17.8357483, -3.3090242], [-5.2192286, 17.9207215, -3.4665504], [-4.6517027, 17.5111283, -3.9361574], [-4.2079342, 16.212609, -4.0114338], [-4.4073619, 15.8019543, -4.0952309], [-4.3047774, 15.4558108, -4.0627635], [-4.5014836, 14.9988541, -3.7747245], [-4.3632318, 14.772724, -3.4874315], [-4.8463594, 14.0382382, -2.6933084], [-4.2926002, 11.9556836, -1.8361423], [-4.0000735, 11.8108273, -1.5640073], [-1.5073035, 12.089564, -1.3113348], [-0.3742153, 13.4423671, -0.6255341], [1.3119246, 13.5591443, -0.2704158], [2.0574283, 12.9216852, 0.2978205], [2.6340962, 13.0659309, 0.9882791], [3.6952688, 14.5338816, 1.5705986], [3.0037334, 18.1028344, 2.50715], [2.4936924, 18.4303627, 2.8331174], [2.3385235, 20.4811598, 5.1056627], [2.6269937, 20.9285089, 5.246857], [2.4867038, 21.6216287, 5.2917147], [2.7902607, 22.0980314, 5.4582769], [2.4610856, 23.6023836, 6.6975459], [2.1894325, 23.8600325, 6.7372724], [2.1818901, 23.9847354, 6.7211245], [2.1021861, 24.058759, 6.7285733], [1.9948528, 24.9394333, 7.1930272], [2.1848981, 25.3309223, 7.1600041], [2.9485296, 25.6432604, 7.3485701], [3.2861443, 26.4435445, 7.4221823], [4.2393276, 26.9499438, 7.0649892], [6.2437097, 26.7716581, 7.5184303], [7.0640735, 27.4638425, 8.116041], [7.0881053, 28.5239233, 8.4892191], [8.1746978, 29.4473015, 9.3991382], [8.1549425, 29.6002483, 9.5860269], [9.1615597, 29.998768, 10.9960134], [9.199523, 30.4355372, 11.3450537], [10.5233745, 31.638107, 11.7880346], [10.6556826, 31.6356227, 11.8890869], [10.9206107, 31.4462181, 11.918544], [11.2424586, 29.5539832, 12.4104023], [11.6073879, 29.2770418, 12.4111517], [12.6855095, 29.3050732, 12.9182594], [13.1499199, 29.6263715, 12.8570842], [13.6820399, 29.5367108, 12.6649716], [15.2779765, 30.6765303, 12.3732741], [16.0526638, 30.6421762, 12.5975873], [16.4438267, 30.9890648, 13.0359166], [17.4108144, 30.627298, 14.0590039], [19.6028843, 32.0960773, 15.5522871], [19.6302913, 32.8609046, 16.1897725], [18.5581262, 34.6966661, 16.392863], [17.6661536, 34.9849675, 16.8575625], [17.5556192, 35.2522106, 16.978901], [17.3530511, 35.3544346, 16.984027], [17.075178, 35.299951, 17.134914], [16.9348573, 35.1554249, 17.1274146], [16.6821885, 35.1493023, 17.0778657], [15.7685442, 34.2600817, 17.1526553], [14.9822659, 34.1944748, 17.575336], [14.2463839, 34.5946228, 17.5250934], [14.0923864, 35.0467411, 17.6231157], [14.4056255, 35.6517822, 17.8033273], [14.736296, 35.8123632, 17.7273973], [17.1607034, 35.4569297, 18.5255799], [17.2337013, 35.5169921, 18.5823906], [17.2367484, 35.8752947, 18.7334725], [16.6559972, 36.6311292, 18.6893171], [15.5250597, 36.962116, 19.2551147], [14.0530741, 36.4007295, 19.21571], [13.5906637, 35.3757424, 19.2639501], [13.6178, 35.2953454, 19.2924261], [13.4727551, 35.0119867, 19.5714831], [13.4158897, 34.98272, 19.5816765], [13.1009561, 34.0664692, 19.5491449], [12.1107765, 33.5462014, 19.7688761], [11.2239271, 33.6673378, 19.4940306], [11.0993582, 33.5716169, 19.3667869], [10.9832245, 32.7838535, 19.1442144], [10.4411985, 32.4113978, 18.9210725], [10.2061881, 32.4171668, 18.9584506], [9.0341373, 31.4604046, 19.9946379], [9.0190072, 31.3767165, 20.0079769], [8.7478913, 31.1927502, 20.0604877], [8.5325159, 30.2093275, 20.5938692], [8.3867627, 30.1411962, 20.7724952], [8.5144114, 28.9574674, 22.1783542], [7.4041401, 28.1115626, 23.1347681], [6.2747822, 28.5200362, 24.1619246], [6.144981, 28.3846632, 24.4209165], [5.9230851, 28.5403257, 24.7928844], [3.9195858, 27.3526177, 26.76478], [3.9287557, 26.2224324, 27.6957907], [4.1360207, 25.9160763, 27.7355904], [5.2621975, 25.6018742, 28.4256957], [5.5362881, 24.890747, 28.9131061], [4.3740335, 23.0554554, 30.2083972], [4.7802368, 22.1014821, 31.2784146], [5.6478, 21.5258849, 31.480084], [5.7265759, 21.2414298, 31.4379593], [4.7188939, 19.5014217, 31.0925593], [5.0322497, 18.1861922, 30.3388905], [4.8976019, 18.0274026, 30.1020214], [2.7293819, 17.6766323, 29.3984608], [1.5632839, 15.9902563, 28.9845082], [1.7083702, 14.3987407, 29.2632399], [2.0315359, 14.0101083, 29.0835859], [2.6660613, 13.8540304, 29.1707731], [3.1805148, 12.9867443, 29.3757522], [3.1069482, 12.714393, 29.4943259], [4.0121708, 11.3572366, 31.0405141], [3.7858435, 11.0348072, 31.5608961], [4.0778275, 10.5836685, 32.0569691], [3.7093068, 9.1181401, 32.6234899], [3.9892132, 8.383627, 32.5063114], [4.6184476, 7.9624928, 32.7830768], [4.6949919, 7.3705972, 33.1197672], [4.0938792, 6.7363444, 33.531774], [3.5357278, 6.6374173, 33.5060027], [2.2940157, 5.2618529, 32.4467252], [1.7717307, 5.3197011, 32.0130524], [0.9578746, 4.4780434, 31.425917], [0.6624298, 4.4400828, 31.4199049], [-0.4961319, 3.3228166, 32.232246], [-0.9167257, 3.3848304, 32.6046568], [-1.501402, 2.7464216, 33.1467515], [-1.2189832, 1.4814998, 34.1256853], [-1.6403298, 1.1179616, 34.8379939], [-1.9316088, 1.0963063, 34.929223], [-2.4548446, 0.5224329, 34.9664183], [-4.2412463, 0.4178405, 35.384507], [-4.5520158, 0.0858425, 35.70788], [-4.5770563, 0.0916448, 35.7393827], [-4.7381575, 0.3604621, 35.87259], [-5.4531419, 0.4875295, 36.1699036], [-5.688554, 0.8851891, 36.5472486], [-6.0870447, 0.8494378, 37.0915409], [-6.4066918, 0.489398, 37.291326], [-8.0565694, 0.4678266, 37.7962221], [-8.8037119, -0.3551031, 38.5039865], [-9.3394505, -3.3628417, 38.4636177], [-10.8008143, -4.5574575, 37.6898375], [-13.9367008, -4.1852207, 37.0195337], [-14.2982719, -4.4768735, 36.8014083], [-15.0605798, -6.7914165, 37.0793967], [-14.9382968, -7.1418682, 36.9497274], [-14.6162505, -7.3049116, 36.9169801], [-14.3877598, -7.2387729, 36.9524732], [-13.571402, -6.1860384, 36.4908072], [-13.0162937, -6.1306113, 36.0139383], [-12.5179654, -6.5270659, 35.82514], [-10.7506556, -6.2528703, 35.2066098], [-10.2025543, -6.6880769, 34.6642794], [-9.3581772, -9.1398716, 34.4844086], [-9.4414592, -9.3262334, 34.4085719], [-9.2844485, -9.7137495, 34.3211351], [-9.1410255, -9.7757115, 34.2321059], [-9.030988, -10.2744302, 33.6437316], [-7.6349383, -10.3997395, 31.9589872], [-7.5614167, -10.553835, 31.8398897], [-7.115632, -10.752851, 31.761463], [-5.9798618, -12.6352702, 32.5625937], [-5.8102762, -12.668485, 32.6996459], [-5.1134127, -14.3002496, 33.8453277], [-3.859402, -14.8573538, 34.1110687], [-3.4969352, -15.4671545, 33.887941], [-3.5238294, -15.8621643, 33.970606], [-2.8318707, -16.6248545, 34.3586452], [-2.8388799, -16.8480711, 34.3828991], [-3.7520119, -17.8308832, 35.1297771], [-3.7003471, -18.1001707, 35.4346277], [-2.0619856, -19.2791287, 36.1532377], [-2.0404191, -19.2753558, 36.1571462], [-1.4486938, -18.4726739, 36.7152229], [-1.4170331, -18.0411359, 36.6886622], [-1.4751078, -17.9615681, 36.7198147], [-3.5756279, -17.6728054, 37.1316237], [-5.2805945, -18.746174, 36.7755006], [-5.7725615, -18.6702565, 36.4221541], [-6.0598206, -19.0191587, 35.9385242], [-5.4736962, -21.8752245, 34.5076422], [-6.0134883, -22.5193415, 33.9770775], [-6.3435684, -22.6193786, 33.9774951], [-6.8076802, -23.2902695, 34.3669914], [-6.5599723, -24.925102, 34.582869], [-7.170424, -25.7445431, 34.8586794], [-7.5814465, -25.8754268, 34.7605071], [-10.3496036, -25.0390605, 35.621248], [-10.6331586, -24.5897929, 35.5916295], [-10.5255068, -24.11474, 35.5302057], [-10.6177559, -23.9521121, 35.4315886], [-10.3469523, -23.3127226, 34.6650263], [-9.669426, -22.9799503, 34.4267366], [-8.2170764, -23.515325, 34.0853617], [-7.6025602, -23.301396, 34.1967884], [-7.2954358, -22.883276, 34.0101], [-7.30021, -22.2811044, 34.0839071], [-6.6035044, -21.5838044, 34.2605081], [-4.8523705, -21.5916523, 34.9910299], [-4.5729924, -21.2771692, 35.3918453], [-4.5139154, -20.751543, 35.489629], [-4.2108612, -20.4945662, 35.4722099], [-4.178328, -20.189007, 35.5214856], [-3.4233084, -19.50511, 36.1662389], [-3.7137312, -17.6667286, 38.3265304], [-4.5035175, -17.1000855, 38.715236], [-5.4676138, -17.2608299, 38.8775302], [-7.0189183, -19.2734209, 40.352854], [-7.1315171, -20.4872095, 40.2971514], [-6.4800457, -21.3866625, 40.6281617], [-6.2338132, -21.4197459, 40.6840899], [-5.4913442, -22.3993998, 41.3735362], [-5.286865, -22.3958505, 41.6069393], [-4.3264237, -21.5946764, 41.9805408], [-4.3225212, -21.5253384, 42.0], [-3.4051192, -20.5701594, 41.8944073], [-3.3141424, -19.5118485, 41.2626757], [-3.8912462, -18.5135986, 41.2568], [-3.719514, -17.8359762, 41.3645477], [-3.8529456, -17.5907377, 41.3370885], [-3.7105534, -16.896151, 40.9253307], [-3.7185225, -16.8876634, 40.9125599], [-3.4707072, -16.2857198, 40.3077996], [-4.0124369, -15.2062919, 39.7984894], [-4.023801, -15.2035097, 39.7886254], [-4.2749253, -15.2892961, 39.7610621], [-4.9361301, -16.5542323, 39.183626], [-4.2850082, -18.3259713, 38.5862784], [-4.6135913, -18.97133, 38.1070895], [-4.4700777, -19.2101795, 37.7608795], [-3.3123049, -19.6087853, 37.3407762], [-3.2091679, -19.553436, 37.3071196], [-1.8171112, -19.8472215, 37.4347134], [0.3775147, -18.7244022, 38.9394511], [1.2527817, -17.0439175, 38.981116], [0.9136204, -15.9396974, 39.1584587], [1.700337, -14.278807, 38.9435396], [1.9944742, -14.1197495, 39.0709638], [2.9490928, -14.2166181, 38.9178075], [4.0011086, -13.3466479, 38.4477128], [4.0544561, -12.0299047, 37.9250465], [4.3923172, -11.756433, 37.5608538], [4.4652894, -11.7485079, 37.5532528], [4.9790969, -12.143997, 37.3033628], [5.2095622, -12.1101025, 37.2562998], [5.5073932, -12.2814529, 37.3337171], [5.5917954, -12.4528521, 37.2737988], [5.387125, -13.4088569, 37.3929359], [4.5301975, -13.9625753, 37.4513251], [4.0514151, -15.8226179, 38.1715516], [4.9411662, -18.4741715, 37.6462622], [4.4878967, -19.4582433, 36.9864806], [3.1170162, -19.9269443, 36.5825833], [2.6415904, -20.9962018, 36.0339114], [3.0272265, -23.3065528, 36.2793827], [2.9715374, -23.3995433, 36.3424624], [1.8546341, -23.7075573, 36.559429], [-0.1535258, -22.6382933, 36.484432], [-0.3942714, -22.0881186, 36.7428877], [-0.7165418, -21.9877246, 37.0709608], [-1.6885782, -22.457902, 37.4074273], [-1.7015117, -22.4528427, 37.4115994], [-1.9845424, -22.5851811, 37.6260614], [-2.6800305, -23.6659633, 37.6473809], [-5.0385237, -24.3466364, 36.8077528], [-6.9402153, -23.2318522, 36.3066628], [-7.4288185, -21.8986598, 36.5378118], [-8.2629019, -21.430214, 37.2046151], [-8.2879887, -20.6806098, 37.9854862], [-7.7359998, -20.2091497, 38.3447702], [-7.1774487, -20.2165519, 38.3896889], [-6.1308383, -21.0917558, 39.191465], [-5.9137247, -21.8664654, 39.1852865], [-6.3516487, -22.6786719, 39.348646], [-7.0903046, -22.8888418, 39.5950187], [-7.4904662, -22.7496535, 39.5129654], [-9.1934066, -23.4613048, 38.2110818], [-9.2623658, -23.4144706, 38.1457821], [-9.9000865, -23.5771446, 37.8949638]];
      let geometricBasePath = [[-42.0, 18.3872033, 11.3344197], [-41.9999376, 18.3870891, 11.3342612], [-41.9984844, 18.3844299, 11.3305688], [-41.9973493, 18.3823531, 11.3276852], [-41.994972, 18.3780034, 11.3216463], [-41.9821858, 18.3546102, 11.2891718], [-41.9753513, 18.3421085, 11.2718229], [-41.9752744, 18.341968, 11.2716279], [-41.974737, 18.3409854, 11.2702652], [-41.9747353, 18.3409823, 11.2702609], [-41.969848, 18.3320478, 11.2578753], [-41.9641349, 18.3216049, 11.2434017], [-41.9592596, 18.3126946, 11.2310551], [-41.9592216, 18.3126251, 11.2309588], [-41.9472758, 18.2907981, 11.2007279], [-41.9450744, 18.2867764, 11.1951593], [-41.9371419, 18.272287, 11.1751022], [-41.9355899, 18.2694526, 11.1711797], [-41.9244786, 18.2491635, 11.1431103], [-41.9146357, 18.2311937, 11.1182576], [-41.9146023, 18.2311327, 11.1181732], [-41.9141205, 18.2302535, 11.1169582], [-41.9072738, 18.2177607, 11.0996969], [-41.8842019, 18.1756697, 11.041558], [-41.8838172, 18.1749682, 11.0405894], [-41.8807393, 18.1693556, 11.0328429], [-41.878576, 18.1654115, 11.0274013], [-41.8734426, 18.1560545, 11.014496], [-41.8709338, 18.1514823, 11.0081921], [-41.8676195, 18.1454434, 10.9998689], [-41.8638841, 18.1386384, 10.9904927], [-41.7685042, 17.9649123, 10.751204], [-41.764959, 17.9584577, 10.7423196], [-41.759152, 17.9478888, 10.7277816], [-41.7440539, 17.9204201, 10.6900216], [-41.73515, 17.9042268, 10.6677761], [-41.7043892, 17.8483043, 10.5910032], [-41.7040672, 17.8477191, 10.5902005], [-41.6860902, 17.8150638, 10.5454339], [-41.6683247, 17.7828057, 10.5012437], [-41.6569806, 17.7622162, 10.473059], [-41.6418069, 17.7346876, 10.4354038], [-41.6335071, 17.7196363, 10.4148314], [-41.6207519, 17.6965152, 10.3832524], [-41.6191638, 17.6936377, 10.3793252], [-41.6187536, 17.6928946, 10.3783119], [-41.6172808, 17.6902282, 10.374678], [-41.5933894, 17.6469902, 10.3157911], [-41.5917832, 17.6440846, 10.3118367], [-41.5766688, 17.6167524, 10.2746642], [-41.576516, 17.6164762, 10.2742888], [-41.5736638, 17.6113224, 10.2672891], [-41.5598006, 17.5862815, 10.2333018], [-41.4845278, 17.4503679, 10.0489525], [-41.4808373, 17.4437073, 10.0399258], [-41.4727003, 17.4290285, 10.0200481], [-41.4574183, 17.4014727, 9.9827626], [-41.4545338, 17.3962738, 9.9757335], [-41.3678966, 17.2401929, 9.7648758], [-41.338339, 17.1869718, 9.693045], [-41.3007531, 17.1193328, 9.6018442], [-41.1853493, 16.9117742, 9.3222726], [-41.1807056, 16.9034281, 9.3110446], [-41.1795913, 16.9014268, 9.3083556], [-41.1649088, 16.8750738, 9.2729886], [-41.142964, 16.8357123, 9.2202259], [-41.1152451, 16.7860271, 9.1537039], [-41.1098095, 16.7762906, 9.1406837], [-41.100114, 16.7589352, 9.117503], [-41.0662437, 16.6983454, 9.0366715], [-41.0645358, 16.6952921, 9.0326032], [-40.9875206, 16.5577055, 8.8494912], [-40.925898, 16.4476969, 8.7032717], [-40.8847831, 16.3743547, 8.6059216], [-40.8726007, 16.3526405, 8.5771401], [-40.8715876, 16.3508362, 8.5747519], [-40.8474658, 16.3079069, 8.5180079], [-40.8381109, 16.2912708, 8.4960487], [-40.8368064, 16.2889527, 8.492993], [-40.8162392, 16.2524321, 8.4449167], [-40.8111478, 16.243398, 8.43304], [-40.7999108, 16.2234741, 8.4068815], [-40.7760277, 16.1811582, 8.3513969], [-40.768757, 16.1682854, 8.3345404], [-40.7606237, 16.1538957, 8.3157221], [-40.679878, 16.011138, 8.1292696], [-40.6663338, 15.9872101, 8.0980613], [-40.6536061, 15.9647417, 8.068797], [-40.653597, 15.9647257, 8.0687761], [-40.6399463, 15.9406638, 8.0375213], [-40.6280401, 15.9196921, 8.0103169], [-40.6013153, 15.8726531, 7.9493795], [-40.6007235, 15.8716123, 7.9480329], [-40.5896752, 15.8521939, 7.922944], [-40.5892792, 15.8514984, 7.9220467], [-40.4100329, 15.5369028, 7.5166396], [-40.276839, 15.3033266, 7.2160935], [-40.164437, 15.1063915, 6.9631159], [-40.0999054, 14.9934388, 6.8182791], [-40.0894325, 14.9751262, 6.7948406], [-40.0351806, 14.8803572, 6.6737663], [-40.0256265, 14.8636847, 6.6525059], [-39.9117738, 14.6652068, 6.3998797], [-39.903132, 14.6501579, 6.380763], [-39.8657513, 14.5851318, 6.2983213], [-39.8052941, 14.4800749, 6.1653906], [-39.8023399, 14.4749471, 6.1589154], [-39.7385919, 14.3644124, 6.0196144], [-39.7304003, 14.3502244, 6.0017706], [-39.6796297, 14.262385, 5.8915219], [-39.4632127, 13.8883714, 5.423059], [-39.4494048, 13.8645379, 5.3932753], [-39.445234, 13.8573477, 5.3843105], [-39.4189611, 13.8121092, 5.3280338], [-39.2620168, 13.5421986, 4.993024], [-39.2616231, 13.5415224, 4.9921866], [-39.2402293, 13.5048239, 4.9468551], [-39.2360642, 13.4976882, 4.9380619], [-39.2360271, 13.4976249, 4.9379839], [-39.0354229, 13.1548027, 4.5175032], [-39.0309077, 13.1470969, 4.5080758], [-38.9476976, 13.005274, 4.3350005], [-38.9451247, 13.0008947, 4.3296698], [-38.94122, 12.9942576, 4.3216115], [-38.7910305, 12.739303, 4.0128455], [-38.7339004, 12.6424572, 3.8958708], [-38.7233889, 12.6246635, 3.8744367], [-38.545336, 12.3236788, 3.5128438], [-38.4269578, 12.1238667, 3.2734774], [-38.3924219, 12.0656626, 3.203956], [-38.3194506, 11.9428714, 3.0577208], [-38.3064427, 11.9210166, 3.0317713], [-38.143039, 11.6469043, 2.7072721], [-38.1080122, 11.5882415, 2.6380427], [-38.1036945, 11.5810219, 2.6295494], [-37.9132378, 11.2630722, 2.2566697], [-37.8218086, 11.1106973, 2.0785556], [-37.8130362, 11.0961025, 2.0615526], [-37.7499191, 10.9912723, 1.9398306], [-37.389285, 10.3933299, 1.2478773], [-36.6162157, 9.1139872, -0.2271462], [-36.600479, 9.0880044, -0.2569713], [-36.5101818, 8.9392549, -0.4269662], [-36.0883561, 8.2459666, -1.2157332], [-36.0816641, 8.2349956, -1.2281546], [-36.0195767, 8.1334602, -1.3425568], [-36.0032697, 8.1068589, -1.3723827], [-35.9676414, 8.0488826, -1.4370688], [-35.9657451, 8.0458044, -1.4404864], [-35.8563863, 7.8687239, -1.6361265], [-35.8539985, 7.8648671, -1.6403663], [-35.8515479, 7.8609185, -1.6446853], [-35.7464861, 7.6920474, -1.8284796], [-35.4701759, 7.2490163, -2.3082215], [-35.4467425, 7.2115406, -2.3485876], [-35.4464543, 7.2110808, -2.3490802], [-35.133226, 6.7127157, -2.880198], [-35.1315157, 6.7100018, -2.883074], [-35.033651, 6.5551239, -3.0462957], [-35.0082503, 6.5150333, -3.0883072], [-34.8644053, 6.2886071, -3.3242342], [-34.7684645, 6.137998, -3.4802525], [-34.7139996, 6.0527334, -3.5680596], [-34.2423561, 5.3164075, -4.3218416], [-34.1717504, 5.2065041, -4.4336379], [-34.097792, 5.0917232, -4.5496483], [-34.0115875, 4.9583351, -4.6835919], [-33.9193573, 4.8160509, -4.8255313], [-33.9035286, 4.7917054, -4.8496562], [-33.9008946, 4.7876663, -4.8536319], [-33.9007153, 4.7873922, -4.8538999], [-33.8542252, 4.7165261, -4.9227214], [-33.8325422, 4.6835721, -4.9545077], [-33.8098729, 4.6492209, -4.9874161], [-33.6445726, 4.3994751, -5.2250323], [-33.4639816, 4.1274452, -5.4820383], [-33.4606719, 4.122475, -5.4867003], [-33.1822864, 3.705687, -5.8748339], [-33.1794151, 3.7014018, -5.8787948], [-33.1778289, 3.6990418, -5.8809599], [-33.1685789, 3.6853225, -5.8934517], [-32.9745609, 3.3984501, -6.1526836], [-32.9690611, 3.3903438, -6.1599523], [-32.9496762, 3.3618617, -6.1852926], [-32.8085377, 3.1551369, -6.3677746], [-32.7872423, 3.1240445, -6.3950019], [-32.5127964, 2.7246064, -6.741977], [-32.5088722, 2.7189136, -6.7468811], [-32.3328602, 2.4644029, -6.9643061], [-32.1121544, 2.1463186, -7.2337277], [-31.7894024, 1.6827334, -7.6229617], [-31.436086, 1.1770187, -8.0437341], [-31.4322375, 1.1715301, -8.0482581], [-31.4146297, 1.1465093, -8.0686869], [-31.1574446, 0.7823597, -8.3631711], [-31.0092646, 0.5733239, -8.5305601], [-30.9120794, 0.4367369, -8.6388416], [-30.8616329, 0.3661039, -8.6942682], [-30.8425769, 0.3395227, -8.7149121], [-30.8425737, 0.3395183, -8.7149156], [-30.8392784, 0.334956, -8.718385], [-30.8251655, 0.3154896, -8.7330315], [-30.578862, -0.0229863, -8.9849646], [-30.5778378, -0.0243885, -8.9859967], [-30.5258808, -0.0952497, -9.0375769], [-29.9971834, -0.8135843, -9.5545441], [-29.9968837, -0.8139898, -9.5548325], [-29.9067713, -0.9354548, -9.6401841], [-29.7178049, -1.1891537, -9.8162867], [-29.6193467, -1.3208057, -9.9065344], [-29.6050407, -1.3398569, -9.9194284], [-29.4971497, -1.4829521, -10.0150311], [-29.270057, -1.7829129, -10.2128084], [-29.2699355, -1.7830727, -10.2129124], [-29.2394596, -1.8229937, -10.2385253], [-29.2254513, -1.8412673, -10.2500868], [-29.0937985, -2.0122954, -10.356768], [-29.0557523, -2.0615141, -10.3870264], [-28.8199234, -2.36532, -10.5710599], [-28.8167651, -2.3693714, -10.5734771], [-28.752465, -2.4515026, -10.621729], [-28.7457893, -2.4599932, -10.6266392], [-28.737929, -2.469948, -10.6323047], [-28.7337474, -2.4752214, -10.6352573], [-28.5755005, -2.6739387, -10.7446848], [-28.5743949, -2.6753211, -10.7454332], [-28.5673381, -2.684107, -10.7501076], [-27.7058632, -3.752085, -11.3083319], [-27.2255072, -4.3448658, -11.6124516], [-27.1259169, -4.4671827, -11.6740015], [-27.1145838, -4.4810358, -11.6808352], [-26.8197838, -4.8396693, -11.8541835], [-26.7716055, -4.8979948, -11.8817887], [-26.7578106, -4.9146139, -11.8894863], [-26.5558157, -5.1567765, -11.9991918], [-26.481751, -5.245131, -12.0383128], [-26.4219506, -5.3161155, -12.0690108], [-25.7756634, -6.079458, -12.3912107], [-25.7719438, -6.0838284, -12.3930092], [-25.6128194, -6.2698252, -12.4675705], [-25.5731898, -6.3159043, -12.4855483], [-25.464176, -6.4419926, -12.5333818], [-25.4629126, -6.4434461, -12.5339174], [-25.0223895, -6.9475849, -12.7141894], [-24.7146754, -7.2978181, -12.8355498], [-24.0647118, -8.0334847, -13.0822302], [-23.8264687, -8.3015842, -13.1690725], [-23.653109, -8.4955254, -13.22966], [-23.1655841, -9.0376981, -13.3927313], [-21.9431659, -10.3888499, -13.7831833], [-21.7438845, -10.6076811, -13.8437724], [-21.7241499, -10.6292086, -13.8494695], [-21.7071331, -10.6476485, -13.8541217], [-21.2702148, -11.1179608, -13.9669203], [-21.127505, -11.270533, -14.0015859], [-21.1186694, -11.2799144, -14.0035977], [-21.0297269, -11.3737004, -14.0225008], [-21.0018422, -11.4028997, -14.028006], [-20.9809226, -11.4246531, -14.0318213], [-20.978269, -11.4273932, -14.0322655], [-20.6975513, -11.7152307, -14.0750706], [-20.6891091, -11.7238255, -14.0762322], [-20.6785254, -11.7345235, -14.0775316], [-20.6704687, -11.7426088, -14.0784017], [-20.6242759, -11.788633, -14.0827116], [-20.5908994, -11.8216474, -14.085337], [-20.4366207, -11.9731454, -14.0952226], [-20.4329789, -11.9766954, -14.095403], [-20.4142874, -11.9947816, -14.0960587], [-20.4138597, -11.9951924, -14.0960675], [-20.4138597, -11.9951924, -14.0960675], [-20.3347133, -12.0700868, -14.0954369], [-20.3194545, -12.0844179, -14.0950982], [-20.3180098, -12.0857646, -14.0950456], [-19.6478254, -12.7057674, -14.0612162], [-19.26842, -13.0540337, -14.0367439], [-19.2455575, -13.0748534, -14.0349504], [-19.1559692, -13.1557863, -14.0266778], [-18.9652018, -13.3267388, -14.0064238], [-18.7460593, -13.5215231, -13.9801419], [-18.7353762, -13.5309405, -13.9787144], [-18.6996351, -13.5621866, -13.9734516], [-18.2268986, -13.9720288, -13.8974234], [-18.0930573, -14.0870757, -13.8740967], [-18.0608678, -14.1145071, -13.8680554], [-17.8683119, -14.2771807, -13.8293482], [-17.8335304, -14.3063072, -13.8218954], [-17.8226316, -14.3153535, -13.8194161], [-17.8221994, -14.315709, -13.8193121], [-17.808775, -14.3266545, -13.8159057], [-17.8070878, -14.3280178, -13.8154555], [-17.7970681, -14.3360411, -13.8126517], [-17.7933886, -14.3389606, -13.8115744], [-17.4504972, -14.6085557, -13.7067459], [-16.4055055, -15.4225436, -13.3739078], [-16.3965927, -15.429419, -13.370958], [-16.3916348, -15.4332064, -13.3692555], [-16.3776711, -15.4437689, -13.3642876], [-16.3555907, -15.4603061, -13.3561597], [-15.8621832, -15.8261745, -13.1684692], [-15.8449568, -15.8388183, -13.161708], [-15.3664644, -16.1864242, -12.9681383], [-14.9886134, -16.4580457, -12.810804], [-14.8686029, -16.5433967, -12.7594303], [-14.8512204, -16.5556257, -12.7517875], [-14.8506138, -16.5560478, -12.7515138], [-14.671568, -16.6792756, -12.6686531], [-14.6534767, -16.6915886, -12.6600738], [-14.3797583, -16.8757937, -12.5271505], [-14.3247035, -16.9124222, -12.4997952], [-13.8373935, -17.2329038, -12.2522054], [-13.6119855, -17.3794014, -12.13521], [-13.5805977, -17.3995576, -12.1185783], [-13.084842, -17.7140757, -11.8505362], [-13.0533901, -17.7337835, -11.8331992], [-12.9413685, -17.8031019, -11.7702735], [-12.9269796, -17.8118933, -11.7620408], [-12.9262543, -17.8123308, -11.7616182], [-12.8464927, -17.8598221, -11.7143252], [-12.6857186, -17.9543002, -11.61734], [-12.457512, -18.0866288, -11.4773478], [-12.3567936, -18.1442457, -11.4145488], [-12.3508057, -18.1476244, -11.4107555], [-12.1245613, -18.2735225, -11.2651742], [-12.031475, -18.3245954, -11.2043616], [-11.4836013, -18.6209164, -10.8410963], [-11.3952437, -18.6680092, -10.7816777], [-10.9859377, -18.8829369, -10.5025947], [-10.9851945, -18.8833212, -10.5020812], [-10.7572486, -18.9994072, -10.3425051], [-10.7126301, -19.0217764, -10.3108701], [-10.3329141, -19.2091366, -10.0382643], [-10.2652745, -19.241973, -9.9891181], [-10.1839062, -19.2808268, -9.9292961], [-10.0125855, -19.3612708, -9.8018763], [-10.0124062, -19.3613536, -9.8017414], [-9.7652309, -19.4734821, -9.6137413], [-9.6899415, -19.5070365, -9.5558557], [-9.6736556, -19.5141649, -9.5432011], [-9.450176, -19.6102058, -9.3677273], [-9.3880763, -19.6363984, -9.3184701], [-8.5076207, -20.0007484, -8.6130944], [-8.4920733, -20.0070569, -8.6005241], [-8.4912018, -20.0074035, -8.5998131], [-8.4624106, -20.0186227, -8.5761121], [-8.0230735, -20.1862933, -8.2112382], [-7.3066091, -20.4539481, -7.6111904], [-7.2477673, -20.4754513, -7.5615267], [-7.1889295, -20.4964746, -7.5114863], [-6.7671681, -20.6437452, -7.1500815], [-6.3996668, -20.7690695, -6.8329249], [-6.3767646, -20.7766919, -6.8130261], [-6.2557318, -20.8159842, -6.7071601], [-6.2006552, -20.8334134, -6.6586691], [-6.0887133, -20.8679216, -6.559475], [-5.8956356, -20.9258607, -6.3873019], [-5.8864594, -20.9285391, -6.379069], [-5.8771584, -20.9311778, -6.3706735], [-5.8647807, -20.934588, -6.3594334], [-5.7384872, -20.9683511, -6.2440624], [-5.7347978, -20.9693072, -6.2406724], [-5.7308526, -20.9702974, -6.2370263], [-5.7059132, -20.9763533, -6.2138456], [-5.5362306, -21.016172, -6.055231], [-5.3459531, -21.0592703, -5.876383], [-5.3432983, -21.0598499, -5.8738743], [-4.9702976, -21.1382439, -5.5195424], [-4.8762907, -21.1572326, -5.4297971], [-4.7613005, -21.1795193, -5.3194857], [-4.7543371, -21.180812, -5.3127739], [-4.6329868, -21.202347, -5.1952576], [-4.6329646, -21.2023508, -5.195236], [-4.3321634, -21.2508156, -4.9012647], [-4.2070962, -21.2699436, -4.7785113], [-4.0863262, -21.2874267, -4.6594799], [-4.0339846, -21.2945758, -4.607682], [-3.1101279, -21.4132083, -3.6897609], [-3.1029493, -21.4140713, -3.6826051], [-2.4182119, -21.4907624, -2.9978488], [-1.9791385, -21.5363285, -2.5575884], [-1.9433957, -21.5397435, -2.5216659], [-1.9414099, -21.5399169, -2.5196655], [-1.6487642, -21.5630584, -2.2242058], [-1.2106513, -21.5940937, -1.7809787], [-0.943296, -21.6108279, -1.5100471], [-0.5057219, -21.6346057, -1.0659684], [-0.3981044, -21.6395648, -0.956629], [-0.3651243, -21.6408121, -0.9230868], [-0.3182422, -21.6421978, -0.8753577], [-0.3052201, -21.642475, -0.8620876], [0.035272, -21.64691, -0.5147784], [0.9455665, -21.6512395, 0.4143744], [0.9460703, -21.6512377, 0.4148886], [0.984021, -21.6507902, 0.453622], [1.0199972, -21.650068, 0.4903375], [1.1039796, -21.6476868, 0.5760366], [1.1072361, -21.6475675, 0.5793592], [1.2056748, -21.6431448, 0.6797754], [1.2146235, -21.6426686, 0.6889017], [1.2624701, -21.6397254, 0.7376844], [1.3470114, -21.6338235, 0.8238543], [1.3525025, -21.6333946, 0.8294491], [1.3590917, -21.6328252, 0.8361602], [1.4736357, -21.6219755, 0.9527806], [1.5000049, -21.6192587, 0.9796154], [1.5461922, -21.6141162, 1.0265948], [1.5582063, -21.6126787, 1.0388086], [1.5605545, -21.6123782, 1.0411945], [1.6774736, -21.5964428, 1.1599284], [2.3522455, -21.49886, 1.8447389], [2.6376741, -21.4552139, 2.1340732], [3.0105967, -21.3950966, 2.5115673], [3.9346556, -21.2384815, 3.4453556], [4.0126794, -21.2246145, 3.5240074], [4.1078889, -21.206908, 3.6197409], [4.1216398, -21.2042373, 3.6335314], [4.1282648, -21.2028958, 3.640158], [4.3290737, -21.1605766, 3.8404837], [4.6272792, -21.0952682, 4.1371335], [4.6280874, -21.0950845, 4.137935], [4.9376959, -21.0221672, 4.4440372], [4.9391293, -21.0218178, 4.4454496], [5.0574865, -20.9919894, 4.5616832], [5.1170841, -20.9764774, 4.6200083], [5.4866104, -20.8772441, 4.9803661], [5.6194982, -20.8404624, 5.1094576], [5.6410781, -20.8343115, 5.1303377], [5.7497259, -20.8024466, 5.2350397], [6.2475919, -20.6523194, 5.7128444], [6.5685771, -20.5528898, 6.0194934], [6.594485, -20.5446518, 6.0441244], [6.7761296, -20.4854021, 6.2159716], [6.8139042, -20.4727705, 6.2515276], [6.8167826, -20.4717843, 6.254223], [7.3778616, -20.2749317, 6.7769181], [7.521975, -20.2231902, 6.9104121], [7.5831359, -20.2007307, 6.9667364], [7.6307254, -20.1828651, 7.0103032], [7.821616, -20.1096371, 7.1840093], [7.8929617, -20.0816834, 7.2485295], [7.9234488, -20.0694883, 7.2759259], [7.9294069, -20.0670561, 7.2812458], [7.9473615, -20.0595791, 7.2971739], [7.9691144, -20.0503411, 7.3163458], [8.2585026, -19.9250565, 7.5697189], [8.2779805, -19.9164637, 7.5866554], [8.6391977, -19.7541342, 7.8985581], [8.8276412, -19.6679019, 8.0600845], [8.8458038, -19.6594418, 8.0755355], [9.0509415, -19.5622044, 8.2487154], [9.0751867, -19.5505131, 8.2690225], [9.0780207, -19.5491233, 8.2713773], [9.0980463, -19.5391376, 8.2878826], [9.7240409, -19.2218284, 8.7996302], [10.4327131, -18.8568263, 9.373897], [10.433503, -18.856413, 9.3745311], [10.4377088, -18.8541789, 9.3778749], [10.6273328, -18.7519112, 9.5271751], [10.7442708, -18.6878976, 9.618331], [10.7623892, -18.6778327, 9.6323112], [10.7624983, -18.6777712, 9.6323945], [10.7785534, -18.6685917, 9.644527], [10.8915751, -18.6030504, 9.7290313], [11.3022701, -18.3615426, 10.0327779], [11.999873, -17.9456732, 10.5428843], [12.2022892, -17.8233879, 10.6891126], [12.2363509, -17.8025388, 10.713414], [12.2502494, -17.7939205, 10.7232048], [12.8562032, -17.4133253, 11.1445918], [13.0534294, -17.2878887, 11.2798875], [13.2024564, -17.1919303, 11.3806943], [13.2218933, -17.1792615, 11.3936541], [13.2484956, -17.1617121, 11.4111331], [13.2614576, -17.1530584, 11.4195233], [13.2669549, -17.1493446, 11.4230279], [13.3282273, -17.1074626, 11.4614872], [13.3465952, -17.0947609, 11.4728348], [13.5269442, -16.9686038, 11.5824635], [13.7344268, -16.8218098, 11.706501], [13.7344332, -16.8218053, 11.7065048], [14.8048007, -16.0474479, 12.3245578], [14.8126814, -16.0416853, 12.3290233], [15.1374339, -15.8016885, 12.5095282], [15.1387559, -15.8007012, 12.5102485], [15.1919031, -15.7606, 12.5386166], [15.1924103, -15.7602134, 12.5388816], [15.1969702, -15.7567016, 12.5412141], [15.2922181, -15.6826023, 12.5888681], [15.3211942, -15.6598327, 12.6030388], [15.4344743, -15.5699264, 12.6571558], [15.5035615, -15.5145514, 12.6893726], [15.6869277, -15.3661364, 12.7727761], [15.7078053, -15.3490743, 12.7820304], [15.7205162, -15.3385864, 12.7875166], [15.7524285, -15.3120031, 12.8009178], [15.7671562, -15.2996183, 12.8069297], [15.902204, -15.1849808, 12.8604648], [16.4187853, -14.7423749, 13.0591118], [16.4361002, -14.7274041, 13.0655607], [17.044239, -14.1968268, 13.2846745], [17.3865457, -13.8955411, 13.4037684], [17.6708455, -13.6431404, 13.4991154], [17.7930771, -13.5336964, 13.5385594], [17.8718744, -13.4625456, 13.5629814], [18.2148113, -13.1502855, 13.6648671], [19.5470633, -11.9271942, 14.0433807], [19.5917414, -11.8858576, 14.0554767], [20.4758478, -11.0615361, 14.2829455], [20.5043219, -11.0347902, 14.289881], [20.5513536, -10.9902859, 14.3006879], [20.5837655, -10.9593899, 14.3076862], [20.9480138, -10.6096297, 14.3812573], [20.961197, -10.5968798, 14.3837345], [20.9626691, -10.5954458, 14.3839903], [20.9637693, -10.5943664, 14.3841659], [21.0563505, -10.5028907, 14.3976159], [21.0738917, -10.485436, 14.3999123], [21.1396904, -10.4194982, 14.4075764], [21.2093225, -10.3492279, 14.4146764], [21.3274774, -10.2291552, 14.4249996], [21.7154429, -9.8321534, 14.4532019], [21.8527039, -9.69074, 14.4611514], [21.9673274, -9.5718524, 14.4660863], [22.2261993, -9.3015523, 14.4733629], [22.2314971, -9.2959842, 14.4734322], [22.5159008, -8.9950971, 14.4728549], [22.5440872, -8.9650838, 14.4723696], [22.8479809, -8.6394014, 14.4624957], [22.8504557, -8.6367324, 14.4623773], [22.8599747, -8.6264009, 14.4617751], [23.2085157, -8.2457134, 14.4343164], [23.227095, -8.2252945, 14.4325633], [23.3524752, -8.0866449, 14.4187692], [23.3808774, -8.0550435, 14.4151975], [23.4096768, -8.0228035, 14.4111201], [23.7537646, -7.6352453, 14.35693], [23.8106335, -7.5708072, 14.3470668], [23.8511369, -7.5246382, 14.3393925], [24.0344301, -7.3144585, 14.3017087], [24.8295931, -6.3972733, 14.1253637], [24.9151485, -6.2980343, 14.1050121], [25.3072418, -5.8406866, 14.005397], [25.4010554, -5.7306631, 13.9800443], [25.4094581, -5.720755, 13.9776368], [25.4138445, -5.7155547, 13.9763083], [25.4225833, -5.7051381, 13.9735176], [25.4260215, -5.7010176, 13.9723627], [25.4316162, -5.6942761, 13.97039], [25.568738, -5.5281467, 13.9197406], [25.6358754, -5.4463678, 13.893811], [25.6946889, -5.3743427, 13.8701009], [25.7144798, -5.3499761, 13.8617856], [25.7556901, -5.2989659, 13.8437656], [25.7673418, -5.2844661, 13.8384702], [26.3147259, -4.5996353, 13.5802128], [26.315725, -4.5983788, 13.5797243], [26.3281037, -4.5827316, 13.5734574], [26.4023829, -4.4883537, 13.53456], [26.541297, -4.3109423, 13.4593871], [26.7424935, -4.0526758, 13.3469843], [26.8447578, -3.9207422, 13.2880594], [26.8454022, -3.9199066, 13.2876768], [26.8597666, -3.9011883, 13.2788928], [26.8601016, -3.9007496, 13.278682], [26.9348914, -3.8023075, 13.2302697], [27.0379311, -3.6660004, 13.161712], [27.1071992, -3.5739111, 13.1143705], [27.1104166, -3.5696125, 13.1121131], [27.1640315, -3.4976217, 13.0735133], [27.2017195, -3.4467646, 13.0456862], [27.2061306, -3.4407826, 13.0423476], [27.4669515, -3.0853114, 12.8400773], [27.4675241, -3.0845272, 12.8396226], [27.4759995, -3.0728627, 12.8327339], [27.5755341, -2.9352014, 12.7499579], [27.5799489, -2.9290657, 12.746203], [27.8382123, -2.568369, 12.5216267], [28.0552232, -2.2638286, 12.3288132], [28.2437734, -1.997975, 12.1577297], [28.2514626, -1.9870827, 12.150608], [28.2673283, -1.9645023, 12.1356125], [28.9620607, -0.9711041, 11.4657118], [29.1213518, -0.7423261, 11.3091682], [29.1315904, -0.7275568, 11.2989171], [29.267383, -0.5308154, 11.1604311], [29.3274201, -0.4434533, 11.098086], [29.7946993, 0.2394531, 10.6041061], [29.9561626, 0.476406, 10.4304648], [30.0376017, 0.596412, 10.341398], [30.0440105, 0.6058945, 10.3342717], [30.3427626, 1.0497467, 9.9965605], [30.5139659, 1.3051195, 9.7999129], [30.5210398, 1.3157127, 9.7916594], [30.8976659, 1.881957, 9.3453326], [31.2060031, 2.3473034, 8.9744032], [31.3906038, 2.626938, 8.74907], [31.4106923, 2.6574792, 8.7241964], [31.4408873, 2.7035537, 8.6862751], [31.5141042, 2.8156851, 8.5930192], [31.5205483, 2.8255903, 8.5846963], [31.8665007, 3.3593085, 8.1316406], [31.8955274, 3.4042481, 8.0931155], [31.9317928, 3.4605943, 8.0443382], [32.1075049, 3.7345726, 7.8048611], [32.1498995, 3.8009076, 7.7463285], [32.1933012, 3.8690565, 7.6856296], [32.2244997, 3.918216, 7.6414364], [32.2861957, 4.0157721, 7.5529259], [32.3073689, 4.0493697, 7.5221653], [32.6054122, 4.5239713, 7.0837018], [32.6356182, 4.5722351, 7.0387221], [32.7466532, 4.7502562, 6.871372], [32.7523677, 4.7594494, 6.8626559], [32.9604998, 5.0954205, 6.5414057], [32.9808423, 5.1283675, 6.5096407], [33.046917, 5.2357419, 6.4052636], [33.2130747, 5.5066597, 6.1397573], [33.2642501, 5.5903753, 6.057058], [33.2700817, 5.5999464, 6.0475282], [33.3075166, 5.6615901, 5.9856658], [33.5154555, 6.0051393, 5.6381954], [33.5345179, 6.0367358, 5.6059944], [33.5346185, 6.0369031, 5.6058226], [33.5416354, 6.0486103, 5.5937097], [33.5786764, 6.1106151, 5.5290717], [33.599962, 6.1463648, 5.4915241], [33.6270887, 6.1920769, 5.4431548], [33.6431444, 6.2192239, 5.4142166], [33.8180232, 6.515908, 5.0956172], [33.9193855, 6.6884405, 4.9090025], [34.4609849, 7.6133537, 3.9014805], [34.7009035, 8.0243159, 3.4508575], [35.2979201, 9.0499594, 2.319059], [35.3129095, 9.0757784, 2.2904018], [35.6530272, 9.663182, 1.6346361], [35.6617092, 9.6782138, 1.6177625], [35.6690379, 9.6909346, 1.6034044], [35.6722429, 9.6965119, 1.5970745], [35.7816401, 9.8873705, 1.3792612], [35.8110789, 9.938861, 1.3201789], [35.8350235, 9.9808487, 1.2717386], [36.0280444, 10.3201861, 0.8781282], [36.07, 10.3941288, 0.7919086], [36.4290333, 11.0284665, 0.0483803], [36.4315347, 11.0328963, 0.0431626], [36.4410903, 11.0498575, 0.0230864], [36.4427713, 11.0528483, 0.019529], [36.474093, 11.1087091, -0.0472452], [36.7200785, 11.5484663, -0.5755149], [36.7222811, 11.5524129, -0.5802783], [36.7346127, 11.5745599, -0.6071349], [37.0086627, 12.067889, -1.2082117], [37.0110785, 12.0722474, -1.2135458], [37.2308709, 12.4696539, -1.7021148], [37.3263565, 12.6426662, -1.91573], [37.3531698, 12.6913511, -1.9760945], [37.361037, 12.7056654, -1.9939179], [37.4188016, 12.8109908, -2.1256221], [37.4211886, 12.8153524, -2.131099], [37.531776, 13.0178514, -2.3864663], [37.5395955, 13.0322, -2.4046363], [37.751294, 13.4214866, -2.8996689], [37.7513166, 13.4215283, -2.8997221], [37.8104992, 13.5308004, -3.0397905], [37.8189414, 13.5464194, -3.0598912], [37.8194167, 13.5473005, -3.0610297], [38.0252609, 13.9297243, -3.5571636], [38.2082787, 14.270416, -4.000854], [38.2244219, 14.3005237, -4.0402072], [38.243226, 14.3356612, -4.0863034], [38.6916695, 15.1752385, -5.1917963], [38.7332607, 15.2532328, -5.2948182], [38.7382212, 15.2625502, -5.3071641], [38.7719637, 15.3260344, -5.3915518], [38.8856413, 15.5402664, -5.6772305], [38.9309785, 15.6258442, -5.7916994], [38.938819, 15.6406674, -5.8115876], [39.2997728, 16.3241981, -6.7315095], [39.3108819, 16.3452641, -6.7599358], [39.3202399, 16.3630342, -6.7839786], [39.3219562, 16.3662979, -6.7884062], [39.3626029, 16.4437028, -6.8937044], [39.3861498, 16.4886084, -6.9549583], [39.4795296, 16.6669476, -7.1988893], [39.4955459, 16.6975788, -7.2408972], [39.5065918, 16.7187338, -7.2699868], [39.5198127, 16.744091, -7.3049486], [39.5554152, 16.8124741, -7.3994905], [39.6817316, 17.0554489, -7.7363245], [39.6934358, 17.0779933, -7.767658], [39.7033456, 17.0971081, -7.7942941], [39.7086972, 17.1074455, -7.808737], [39.7119335, 17.1137058, -7.817507], [39.7598924, 17.2066162, -7.9480199], [40.0247745, 17.7205252, -8.6718674], [40.0600156, 17.7889837, -8.7685152], [40.0911679, 17.8495753, -8.8542537], [40.361508, 18.3760473, -9.6009391], [40.4075016, 18.4657082, -9.7283427], [40.4484125, 18.5455401, -9.8419893], [40.4503605, 18.549345, -9.8474157], [40.5091774, 18.6643462, -10.0117305], [40.5119879, 18.6698468, -10.0196039], [40.5609895, 18.7658455, -10.1572668], [40.5611368, 18.7661345, -10.157682], [40.6103927, 18.8628219, -10.2968369], [40.6523613, 18.945285, -10.4157327], [40.6883261, 19.0160192, -10.5178973], [40.7016442, 19.0422374, -10.5558312], [40.7037056, 19.0462995, -10.5617187], [40.7210266, 19.0804646, -10.6113271], [40.7210342, 19.0804795, -10.6113488], [40.7406987, 19.1193459, -10.6679929], [40.7827551, 19.2025561, -10.7894938], [40.7827607, 19.2025673, -10.7895101], [40.7844422, 19.205901, -10.7943963], [40.8394234, 19.3150305, -10.9546635], [40.9286486, 19.4923173, -11.2155252], [40.9454885, 19.5258104, -11.2648943], [40.9498141, 19.5344222, -11.2776109], [40.9857943, 19.606128, -11.3836899], [40.9861063, 19.6067506, -11.3846127], [41.028155, 19.6907242, -11.5093006], [41.1964526, 20.027172, -12.0097963], [41.2673667, 20.1690536, -12.2211658], [41.2937385, 20.2218561, -12.299933], [41.3583589, 20.3513357, -12.4933337], [41.3607202, 20.35607, -12.5004136], [41.377719, 20.390176, -12.5514789], [41.4143438, 20.4637092, -12.6617118], [41.44878, 20.5328938, -12.7655469], [41.4541496, 20.5436883, -12.781766], [41.4542382, 20.5438665, -12.7820339], [41.4618799, 20.559249, -12.8052012], [41.4627491, 20.5609999, -12.8078416], [41.4646042, 20.5647397, -12.8134885], [41.4651862, 20.5659139, -12.815264], [41.4788459, 20.5934948, -12.8570292], [41.4930964, 20.6222932, -12.9007035], [41.5486767, 20.7347116, -13.0714544], [41.6521101, 20.9440858, -13.3899172], [41.6719578, 20.9842863, -13.4511271], [41.698868, 21.0388235, -13.5342521], [41.7180064, 21.0776318, -13.5934613], [41.7791246, 21.201633, -13.7828308], [41.7792909, 21.2019708, -13.783347], [41.79338, 21.2305805, -13.8271052], [41.8436461, 21.3326985, -13.9834159], [41.8476047, 21.340743, -13.9957365], [41.8495591, 21.3447161, -14.0018252], [41.8602793, 21.366517, -14.0352559], [41.8602809, 21.3665204, -14.0352611], [41.8613581, 21.3687127, -14.0386274], [41.8730236, 21.3924653, -14.0751299], [41.9175823, 21.483235, -14.2147348], [41.9491608, 21.5475825, -14.3137548], [41.9610368, 21.5717865, -14.3510125], [41.9682397, 21.5864687, -14.3736188], [41.9739323, 21.5980738, -14.391491], [41.9768286, 21.6039788, -14.4005865], [41.9780764, 21.6065232, -14.4045064], [41.9869214, 21.6245607, -14.4323012], [41.9889221, 21.628641, -14.4385896], [41.9912484, 21.6333857, -14.4459028], [41.9926844, 21.6363149, -14.4504181], [41.9930134, 21.6369858, -14.4514525], [41.9997711, 21.6507724, -14.472712], [41.999781, 21.6507926, -14.4727431], [42.0, 21.6512395, -14.4734322]];
      const trajectoryPaths = [[[-20.9204565, 26.5000327, 30.4892791], [-29.4961654, 22.2983337, 11.6913141], [-42.0, 12.2034716, -10.495769], [-34.2204735, 2.4515699, -20.2094295], [-31.1042478, -6.0671898, -26.563677], [-26.2590417, -14.1462711, -30.4892791], [-21.4826978, -20.16224, -30.4680368], [-19.819453, -29.7925775, -23.0636751], [-16.3701607, -36.0186319, -10.6261052], [-11.3035121, -37.7161304, -0.7651384], [-10.7511876, -40.5698851, 1.6326802], [-4.9620016, -41.4658794, 7.8836177], [-0.3764106, -40.3252376, 22.21229]], [[-20.9204565, 26.5000327, 30.4892791], [-14.0127152, 35.8027493, 14.7603182], [-8.7062524, 41.4658794, -3.9303782], [-1.043282, 31.4984518, -15.7206406], [11.0265434, 24.793063, -24.5001583], [26.0507503, 20.8954666, -29.6293099], [31.8633709, 14.0451685, -29.3455807], [34.9180058, 9.0051204, -23.5198304], [37.1319862, 2.6460768, -13.102336], [36.0634956, -4.851217, -0.5458184], [42.0, -8.0439719, 2.4139406], [40.1856185, -12.3079973, 8.5311341], [36.2509635, -17.6951103, 20.6471276]]];
      const trajectoryMetadata = [{"key": "animal", "label": "Jaguar \u00b7 animal", "sentence": "The jaguar rested quietly in the jungle.", "target_word": "jaguar", "shape": [13, 768], "tokens": ["[CLS]", "the", "jaguar", "rested", "quietly", "in", "the", "jungle", ".", "[SEP]"], "target_token_indices": [2]}, {"key": "car", "label": "Jaguar \u00b7 automobile", "sentence": "The Jaguar accelerated quickly out of the garage.", "target_word": "Jaguar", "shape": [13, 768], "tokens": ["[CLS]", "the", "jaguar", "accelerated", "quickly", "out", "of", "the", "garage", ".", "[SEP]"], "target_token_indices": [2]}];
      let mode = 'glyph';
      let embeddingBasePath = glyphBasePath;
      let pts = embeddingBasePath.map(p => p.slice());
      let yaw = -0.55, pitch = 0.52, spin = 0, zoom = 5.8;
      let rotationSpeed=1, deformStrength=4.5, deformRadius=12;
      let lineWidth=.25, pointSize=1.25, lineColor='#65d9ff', pointColor='#ffd166';
      let positiveColor='#65d9ff', negativeColor='#ff5fa2';
      let trajectoryColors=['#65d9ff','#ff8a65'];
      let displayedSourceIndices=Array.from({length:embedding.length},(_,i)=>i);
      const hypotheticalEmbeddings=[];
      let nextHypotheticalId=1, stackSpacing=110, appliedAngle=45;
      let glyphProjected=[];
      let appliedPointCount=embedding.length;
      function updateStackInterface() {
        const n=hypotheticalEmbeddings.length;
        getAction('add-embedding').disabled=n>=12;
        getAction('remove-embedding').disabled=!n;
        getAction('clear-embeddings').disabled=!n;
        host.querySelector('[data-readout="stack"]').textContent=
          `${n+1} embedding${n ? 's' : ''} · ${n} added${n===12 ? ' (limit)' : ''}`;
      }
      function refreshHypotheticalPaths(rebuild=false) {
        for (const item of hypotheticalEmbeddings) {
          if (rebuild) item.base=normalizePath(embeddingPath(item.values,appliedAngle));
          item.points=displayEmbeddingPoints(item.base,appliedPointCount);
        }
      }
      let paused=false;
      let dragging = false, moved = false, lastX = 0, lastY = 0;
      let projected = [];
      let trajectoryProjected = [];

      function randomGaussian() {
        // Box-Muller transform: independent standard-normal random values.
        let u=0, v=0;
        while (u===0) u=Math.random();
        while (v===0) v=Math.random();
        return Math.sqrt(-2*Math.log(u))*Math.cos(2*Math.PI*v);
      }

      function randomEmbedding(length, scale=5) {
        return Array.from({length},()=>randomGaussian()*scale);
      }

      function pcaCoordinateWalk(values) {
        // Kernel PCA of the literal coordinate walk without decorative turns.
        // Row i of the n-D walk contains values[0:i] followed by zeros.
        const n=values.length, q=n+1;
        const prefixA=new Float64Array(n+1);
        const prefixB=new Float64Array(n+1);
        const prefixC=new Float64Array(n+1);
        for (let k=0;k<n;k++) {
          const weight=values[k]*values[k], mean=(n-k)/q;
          prefixA[k+1]=prefixA[k]+weight*(1-mean)*(1-mean);
          prefixB[k+1]=prefixB[k]-weight*mean*(1-mean);
          prefixC[k+1]=prefixC[k]+weight*mean*mean;
        }
        const kernel=Array.from({length:q},()=>new Float64Array(q));
        for (let i=0;i<q;i++) for (let j=i;j<q;j++) {
          const value=prefixA[i]+(prefixB[j]-prefixB[i])+(prefixC[n]-prefixC[j]);
          kernel[i][j]=value; kernel[j][i]=value;
        }
        let basis=Array.from({length:q},(_,i)=>new Float64Array([
          Math.sin((i+1)*.731), Math.cos((i+1)*1.117), Math.sin((i+1)*1.913+.4)
        ]));
        function orthonormalize(matrix) {
          for (let c=0;c<3;c++) {
            for (let previous=0;previous<c;previous++) {
              let dot=0;
              for (let i=0;i<q;i++) dot+=matrix[i][c]*matrix[i][previous];
              for (let i=0;i<q;i++) matrix[i][c]-=dot*matrix[i][previous];
            }
            let length=0;
            for (let i=0;i<q;i++) length+=matrix[i][c]*matrix[i][c];
            length=Math.sqrt(length)||1;
            for (let i=0;i<q;i++) matrix[i][c]/=length;
          }
          return matrix;
        }
        basis=orthonormalize(basis);
        for (let iteration=0;iteration<24;iteration++) {
          const next=Array.from({length:q},()=>new Float64Array(3));
          for (let i=0;i<q;i++) for (let j=0;j<q;j++) {
            const value=kernel[i][j];
            next[i][0]+=value*basis[j][0];
            next[i][1]+=value*basis[j][1];
            next[i][2]+=value*basis[j][2];
          }
          basis=orthonormalize(next);
        }
        const scales=new Float64Array(3);
        for (let c=0;c<3;c++) {
          let eigenvalue=0;
          for (let i=0;i<q;i++) {
            let product=0;
            for (let j=0;j<q;j++) product+=kernel[i][j]*basis[j][c];
            eigenvalue+=basis[i][c]*product;
          }
          scales[c]=Math.sqrt(Math.max(0,eigenvalue));
        }
        return basis.map(row=>[row[0]*scales[0],row[1]*scales[1],row[2]*scales[2]]);
      }

      function embeddingPath(values, angleDegrees) {
        const alpha=angleDegrees*Math.PI/180, ca=Math.cos(alpha), sa=Math.sin(alpha);
        const result=[[0,0,0]]; let direction=[1,0,0];
        const norm=a=>Math.hypot(a[0],a[1],a[2]);
        const cross=(a,b)=>[a[1]*b[2]-a[2]*b[1],a[2]*b[0]-a[0]*b[2],a[0]*b[1]-a[1]*b[0]];
        for (let i=0;i<values.length;i++) {
          const sign=values[i]>=0 ? 1 : -1;
          let localRight=cross(direction,[0,0,1]);
          if (norm(localRight)<1e-10) localRight=cross(direction,[0,1,0]);
          let n=norm(localRight); localRight=localRight.map(v=>v/n);
          let localUp=cross(localRight,direction);
          n=norm(localUp); localUp=localUp.map(v=>v/n);
          const roll=.72*Math.sin(i*Math.PI*(3-Math.sqrt(5)));
          const turnSide=localRight.map((v,k)=>sign*(Math.cos(roll)*v+Math.sin(roll)*localUp[k]));
          let next=direction.map((v,k)=>ca*v+sa*turnSide[k]);
          n=norm(next); next=next.map(v=>v/n);
          const previous=result[result.length-1], length=Math.abs(values[i]);
          result.push(previous.map((v,k)=>v+length*next[k])); direction=next;
        }
        return result;
      }

      function normalizePath(source, radius=42) {
        const mins=[Infinity,Infinity,Infinity], maxs=[-Infinity,-Infinity,-Infinity];
        for (const p of source) for (let k=0;k<3;k++) {
          mins[k]=Math.min(mins[k],p[k]); maxs[k]=Math.max(maxs[k],p[k]);
        }
        const center=mins.map((v,k)=>(v+maxs[k])/2);
        const span=Math.max(...mins.map((v,k)=>maxs[k]-v)) || 1;
        return source.map(p=>p.map((v,k)=>(v-center[k])*(2*radius/span)));
      }

      function resize() {
        const dpr = Math.min(window.devicePixelRatio || 1, 2);
        const rect = host.getBoundingClientRect();
        canvas.width = Math.max(1, Math.round(rect.width * dpr));
        canvas.height = Math.max(1, Math.round(rect.height * dpr));
        ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
      }

      function rotatePoint(p) {
        // Animated z rotation, followed by user-controlled x/y orbit.
        let c = Math.cos(spin), s = Math.sin(spin);
        let x = c*p[0] - s*p[1], y = s*p[0] + c*p[1], z = p[2];
        c = Math.cos(yaw); s = Math.sin(yaw);
        let x2 = c*x + s*z, z2 = -s*x + c*z;
        c = Math.cos(pitch); s = Math.sin(pitch);
        return [x2, c*y - s*z2, s*y + c*z2];
      }

      function project(p, w, h) {
        const q = rotatePoint(p);
        const cameraDistance = 150;
        const perspective = cameraDistance / Math.max(35, cameraDistance - q[2]);
        return [w/2 + q[0]*zoom*perspective,
                h/2 - q[1]*zoom*perspective, q[2], perspective];
      }

      function drawGlyphStack(w,h) {
        const paths=[pts,...hypotheticalEmbeddings.map(item=>item.points)];
        // Preserve each 3D glyph with a uniform shared scale; stack along z.
        let radius=1, halfDepth=1;
        for (const path of paths) for (const p of path) {
          radius=Math.max(radius,Math.hypot(p[0],p[1]));
          halfDepth=Math.max(halfDepth,Math.abs(p[2]));
        }
        const spacing=Math.max(stackSpacing,halfDepth*2+16);
        const halfHeight=(paths.length-1)*spacing/2+halfDepth+8;
        const fit=Math.min(1,58/Math.hypot(radius,halfHeight))*Math.min(1,w/1000,h/720);
        const screen=p=>project(p.map(v=>v*fit),w,h);
        const zFor=i=>(i-(paths.length-1)/2)*spacing;
        ctx.shadowBlur=0; ctx.lineWidth=1; ctx.strokeStyle='#536b9766';
        function guide(points) {
          ctx.beginPath();
          points.map(screen).forEach((p,i)=>i ? ctx.lineTo(p[0],p[1]) : ctx.moveTo(p[0],p[1]));
          ctx.stroke();
        }
        for (let i=0;i<paths.length;i++) {
          guide(Array.from({length:65},(_,j)=>[radius*Math.cos(j*Math.PI/32),radius*Math.sin(j*Math.PI/32),zFor(i)]));
        }
        for (let j=0;j<8;j++) {
          const a=j*Math.PI/4;
          guide([[radius*Math.cos(a),radius*Math.sin(a),zFor(0)],
                 [radius*Math.cos(a),radius*Math.sin(a),zFor(paths.length-1)]]);
        }
        glyphProjected=paths.map((path,i)=>path.map(p=>screen([p[0],p[1],p[2]+zFor(i)])));
        projected=glyphProjected[0];
        const order=paths.map((_,i)=>i).sort((a,b)=>
          rotatePoint([0,0,zFor(a)])[2]-rotatePoint([0,0,zFor(b)])[2]);
        for (const i of order) {
          const path=glyphProjected[i];
          const color=i ? `hsl(${(hypotheticalEmbeddings[i-1].id*67+270)%360} 85% 72%)` : lineColor;
          ctx.lineWidth=lineWidth; ctx.strokeStyle=color; ctx.shadowColor=color; ctx.shadowBlur=3;
          ctx.beginPath(); path.forEach((p,j)=>j ? ctx.lineTo(p[0],p[1]) : ctx.moveTo(p[0],p[1])); ctx.stroke();
          ctx.fillStyle=i ? color : pointColor;
          if (pointSize>0) for (const p of path) {
            ctx.beginPath(); ctx.arc(p[0],p[1],Math.max(.1,Math.min(8,pointSize*fit*p[3])),0,Math.PI*2); ctx.fill();
          }
          ctx.shadowBlur=0; ctx.fillStyle=color; ctx.font='12px system-ui';
          const label=screen([radius+4,0,zFor(i)]);
          ctx.fillText(`Embedding ${i+1}`,label[0]+5,label[1]);
        }
      }

      function draw() {
        const w = host.clientWidth, h = host.clientHeight;
        ctx.clearRect(0, 0, w, h);
        if (mode==='glyph' && hypotheticalEmbeddings.length) {
          drawGlyphStack(w,h); return;
        }
        glyphProjected=[];
        projected = pts.map(p => project(p, w, h));

        if (mode==='trajectory') {
          trajectoryProjected=trajectoryPaths.map(path=>path.map(p=>project(p,w,h)));
          ctx.lineWidth=lineWidth;
          for (let pathIndex=0;pathIndex<trajectoryProjected.length;pathIndex++) {
            const path=trajectoryProjected[pathIndex], color=trajectoryColors[pathIndex];
            ctx.strokeStyle=color; ctx.shadowColor=color; ctx.shadowBlur=5;
            ctx.beginPath(); ctx.moveTo(path[0][0],path[0][1]);
            for (let i=1;i<path.length;i++) ctx.lineTo(path[i][0],path[i][1]);
            ctx.stroke(); ctx.fillStyle=color;
            for (let i=0;i<path.length;i++) {
              const radius=Math.max(2,Math.min(8,(pointSize+1)*path[i][3]));
              ctx.beginPath(); ctx.arc(path[i][0],path[i][1],radius,0,2*Math.PI); ctx.fill();
            }
            ctx.shadowBlur=0; ctx.font='12px system-ui';
            ctx.fillText(trajectoryMetadata[pathIndex].label,path[path.length-1][0]+8,path[path.length-1][1]-8);
          }
          return;
        }

        const glow = ctx.createLinearGradient(0, 0, w, h);
        glow.addColorStop(0, '#7de8ff'); glow.addColorStop(1, '#716bff');
        ctx.lineWidth = 1.25; ctx.strokeStyle = glow;
        ctx.shadowColor = '#34cfff'; ctx.shadowBlur = 4;
        ctx.lineWidth = lineWidth; ctx.strokeStyle = lineColor;
        ctx.shadowColor = lineColor; ctx.shadowBlur = 4;
        if (mode==='geometric') {
          for (let i=1; i<projected.length; i++) {
            const sourceIndex=displayedSourceIndices[Math.min(i-1,displayedSourceIndices.length-1)] ?? 0;
            const color=embedding[sourceIndex]>=0 ? positiveColor : negativeColor;
            ctx.strokeStyle=color; ctx.shadowColor=color;
            ctx.beginPath(); ctx.moveTo(projected[i-1][0],projected[i-1][1]);
            ctx.lineTo(projected[i][0],projected[i][1]); ctx.stroke();
          }
        } else {
          ctx.beginPath();
          ctx.moveTo(projected[0][0], projected[0][1]);
          for (let i=1; i<projected.length; i++) ctx.lineTo(projected[i][0], projected[i][1]);
          ctx.stroke();
        }

        ctx.shadowBlur = 3;
        for (let i=0;i<projected.length;i++) {
          if (pointSize <= 0) break;
          const p=projected[i];
          if (mode==='geometric' && i>0) {
            const sourceIndex=displayedSourceIndices[Math.min(i-1,displayedSourceIndices.length-1)] ?? 0;
            ctx.fillStyle=embedding[sourceIndex]>=0 ? positiveColor : negativeColor;
          } else ctx.fillStyle=pointColor;
          const r = Math.max(.4, Math.min(8, pointSize*p[3]));
          ctx.beginPath(); ctx.arc(p[0], p[1], r, 0, 2*Math.PI); ctx.fill();
        }
      }

      function pointSegmentDistance(px, py, a, b) {
        const vx=b[0]-a[0], vy=b[1]-a[1], wx=px-a[0], wy=py-a[1];
        const vv=vx*vx+vy*vy;
        const t=vv ? Math.max(0, Math.min(1, (wx*vx+wy*vy)/vv)) : 0;
        return Math.hypot(px-(a[0]+t*vx), py-(a[1]+t*vy));
      }

      function deform(index) {
        const radius=deformRadius, strength=deformStrength;
        const p=pts[Math.max(0, Math.min(index, pts.length-1))];
        let push=[-p[1], p[0], 24];
        const n=Math.hypot(...push) || 1; push=push.map(v => v/n);
        for (let j=Math.max(1,index-radius); j<=Math.min(pts.length-1,index+radius); j++) {
          const w=0.5+0.5*Math.cos(Math.PI*(j-index)/radius);
          for (let k=0;k<3;k++) pts[j][k] += push[k]*strength*w;
        }
      }

      function transformShape(kind) {
        const center=[0,0,0];
        for (const p of pts) for (let k=0;k<3;k++) center[k]+=p[k]/pts.length;
        if (kind==='expand' || kind==='contract') {
          const scale=kind==='expand' ? 1.12 : 0.89;
          for (const p of pts) for (let k=0;k<3;k++) p[k]=center[k]+(p[k]-center[k])*scale;
        } else if (kind==='twist-left' || kind==='twist-right') {
          const sign=kind==='twist-right' ? 1 : -1;
          for (let i=0;i<pts.length;i++) {
            const a=sign*(i/(pts.length-1)-.5)*.65, c=Math.cos(a), s=Math.sin(a);
            const x=pts[i][0]-center[0], y=pts[i][1]-center[1];
            pts[i][0]=center[0]+c*x-s*y; pts[i][1]=center[1]+s*x+c*y;
          }
        } else if (kind==='smooth') {
          const next=pts.map(p=>p.slice());
          for (let i=1;i<pts.length-1;i++) for (let k=0;k<3;k++)
            next[i][k]=.25*pts[i-1][k]+.5*pts[i][k]+.25*pts[i+1][k];
          pts=next;
        } else if (kind==='jitter') {
          const index=1+Math.floor(Math.random()*(pts.length-2)); deform(index);
        }
      }

      const decorativeActions=['twist-left','twist-right','contract','expand','smooth','jitter'];

      // A coordinate walk has an origin plus one endpoint per dimension.
      // The origin is not an embedding point. Select actual endpoints, never
      // interpolate additional marker positions along the connecting lines.
      function displayEmbeddingPoints(source, count) {
        const endpoints=source.slice(1);
        count=Math.max(2,Math.min(endpoints.length,count));
        return Array.from({length:count},(_,i)=>
          endpoints[Math.round(i*(endpoints.length-1)/(count-1))].slice());
      }

      function selectedPointCount() {
        const value=Number(getControl('count').value);
        return Number.isFinite(value) && value>=2
          ? Math.min(embedding.length,Math.round(value)) : appliedPointCount;
      }

      function showBasePath() {
        if (mode==='trajectory') {
          pts=embeddingBasePath.map(p=>p.slice());
          getControl('count').value=pts.length;
          return;
        }
        const count=appliedPointCount;
        getControl('count').value=count;
        displayedSourceIndices=Array.from({length:count-1},(_,i)=>
          Math.round((i+1)*(embedding.length-1)/(count-1)));
        pts=displayEmbeddingPoints(embeddingBasePath,count);
      }

      function updateModeInterface() {
        host.querySelector('[data-section="glyph-stack"]').style.display=mode==='glyph' ? '' : 'none';
        const geometric=mode==='geometric';
        const trajectory=mode==='trajectory', dataMode=geometric || trajectory;
        host.querySelector('[data-section="angle"]').style.opacity=dataMode ? '.4' : '1';
        getControl('angle').disabled=dataMode;
        getAction('apply-angle').disabled=dataMode;
        getControl('count').disabled=trajectory;
        getAction('apply-count').disabled=trajectory;
        getAction('reset').disabled=trajectory;
        for (const action of decorativeActions) getAction(action).disabled=dataMode;
        host.querySelector('[data-readout="mode-description"]').textContent=trajectory
          ? 'Trajectory: real BERT states for “jaguar” · shared PCA → 3D'
          : geometric ? 'Projection: literal n-D coordinate walk → PCA → 3D'
          : 'Encoding: magnitude → length · sign → right/left';
        host.querySelector('[data-readout="angle-row"]').style.display=dataMode ? 'none' : '';
        host.querySelector('[data-readout="interaction"]').textContent=trajectory
          ? 'Click a layer point or segment for details · drag to orbit · wheel to zoom'
          : geometric ? 'Click a point or segment for its value · drag to orbit · wheel to zoom'
          : 'Click to deform · drag to orbit · wheel to zoom';
        host.querySelector('[data-section="glyph-colors"]').style.display=dataMode ? 'none' : 'flex';
        host.querySelector('[data-section="sign-colors"]').style.display=geometric ? 'flex' : 'none';
        host.querySelector('[data-section="trajectory-colors"]').style.display=trajectory ? 'flex' : 'none';
        selection.textContent=trajectory
          ? 'Blue = animal context · Orange = automobile context'
          : geometric ? 'Positive = cyan · Negative = magenta' : '';
      }

      function selectMode(nextMode) {
        mode=nextMode;
        embeddingBasePath=mode==='geometric' ? geometricBasePath
          : mode==='trajectory' ? trajectoryPaths[0] : glyphBasePath;
        getControl('count').max=mode==='trajectory' ? embeddingBasePath.length : embedding.length;
        getControl('count').value=mode==='trajectory'
          ? embeddingBasePath.length
          : appliedPointCount;
        showBasePath(); refreshHypotheticalPaths(); updateModeInterface();
      }

      canvas.addEventListener('pointerdown', e => {
        dragging=true; moved=false; lastX=e.clientX; lastY=e.clientY;
        canvas.setPointerCapture(e.pointerId);
      });
      canvas.addEventListener('pointermove', e => {
        if (!dragging) return;
        const dx=e.clientX-lastX, dy=e.clientY-lastY;
        if (Math.hypot(dx,dy)>1) moved=true;
        yaw += dx*0.007; pitch=Math.max(-1.45,Math.min(1.45,pitch+dy*0.007));
        lastX=e.clientX; lastY=e.clientY;
      });
      canvas.addEventListener('pointerup', e => {
        dragging=false;
        if (moved) return;
        const r=canvas.getBoundingClientRect(), x=e.clientX-r.left, y=e.clientY-r.top;
        if (mode==='trajectory') {
          let closest=null, distance=12;
          for (let pathIndex=0;pathIndex<trajectoryProjected.length;pathIndex++) {
            const path=trajectoryProjected[pathIndex];
            for (let layer=0;layer<path.length;layer++) {
              const d=Math.hypot(x-path[layer][0],y-path[layer][1]);
              if (d<distance) { distance=d; closest={pathIndex,layer}; }
            }
            for (let layer=0;layer<path.length-1;layer++) {
              const d=pointSegmentDistance(x,y,path[layer],path[layer+1]);
              if (d<distance) { distance=d; closest={pathIndex,layer:layer+1}; }
            }
          }
          if (closest) {
            const meta=trajectoryMetadata[closest.pathIndex];
            const layerLabel=closest.layer===0 ? 'Embedding output' : `Transformer layer ${closest.layer}`;
            selection.textContent=`${meta.label} · ${layerLabel} · ${meta.sentence}`;
          }
          return;
        }
        if (mode==='glyph' && hypotheticalEmbeddings.length) {
          let hit=null, distance=10;
          glyphProjected.forEach((path,layer)=>{
            for (let i=1;i<path.length;i++) {
              const d=pointSegmentDistance(x,y,path[i-1],path[i]);
              if (d<distance) { distance=d; hit={layer,index:i}; }
            }
          });
          if (hit) {
            const original=pts;
            if (hit.layer) pts=hypotheticalEmbeddings[hit.layer-1].points;
            deform(hit.index); pts=original;
            selection.textContent=`Embedding ${hit.layer+1}`;
          }
          return;
        }
        let best=-1, distance=10;
        for (let i=0;i<projected.length;i++) {
          const d=Math.hypot(x-projected[i][0], y-projected[i][1]);
          if (d<distance) { distance=d; best=i; }
        }
        if (best<0) for (let i=0;i<projected.length-1;i++) {
          const d=pointSegmentDistance(x,y,projected[i],projected[i+1]);
          if (d<distance) { distance=d; best=i+1; }
        }
        if (mode==='glyph' && best>=0) deform(best);
        else if (mode==='geometric' && best>=0) {
          const displayedSegment=Math.max(0,Math.min(displayedSourceIndices.length-1,best-1));
          const sourceIndex=displayedSourceIndices[displayedSegment] ?? 0;
          const value=embedding[sourceIndex];
          const sign=value>=0 ? 'positive' : 'negative';
          selection.textContent=`Dimension ${sourceIndex+1}: ${value.toFixed(4)} · ${sign} · |v| = ${Math.abs(value).toFixed(4)}`;
        }
      });
      canvas.addEventListener('wheel', e => {
        e.preventDefault(); zoom=Math.max(1.5,Math.min(15,zoom*Math.exp(-e.deltaY*0.001)));
      }, {passive:false});
      getAction('pause').onclick=() => {
        paused=!paused; getAction('pause').textContent=paused ? 'Play' : 'Pause';
      };
      getAction('reset').onclick=() => {
        const angle=Math.max(1,Math.min(179,+getControl('angle').value||45));
        const count=appliedPointCount;
        embedding=randomEmbedding(embedding.length);
        selection.textContent='Computing a new random embedding…';
        status.textContent='Computing new glyph and PCA projection…';
        requestAnimationFrame(()=>setTimeout(()=>{
          appliedAngle=angle;
        glyphBasePath=normalizePath(embeddingPath(embedding,angle));
          geometricBasePath=normalizePath(pcaCoordinateWalk(embedding));
          embeddingBasePath=mode==='geometric' ? geometricBasePath : glyphBasePath;
          getControl('count').max=mode==='trajectory' ? embeddingBasePath.length : embedding.length;
          getControl('count').value=Math.min(count,embeddingBasePath.length);
          showBasePath(); refreshHypotheticalPaths(true);
          yaw=-0.55; pitch=0.52; spin=0; zoom=5.8;
          getControl('zoom').value=zoom;
          host.querySelector('[data-readout="angle"]').textContent=Number(angle.toFixed(2));
          status.textContent='Running';
        },0));
      };
      getControl('count').max=mode==='trajectory' ? embeddingBasePath.length : embedding.length;
      getControl('count').value=appliedPointCount;
      getAction('apply-count').onclick=() => {
        const count=selectedPointCount();
        appliedPointCount=count;
        getControl('count').value=count;
        showBasePath(); refreshHypotheticalPaths();
      };
      getAction('apply-angle').onclick=() => {
        if (mode!=='glyph') return;
        const angle=Math.max(1,Math.min(179,+getControl('angle').value||45));
        const count=appliedPointCount;
        getControl('angle').value=angle;
        host.querySelector('[data-readout="angle"]').textContent=Number(angle.toFixed(2));
        appliedAngle=angle;
        glyphBasePath=normalizePath(embeddingPath(embedding,angle));
        embeddingBasePath=glyphBasePath;
        showBasePath();
        refreshHypotheticalPaths(true);
      };
      for (const action of decorativeActions)
        getAction(action).onclick=() => { if (mode==='glyph') transformShape(action); };
      getAction('add-embedding').onclick=()=>{
        if (mode!=='glyph' || hypotheticalEmbeddings.length>=12) return;
        const values=randomEmbedding(embedding.length);
        const base=normalizePath(embeddingPath(values,appliedAngle));
        hypotheticalEmbeddings.push({id:nextHypotheticalId++,values,base,points:displayEmbeddingPoints(base,appliedPointCount)});
        updateStackInterface();
      };
      getAction('remove-embedding').onclick=()=>{
        hypotheticalEmbeddings.pop(); selection.textContent=''; updateStackInterface();
      };
      getAction('clear-embeddings').onclick=()=>{
        hypotheticalEmbeddings.length=0; selection.textContent=''; updateStackInterface();
      };
      getControl('stack-spacing').oninput=e=>stackSpacing=+e.target.value;
      getControl('mode').onchange=e=>selectMode(e.target.value);
      getControl('speed').oninput=e=>rotationSpeed=+e.target.value;
      getControl('strength').oninput=e=>deformStrength=+e.target.value;
      getControl('radius').oninput=e=>deformRadius=+e.target.value;
      getControl('line').oninput=e=>lineWidth=+e.target.value;
      getControl('point').oninput=e=>pointSize=+e.target.value;
      getControl('zoom').oninput=e=>zoom=+e.target.value;
      getControl('line-color').oninput=e=>lineColor=e.target.value;
      getControl('point-color').oninput=e=>pointColor=e.target.value;
      getControl('positive-color').oninput=e=>positiveColor=e.target.value;
      getControl('negative-color').oninput=e=>negativeColor=e.target.value;
      getControl('animal-color').oninput=e=>trajectoryColors[0]=e.target.value;
      getControl('car-color').oninput=e=>trajectoryColors[1]=e.target.value;

      if (typeof ResizeObserver !== 'undefined') new ResizeObserver(resize).observe(host);
      else window.addEventListener('resize', resize);
      showBasePath(); updateModeInterface(); resize(); draw();
      status.textContent='Running';
      let previous=performance.now();
      function animate(now) {
        if (!paused) spin += (now-previous)*0.00018*rotationSpeed;
        previous=now; draw(); requestAnimationFrame(animate);
      }
      requestAnimationFrame(animate);
      } catch (error) {
        const host=document.getElementById("embedding_47259796c5664c2e8d1f103373c32add");
        const status=host && host.querySelector('[data-readout="status"]');
        if (status) { status.textContent='Error: '+error.message; status.style.color='#ff8b8b'; }
        throw error;
      }
    })();
    </script>
    <a class="course-home" href="https://l1001.vt.domains/" aria-label="Return to course home" title="Course home"><img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4IiB2aWV3Qm94PSIwIDAgMTI4IDEyOCIgcm9sZT0iaW1nIiBhcmlhLWxhYmVsbGVkYnk9InRpdGxlIj4KICA8dGl0bGUgaWQ9InRpdGxlIj5MMTAwMSBjb3Vyc2UgaG9tZTwvdGl0bGU+CiAgPGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTgyYTQzIiBzdHJva2Utd2lkdGg9IjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+CiAgICA8cGF0aCBkPSJNMjIgNTQgNjQgMTkgMTA2IDU0Ii8+CiAgICA8cGF0aCBkPSJNMzIgNDh2NDBoNjRWNDhNNTQgODhWNjVoMjB2MjMiLz4KICA8L2c+CiAgPHRleHQgeD0iNjQiIHk9IjExNiIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZmlsbD0iIzE4MmE0MyIgZm9udC1mYW1pbHk9IkhlbHZldGljYSxBcmlhbCxzYW5zLXNlcmlmIiBmb250LXNpemU9IjIyIiBmb250LXdlaWdodD0iNzAwIiBsZXR0ZXItc3BhY2luZz0iMSI+TDEwMDE8L3RleHQ+Cjwvc3ZnPgo=" alt="L1001 home" width="52" height="52"></a>
</body></html>