-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1419 lines (1313 loc) · 50.1 KB
/
index.html
File metadata and controls
1419 lines (1313 loc) · 50.1 KB
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
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Farzad Shami — Navigation Demo</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=VT323&family=Orbitron:wght@400;700;900&family=Share+Tech+Mono&display=swap" rel="stylesheet" />
<style>
:root {
--cyan: #00f6ff;
--magenta: #ff2bd6;
--amber: #ffb400;
--green: #39ff9b;
--violet: #9d6bff;
--bg-0: #01030b;
--bg-1: #060a22;
--ink: #d8eaff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
width: 100%; height: 100%;
overflow: hidden;
background: radial-gradient(ellipse at center, var(--bg-1) 0%, var(--bg-0) 75%);
color: var(--ink);
font-family: 'Share Tech Mono', 'VT323', monospace;
user-select: none;
}
canvas { display: block; position: fixed; inset: 0; z-index: 0; cursor: grab; }
canvas:active { cursor: grabbing; }
body::before {
content:""; position:fixed; inset:0; z-index:50; pointer-events:none;
background: repeating-linear-gradient(to bottom,
rgba(0,0,0,0) 0px, rgba(0,0,0,0) 2px,
rgba(0,246,255,0.03) 3px, rgba(0,0,0,0) 4px);
mix-blend-mode: screen;
}
body::after {
content:""; position:fixed; inset:0; z-index:49; pointer-events:none;
background: radial-gradient(ellipse at center, rgba(0,0,0,0) 50%, rgba(0,0,0,0.75) 100%);
}
#hud-top {
position: fixed; top: 0; left: 0; right: 0; z-index: 20;
padding: 16px 24px 12px;
display: flex; justify-content: space-between; align-items: flex-start;
pointer-events: none;
background: linear-gradient(180deg, rgba(1,3,11,0.9), rgba(1,3,11,0));
}
.brand-logo {
font-family: 'Orbitron', sans-serif;
font-weight: 900; font-size: 20px; letter-spacing: 0.18em;
color: var(--cyan); text-shadow: 0 0 10px var(--cyan);
}
.brand-sub {
font-size: 11px; color: var(--amber); letter-spacing: 0.28em;
margin-top: 4px; text-shadow: 0 0 6px rgba(255,180,0,0.5);
}
.gps {
text-align: right; font-size: 12px; letter-spacing: 0.15em;
color: var(--ink); opacity: 0.85; pointer-events: auto;
}
.gps .row { display: flex; gap: 10px; justify-content: flex-end; align-items: center; }
.gps .key { color: var(--ink); opacity: 0.55; }
.gps .val { color: var(--cyan); text-shadow: 0 0 6px var(--cyan); }
.gps .dot {
display: inline-block; width: 7px; height: 7px; border-radius: 50%;
background: var(--green); box-shadow: 0 0 8px var(--green);
margin-right: 6px; animation: pulse 1.4s ease-in-out infinite;
vertical-align: middle;
}
@keyframes pulse {
0%,100% { opacity:1; transform:scale(1); }
50% { opacity:0.35; transform:scale(0.7); }
}
#destinations {
position: fixed; top: 90px; left: 20px; z-index: 22;
width: 220px;
background: rgba(1,3,11,0.85);
border: 1px solid rgba(0,246,255,0.4);
box-shadow: 0 0 18px rgba(0,246,255,0.15), inset 0 0 20px rgba(0,246,255,0.05);
padding: 14px 12px;
}
#destinations .title {
font-family: 'Orbitron', sans-serif;
font-size: 11px; letter-spacing: 0.24em;
color: var(--amber);
margin-bottom: 10px;
border-bottom: 1px dashed rgba(255,180,0,0.4);
padding-bottom: 8px;
display: flex; justify-content: space-between;
}
#destinations .title .count { color: var(--cyan); opacity: 0.7; }
.dest-btn {
display: flex; align-items: center; gap: 9px;
width: 100%;
background: rgba(0,246,255,0.04);
border: 1px solid rgba(0,246,255,0.25);
color: var(--ink);
font-family: 'Share Tech Mono', monospace;
font-size: 12px;
letter-spacing: 0.08em;
padding: 8px 10px;
margin-bottom: 6px;
cursor: pointer;
text-align: left;
transition: all 0.15s;
border-left: 3px solid;
}
.dest-btn:hover:not(:disabled):not(.current) {
background: rgba(0,246,255,0.1);
transform: translateX(3px);
}
.dest-btn .swatch {
width: 10px; height: 10px; border-radius: 50%;
flex-shrink: 0;
}
.dest-btn .name { flex: 1; line-height: 1.25; }
.dest-btn .sublabel {
font-size: 9px; opacity: 0.5; letter-spacing: 0.18em;
display: block;
}
.dest-btn.current { opacity: 0.55; cursor: default; background: rgba(57,255,155,0.08); }
.dest-btn.current::after {
content: "YOU"; font-size: 9px; color: var(--green);
letter-spacing: 0.18em; margin-left: auto;
}
.dest-btn:disabled { opacity: 0.35; cursor: wait; }
#instruction {
position: fixed; left: 50%; bottom: 110px; z-index: 23;
transform: translateX(-50%) translateY(30px);
min-width: 340px; max-width: 520px;
background: linear-gradient(180deg, rgba(1,3,11,0.95), rgba(10,15,40,0.95));
border: 2px solid var(--cyan);
box-shadow: 0 0 24px rgba(0,246,255,0.3), inset 0 0 20px rgba(0,246,255,0.06);
padding: 14px 18px;
display: flex; align-items: center; gap: 16px;
opacity: 0; pointer-events: none;
transition: opacity 0.3s ease, transform 0.3s ease;
}
#instruction.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#instruction.arrived { border-color: var(--green); box-shadow: 0 0 28px rgba(57,255,155,0.4); }
#instruction .inst-icon {
font-family: 'Orbitron', sans-serif;
font-weight: 900; font-size: 38px;
color: var(--cyan); text-shadow: 0 0 14px var(--cyan);
width: 54px; text-align: center;
transition: color 0.2s, transform 0.3s;
}
#instruction.arrived .inst-icon { color: var(--green); text-shadow: 0 0 14px var(--green); }
#instruction .inst-text { flex: 1; }
#instruction .inst-main {
font-family: 'Orbitron', sans-serif;
font-weight: 700; font-size: 15px;
letter-spacing: 0.06em; color: var(--ink);
text-transform: uppercase;
}
#instruction .inst-sub {
font-size: 11px; color: var(--amber);
letter-spacing: 0.18em; margin-top: 4px;
}
#instruction .inst-step {
position: absolute; top: -10px; right: -10px;
background: var(--cyan); color: #000;
padding: 2px 8px; font-size: 10px; font-weight: bold;
font-family: 'Orbitron', sans-serif;
letter-spacing: 0.15em;
}
#ticker {
position: fixed; bottom: 40px; left: 0; right: 0; z-index: 19;
height: 24px;
background: rgba(0,0,0,0.5);
border-top: 1px solid rgba(255,180,0,0.4);
border-bottom: 1px solid rgba(255,180,0,0.4);
overflow: hidden;
font-family: 'VT323', monospace;
font-size: 16px;
color: var(--amber);
display: flex; align-items: center;
pointer-events: none;
}
#ticker .tag {
padding: 0 12px;
background: var(--amber); color: #000;
height: 100%; display: flex; align-items: center;
font-weight: bold; letter-spacing: 0.1em;
font-family: 'Orbitron', sans-serif; font-size: 10px;
flex-shrink: 0;
}
#ticker .track {
display: inline-block; white-space: nowrap;
padding-left: 100%;
animation: ticker 55s linear infinite;
text-shadow: 0 0 6px rgba(255,180,0,0.5);
}
#ticker .track span { margin: 0 40px; }
#ticker .track span::before { content:"◆ "; color: var(--cyan); }
@keyframes ticker {
0% { transform: translateX(0); }
100% { transform: translateX(-100%); }
}
#hud-bottom {
position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
padding: 8px 24px;
background: linear-gradient(0deg, rgba(1,3,11,0.92), rgba(1,3,11,0));
font-size: 11px; letter-spacing: 0.16em;
color: var(--ink); opacity: 0.7;
text-align: center; pointer-events: none;
}
#hud-bottom .key {
display: inline-block; padding: 1px 7px;
border: 1px solid var(--cyan); border-radius: 3px;
margin: 0 4px;
color: var(--cyan); text-shadow: 0 0 4px var(--cyan);
background: rgba(0,246,255,0.06);
}
#tooltip {
position: fixed; z-index: 25;
padding: 5px 9px;
background: rgba(1,3,11,0.9);
border: 1px solid var(--cyan);
font-family: 'Orbitron', sans-serif;
font-size: 11px; letter-spacing: 0.18em;
color: var(--cyan); text-shadow: 0 0 6px var(--cyan);
pointer-events: none; opacity: 0;
transform: translate(-50%, -140%);
transition: opacity 0.15s; white-space: nowrap;
}
#tooltip.show { opacity: 1; }
#panel {
position: fixed; top: 0; right: 0; height: 100%;
width: min(520px, 92vw); z-index: 30;
background: linear-gradient(180deg, rgba(0,246,255,0.04), rgba(0,0,0,0) 40%), rgba(1,3,11,0.96);
border-left: 2px solid var(--cyan);
box-shadow: -10px 0 40px rgba(0,246,255,0.25);
transform: translateX(105%);
transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
overflow-y: auto;
padding: 28px 30px 60px;
}
#panel.open { transform: translateX(0); }
#panel::-webkit-scrollbar { width: 8px; }
#panel::-webkit-scrollbar-track { background: rgba(0,246,255,0.05); }
#panel::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 4px; }
#panel .panel-header {
display: flex; justify-content: space-between; align-items: center;
padding-bottom: 14px;
border-bottom: 1px dashed rgba(0,246,255,0.35);
margin-bottom: 18px;
}
#panel .panel-tag {
font-family: 'Orbitron', sans-serif;
font-weight: 900; font-size: 20px;
letter-spacing: 0.15em;
color: var(--cyan); text-shadow: 0 0 10px var(--cyan);
}
#panel .close-btn {
background: none;
border: 1px solid var(--magenta);
color: var(--magenta);
font-family: 'VT323', monospace; font-size: 22px;
width: 34px; height: 34px; border-radius: 3px; cursor: pointer;
text-shadow: 0 0 6px var(--magenta); transition: all 0.15s;
}
#panel .close-btn:hover {
background: var(--magenta); color: #000; text-shadow: none;
box-shadow: 0 0 12px var(--magenta);
}
#panel h2 {
font-family: 'Orbitron', sans-serif;
font-size: 26px; font-weight: 700;
color: var(--ink); margin-bottom: 6px; letter-spacing: 0.04em;
}
#panel .subtitle {
font-size: 12px; letter-spacing: 0.2em; margin-bottom: 20px;
}
#panel h3 {
font-family: 'Orbitron', sans-serif;
font-size: 13px; color: var(--green);
letter-spacing: 0.18em; margin: 20px 0 10px;
text-shadow: 0 0 6px rgba(57,255,155,0.5);
padding-left: 10px; border-left: 3px solid var(--green);
}
#panel p { font-size: 14px; line-height: 1.65; margin-bottom: 12px; color: #c9d8f0; }
#panel a {
color: var(--cyan); text-decoration: none;
border-bottom: 1px dotted var(--cyan);
transition: all 0.15s;
}
#panel a:hover {
color: var(--amber); border-bottom-color: var(--amber);
text-shadow: 0 0 6px var(--amber);
}
#panel ul { list-style: none; padding-left: 0; }
#panel li {
padding: 8px 0 8px 22px;
font-size: 13px; line-height: 1.55;
position: relative; color: #c9d8f0;
border-bottom: 1px dotted rgba(0,246,255,0.15);
}
#panel li::before {
content: ">"; position: absolute; left: 4px;
color: var(--cyan); font-weight: bold;
}
#panel li strong { color: var(--amber); font-weight: normal; }
#panel .photo-frame {
width: 130px; height: 130px;
border: 2px solid var(--cyan); padding: 4px;
background: rgba(0,246,255,0.08);
float: left; margin: 0 16px 8px 0;
box-shadow: 0 0 18px rgba(0,246,255,0.25);
}
#panel .photo-frame img {
width: 100%; height: 100%; object-fit: cover;
filter: contrast(1.05) saturate(0.9);
}
#panel .pub-item { padding: 12px 0; border-bottom: 1px dotted rgba(0,246,255,0.2); }
#panel .pub-venue {
display: inline-block; padding: 2px 8px;
background: rgba(255,180,0,0.15); border: 1px solid var(--amber);
color: var(--amber); font-size: 10px;
letter-spacing: 0.12em; margin-right: 8px; border-radius: 2px;
}
#panel .pub-title { font-weight: bold; color: var(--ink); display: block; margin: 6px 0 4px; }
#panel .pub-meta { font-size: 12px; color: #8ea8c4; }
#panel .contact-grid {
display: grid; grid-template-columns: 1fr 1fr;
gap: 10px; margin-top: 8px;
}
#panel .contact-grid .cell {
padding: 12px;
border: 1px solid rgba(0,246,255,0.3);
background: rgba(0,246,255,0.04);
}
#panel .contact-grid .label {
font-size: 10px; color: var(--amber);
letter-spacing: 0.2em; margin-bottom: 4px;
}
#panel .contact-grid .value { font-size: 13px; color: var(--ink); word-break: break-word; }
#panel .link-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
#panel .link-list a {
padding: 6px 12px;
border: 1px solid var(--cyan);
background: rgba(0,246,255,0.05);
border-radius: 3px; font-size: 11px;
letter-spacing: 0.12em; text-decoration: none;
}
#panel .link-list a:hover { background: var(--cyan); color: #000; text-shadow: none; }
#panel .clear { clear: both; }
#loader {
position: fixed; inset: 0; z-index: 100;
background: var(--bg-0);
display: flex; align-items: center; justify-content: center;
flex-direction: column;
transition: opacity 0.7s ease;
}
#loader.hide { opacity: 0; pointer-events: none; }
#loader .loader-title {
font-family: 'Orbitron', sans-serif;
font-weight: 900; font-size: 24px;
letter-spacing: 0.3em;
color: var(--cyan); text-shadow: 0 0 12px var(--cyan);
margin-bottom: 6px;
}
#loader .loader-sub1 {
font-size: 10px; letter-spacing: 0.25em;
color: var(--amber); margin-bottom: 20px;
}
#loader .loader-bar {
width: 260px; height: 4px;
background: rgba(0,246,255,0.15);
overflow: hidden; position: relative;
}
#loader .loader-bar::after {
content: ""; position: absolute; top: 0; left: -40%;
width: 40%; height: 100%; background: var(--cyan);
box-shadow: 0 0 12px var(--cyan);
animation: loadslide 1.1s ease-in-out infinite;
}
@keyframes loadslide { 0%{left:-40%;} 100%{left:100%;} }
#loader .loader-tags {
margin-top: 16px;
font-size: 10px; letter-spacing: 0.2em;
color: var(--ink); opacity: 0.5;
}
@media (max-width: 760px) {
#destinations { top: 74px; left: 10px; width: 180px; padding: 10px; }
#panel { width: 100vw; border-left: none; }
.brand-sub { font-size: 9px; }
#instruction { min-width: 280px; bottom: 100px; }
#instruction .inst-main { font-size: 13px; }
}
</style>
</head>
<body>
<div id="loader">
<div class="loader-title">PLANNING ROUTE</div>
<div class="loader-sub1">INITIALIZING PEDESTRIAN AGENT</div>
<div class="loader-bar"></div>
<div class="loader-tags">OSM GRAPH · BFS · LLM INSTRUCTIONS</div>
</div>
<canvas id="scene"></canvas>
<div id="hud-top">
<div>
<div class="brand-logo">FARZAD SHAMI</div>
<div class="brand-sub">PEDESTRIAN NAVIGATION DEMO // GROKE-STYLE</div>
</div>
<div class="gps">
<div class="row"><span class="dot"></span><span class="key">AGENT</span><span class="val" id="agent-state">IDLE</span></div>
<div class="row"><span class="key">LOCATION</span><span class="val" id="agent-loc">Central Plaza</span></div>
<div class="row"><span class="key">DIST</span><span class="val" id="agent-dist">0 m</span></div>
</div>
</div>
<div id="destinations">
<div class="title"><span>WALK TO →</span><span class="count">5 NODES</span></div>
<button class="dest-btn" data-key="about" style="border-left-color:#00f6ff">
<span class="swatch" style="background:#00f6ff;box-shadow:0 0 6px #00f6ff"></span>
<span class="name">Central Plaza<span class="sublabel">ABOUT</span></span>
</button>
<button class="dest-btn" data-key="research" style="border-left-color:#ffb400">
<span class="swatch" style="background:#ffb400;box-shadow:0 0 6px #ffb400"></span>
<span class="name">Innovation District<span class="sublabel">RESEARCH</span></span>
</button>
<button class="dest-btn" data-key="publications" style="border-left-color:#39ff9b">
<span class="swatch" style="background:#39ff9b;box-shadow:0 0 6px #39ff9b"></span>
<span class="name">Archive Tower<span class="sublabel">PUBLICATIONS</span></span>
</button>
<button class="dest-btn" data-key="experience" style="border-left-color:#9d6bff">
<span class="swatch" style="background:#9d6bff;box-shadow:0 0 6px #9d6bff"></span>
<span class="name">Career Avenue<span class="sublabel">EXPERIENCE</span></span>
</button>
<button class="dest-btn" data-key="contact" style="border-left-color:#ff2bd6">
<span class="swatch" style="background:#ff2bd6;box-shadow:0 0 6px #ff2bd6"></span>
<span class="name">Relay Park<span class="sublabel">CONTACT</span></span>
</button>
</div>
<div id="instruction">
<div class="inst-step" id="inst-step">STEP 1/3</div>
<div class="inst-icon" id="inst-icon">↑</div>
<div class="inst-text">
<div class="inst-main" id="inst-main">Head north on Main Street</div>
<div class="inst-sub" id="inst-sub">toward North Plaza · ~12 m</div>
</div>
</div>
<div id="tooltip"></div>
<div id="ticker">
<div class="tag">NEWS FEED</div>
<div class="track">
<span>2026: New preprint GROKE — Vision-Free Navigation Instruction Evaluation via Graph Reasoning on OSM, now on arXiv</span>
<span>2026: Paper accepted at ECIR 2026 — From Single to Multi-Agent Reasoning: Advancing GeneGPT for Genomics QA</span>
<span>2026: Paper accepted at EDBT 2026 — Benchmarking Large Language Models for Knowledge Graph Validation</span>
<span>Jul 2025: Started PhD at Aalto University, Helsinki, Finland</span>
<span>2025: Two papers accepted at SIGIR 2025</span>
</div>
</div>
<div id="hud-bottom">
<span class="key">DRAG</span> rotate
<span class="key">SCROLL</span> zoom
<span class="key">CLICK</span> a landmark or sidebar entry
<span class="key">ESC</span> close panel
</div>
<aside id="panel" aria-hidden="true">
<div class="panel-header">
<div class="panel-tag" id="panel-tag">// NODE</div>
<button class="close-btn" id="close-btn" aria-label="Close">×</button>
</div>
<div id="panel-body"></div>
</aside>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.128.0/examples/js/controls/OrbitControls.js"></script>
<script>
/* =========================================================
STREET-GRAPH TOPOLOGY (OSM-inspired mini-city)
========================================================= */
const GRID = 14;
const NODES = {
C: [ 0, 0 ],
N: [ 0, -GRID ],
S: [ 0, GRID ],
E: [ GRID, 0 ],
W: [-GRID, 0 ],
NE: [ GRID, -GRID ],
NW: [-GRID, -GRID ],
SE: [ GRID, GRID ],
SW: [-GRID, GRID ],
};
const EDGES = [
['W','C'],['C','E'],['N','C'],['C','S'],
['NW','N'],['N','NE'],['SW','S'],['S','SE'],
['NW','W'],['W','SW'],['NE','E'],['E','SE']
];
const ADJ = {};
EDGES.forEach(([a,b]) => {
(ADJ[a] = ADJ[a] || []).push(b);
(ADJ[b] = ADJ[b] || []).push(a);
});
const NODE_NAME = {
C: 'Central Plaza', N: 'North Plaza', S: 'South Plaza',
E: 'East Junction', W: 'West Junction',
NE: 'Innovation District', NW: 'Archive Plaza',
SE: 'Career Circle', SW: 'Relay Park',
};
const SECTIONS = {
about: {
node: 'C', label: 'ABOUT', title: 'Farzad Shami',
subtitle: 'PHD STUDENT · AALTO UNIVERSITY',
color: 0x00f6ff, hex: '#00f6ff',
district: 'Central Plaza',
html: `
<div class="photo-frame"><img src="https://fuzsh.github.io/assets/images/photo.jpg" alt="Farzad Shami" onerror="this.style.display='none'"/></div>
<p>Welcome. I am a 1st-year PhD researcher in the Department of Built Environment at <a href="https://www.aalto.fi/en" target="_blank">Aalto University</a> (LeTech group), Helsinki, under the supervision of <strong>Prof. H. Tenkanen</strong> and <strong>N. Van de Weghe</strong>.</p>
<p>Previously, M.S. in Computer Engineering from the <a href="https://www.unipd.it/en/" target="_blank">University of Padova</a> (GPA 110/110), working on LLM-based fact verification for knowledge graphs.</p>
<div class="clear"></div>
<h3>QUICK FACTS</h3>
<ul>
<li><strong>Role:</strong> PhD Researcher, Built Environment</li>
<li><strong>Group:</strong> LeTech · Prof. Henrikki Tenkanen</li>
<li><strong>Project:</strong> Geo-R2LLM (CHIST-ERA 2023)</li>
<li><strong>Based in:</strong> Helsinki, Finland</li>
</ul>`
},
research: {
node: 'NE', label: 'RESEARCH', title: 'Research Focus',
subtitle: 'MULTIMODAL LLMs · GEOSPATIAL REASONING',
color: 0xffb400, hex: '#ffb400',
district: 'Innovation District',
html: `
<p>My research sits at the intersection of <strong>natural language processing</strong> and <strong>geospatial AI</strong>, making large language models understand space, maps, and pedestrian navigation.</p>
<h3>CURRENT PROJECT</h3>
<p><strong>Geo-R2LLM</strong> — Knowledgeable and Interpretable multimodal Geographic LLMs Grounded with Reasoning and Retrieval. Funded under the CHIST-ERA 2023 call, with partners in Belgium, Spain, and South Korea.</p>
<h3>FLAGSHIP: GROKE</h3>
<p>A vision-free, training-free hierarchical LLM framework for evaluating navigation instructions using OpenStreetMap data — the same graph-reasoning approach powering this demo. Companion paper on navigation-failure taxonomy accepted as oral at GeoAI 2026.</p>
<h3>INTERESTS</h3>
<ul>
<li>Large Language Models & Multimodal Reasoning</li>
<li>Geospatial AI & Context-Aware Navigation</li>
<li>Knowledge Graphs & Fact Verification</li>
<li>Information Retrieval & RAG</li>
<li>Multi-Agent Systems</li>
<li>AI for Computing Education (Prof. Juho Leinonen)</li>
</ul>`
},
publications: {
node: 'NW', label: 'PUBLICATIONS', title: 'Selected Publications',
subtitle: 'SIGIR · EDBT · ECIR · GEOAI · CLEF',
color: 0x39ff9b, hex: '#39ff9b',
district: 'Archive Tower',
html: `
<p>Recent and accepted work. Full list on <a href="https://scholar.google.com/citations?hl=en&user=DYpHnYgAAAAJ" target="_blank">Google Scholar</a>.</p>
<div class="pub-item"><span class="pub-venue">ARXIV 2026</span>
<span class="pub-title">GROKE: Vision-Free Navigation Instruction Evaluation via Graph Reasoning on OpenStreetMap</span>
<span class="pub-meta">Preprint · hierarchical LLM framework for navigation-instruction evaluation</span></div>
<div class="pub-item"><span class="pub-venue">ECIR 2026</span>
<span class="pub-title">From Single to Multi-Agent Reasoning: Advancing GeneGPT for Genomics QA</span>
<span class="pub-meta">Accepted · multi-agent architecture for biomedical QA</span></div>
<div class="pub-item"><span class="pub-venue">EDBT 2026</span>
<span class="pub-title">Benchmarking Large Language Models for Knowledge Graph Validation</span>
<span class="pub-meta">Accepted · evaluation framework for KG fact verification</span></div>
<div class="pub-item"><span class="pub-venue">GEOAI 2026</span>
<span class="pub-title">When Agents Get Lost — A Taxonomy of Navigation Failures</span>
<span class="pub-meta">Accepted (Oral) · four-dimensional failure taxonomy</span></div>
<div class="pub-item"><span class="pub-venue">SIGIR 2025</span>
<span class="pub-title">Two papers on LLM-based Fact Verification & KG Retrieval</span>
<span class="pub-meta">Accepted · MSc thesis extensions, University of Padova</span></div>
<div class="pub-item"><span class="pub-venue">CLEF 2024</span>
<span class="pub-title">Earlier work on knowledge-graph fact verification using RAG</span>
<span class="pub-meta">Prior publication</span></div>`
},
experience: {
node: 'SE', label: 'EXPERIENCE', title: 'Experience & Education',
subtitle: 'RESEARCH · ACADEMIC · INDUSTRY',
color: 0x9d6bff, hex: '#9d6bff',
district: 'Career Avenue',
html: `
<h3>DOCTORAL RESEARCH</h3>
<ul>
<li><strong>Aalto University</strong> — PhD Researcher · Jul 2025 – present · LeTech group · CHIST-ERA Geo-R2LLM</li>
<li><strong>Ghent University</strong> — Research Mobility · Prof. Nico Van de Weghe (co-supervisor)</li>
<li><strong>Research Trainee</strong> — Prof. Juho Leinonen's group · AI-generated personalized feedback for CS education</li>
</ul>
<h3>EDUCATION</h3>
<ul>
<li><strong>M.S. Computer Engineering</strong> — University of Padova · GPA 110/110 · Thesis on LLM-based KG fact verification</li>
<li><strong>B.S. Chemical & Process Engineering</strong> — foundation for the transition into ML/AI research</li>
</ul>
<h3>INDUSTRY</h3>
<ul>
<li><strong>Khales Sazan Industries</strong> — Junior Process Engineer · Aspen Plus, COMSOL, Ansys Fluent · mineral carbonation and CO₂ capture research</li>
</ul>
<h3>COLLABORATIONS</h3>
<ul>
<li>KAIST Cyberbridge · AI-human feedback in online gifted education</li>
<li>GEOPRINTS · privacy-preserving mobility embeddings</li>
<li>GIS Development Course · joint Aalto / TU Graz</li>
</ul>`
},
contact: {
node: 'SW', label: 'CONTACT', title: 'Get in Touch',
subtitle: 'OPEN TO COLLABORATION & DISCUSSION',
color: 0xff2bd6, hex: '#ff2bd6',
district: 'Relay Park',
html: `
<p>Happy to discuss geospatial AI, multimodal LLMs, evaluation methodology, or potential collaborations.</p>
<div class="contact-grid">
<div class="cell"><div class="label">EMAIL</div><div class="value"><a href="mailto:farzad.shami@aalto.fi">farzad.shami@aalto.fi</a></div></div>
<div class="cell"><div class="label">LOCATION</div><div class="value">Helsinki, Finland</div></div>
<div class="cell"><div class="label">PHONE</div><div class="value">(+358) 50-571-1821</div></div>
<div class="cell"><div class="label">INSTITUTION</div><div class="value">Aalto University</div></div>
</div>
<h3>LINKS</h3>
<div class="link-list">
<a href="https://fuzsh.github.io/assets/files/cv.pdf" target="_blank">CV (PDF)</a>
<a href="https://scholar.google.com/citations?hl=en&user=DYpHnYgAAAAJ" target="_blank">Google Scholar</a>
<a href="https://github.com/fuzsh" target="_blank">GitHub</a>
<a href="https://linkedin.com/in/farzad-shami" target="_blank">LinkedIn</a>
</div>
<h3>LANGUAGES</h3>
<ul>
<li><strong>English</strong> — C1 (advanced)</li>
<li><strong>Persian</strong> — native</li>
</ul>`
}
};
/* --- Path-finding --- */
function findPath(startKey, endKey) {
if (startKey === endKey) return [startKey];
const visited = new Set([startKey]);
const queue = [[startKey]];
while (queue.length) {
const path = queue.shift();
const last = path[path.length - 1];
for (const n of (ADJ[last] || [])) {
if (visited.has(n)) continue;
if (n === endKey) return [...path, n];
visited.add(n);
queue.push([...path, n]);
}
}
return null;
}
function streetName(a, b) {
const [x1, z1] = NODES[a];
const [x2] = NODES[b];
if (x1 === x2) {
if (x1 === 0) return 'Main Street';
if (x1 < 0) return 'Archive Blvd';
return 'Research Avenue';
} else {
if (z1 === 0) return 'Campus Road';
if (z1 < 0) return 'North Ring';
return 'South Ring';
}
}
function cardinal(a, b) {
const [x1, z1] = NODES[a];
const [x2, z2] = NODES[b];
const dx = x2 - x1, dz = z2 - z1;
if (Math.abs(dx) > Math.abs(dz)) return dx > 0 ? 'east' : 'west';
return dz > 0 ? 'south' : 'north';
}
function turnDir(a, b, c) {
const [x1,z1] = NODES[a], [x2,z2] = NODES[b], [x3,z3] = NODES[c];
const dx1 = x2 - x1, dz1 = z2 - z1;
const dx2 = x3 - x2, dz2 = z3 - z2;
const cross = dx1 * dz2 - dz1 * dx2;
const dot = dx1 * dx2 + dz1 * dz2;
if (Math.abs(cross) < 0.1) return dot > 0 ? 'straight' : 'uturn';
return cross > 0 ? 'right' : 'left';
}
function distMeters(a, b) {
const [x1, z1] = NODES[a];
const [x2, z2] = NODES[b];
return Math.round(Math.hypot(x2-x1, z2-z1));
}
function arrowFor(card) {
return { north: '↑', south: '↓', east: '→', west: '←' }[card] || '↑';
}
function generateInstructions(path, destinationKey) {
const instructions = [];
const destSection = SECTIONS[destinationKey];
if (path.length < 2) {
instructions.push({
icon: '◉', main: `You are at ${destSection.district}`,
sub: `Destination reached`, arrived: true
});
return instructions;
}
for (let i = 0; i < path.length - 1; i++) {
const a = path[i], b = path[i+1];
const dist = distMeters(a, b);
if (i === 0) {
instructions.push({
icon: arrowFor(cardinal(a, b)),
main: `Head ${cardinal(a, b)} on ${streetName(a, b)}`,
sub: `toward ${NODE_NAME[b]} · ~${dist} m`
});
} else {
const turn = turnDir(path[i-1], a, b);
const mainTxt = turn === 'straight'
? `Continue on ${streetName(a, b)}`
: `Turn ${turn} onto ${streetName(a, b)}`;
instructions.push({
icon: turn === 'straight' ? '↑' : (turn === 'left' ? '↰' : '↱'),
main: mainTxt,
sub: `at ${NODE_NAME[a]} · ~${dist} m`
});
}
}
instructions.push({
icon: '◉',
main: `Arrive at ${destSection.district}`,
sub: `${destSection.label} — ${destSection.title}`,
arrived: true
});
return instructions;
}
/* =========================================================
THREE.JS SCENE
========================================================= */
const canvas = document.getElementById('scene');
const scene = new THREE.Scene();
scene.fog = new THREE.FogExp2(0x01030b, 0.012);
const camera = new THREE.PerspectiveCamera(
50, window.innerWidth / window.innerHeight, 0.1, 400
);
camera.position.set(22, 26, 32);
const renderer = new THREE.WebGLRenderer({ canvas, antialias: true, alpha: true });
renderer.setSize(window.innerWidth, window.innerHeight);
renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
renderer.setClearColor(0x000000, 0);
const controls = new THREE.OrbitControls(camera, renderer.domElement);
controls.enableDamping = true;
controls.dampingFactor = 0.06;
controls.minDistance = 12;
controls.maxDistance = 70;
controls.maxPolarAngle = Math.PI * 0.48;
controls.target.set(0, 0, 0);
scene.add(new THREE.AmbientLight(0x7f8db3, 0.55));
const moon = new THREE.DirectionalLight(0xbfd5ff, 0.6);
moon.position.set(20, 30, 10);
scene.add(moon);
/* Starfield */
(function() {
const N = 2400;
const pos = new Float32Array(N * 3);
for (let i = 0; i < N; i++) {
pos[3*i] = (Math.random() - 0.5) * 400;
pos[3*i+1] = Math.random() * 120 + 10;
pos[3*i+2] = (Math.random() - 0.5) * 400;
}
const geom = new THREE.BufferGeometry();
geom.setAttribute('position', new THREE.BufferAttribute(pos, 3));
const mat = new THREE.PointsMaterial({
color: 0xaac6ff, size: 0.18,
transparent: true, opacity: 0.85, sizeAttenuation: true
});
scene.add(new THREE.Points(geom, mat));
})();
/* Ground + far grid */
(function() {
const ground = new THREE.Mesh(
new THREE.PlaneGeometry(300, 300),
new THREE.MeshBasicMaterial({ color: 0x04071c })
);
ground.rotation.x = -Math.PI / 2;
ground.position.y = -0.01;
scene.add(ground);
const grid = new THREE.GridHelper(160, 40, 0x0a2a42, 0x061a2a);
grid.material.transparent = true;
grid.material.opacity = 0.55;
scene.add(grid);
})();
/* Streets */
const STREET_WIDTH = 3.2;
(function buildStreets() {
const g = new THREE.Group();
const roadMat = new THREE.MeshBasicMaterial({ color: 0x10162e });
const lineMat = new THREE.MeshBasicMaterial({ color: 0x2a4a7a, transparent: true, opacity: 0.7 });
const dashMat = new THREE.MeshBasicMaterial({ color: 0xffb400, transparent: true, opacity: 0.8 });
const drawn = new Set();
EDGES.forEach(([a, b]) => {
const key = [a, b].sort().join('-');
if (drawn.has(key)) return;
drawn.add(key);
const [x1, z1] = NODES[a];
const [x2, z2] = NODES[b];
const len = Math.hypot(x2 - x1, z2 - z1);
const midX = (x1 + x2) / 2;
const midZ = (z1 + z2) / 2;
const isVertical = x1 === x2;
const road = new THREE.Mesh(
new THREE.PlaneGeometry(len + STREET_WIDTH, STREET_WIDTH),
roadMat
);
road.rotation.x = -Math.PI / 2;
road.position.set(midX, 0.02, midZ);
if (isVertical) road.rotation.z = Math.PI / 2;
g.add(road);
[-1, 1].forEach(side => {
const line = new THREE.Mesh(
new THREE.PlaneGeometry(len + STREET_WIDTH, 0.12),
lineMat
);
line.rotation.x = -Math.PI / 2;
const off = (STREET_WIDTH / 2) * side;
if (isVertical) {
line.rotation.z = Math.PI / 2;
line.position.set(midX + off, 0.03, midZ);
} else {
line.position.set(midX, 0.03, midZ + off);
}
g.add(line);
});
const dashCount = Math.floor(len / 1.6);
for (let i = 0; i < dashCount; i++) {
const t = (i + 0.5) / dashCount;
const dash = new THREE.Mesh(new THREE.PlaneGeometry(0.9, 0.08), dashMat);
dash.rotation.x = -Math.PI / 2;
const px = x1 + (x2 - x1) * t;
const pz = z1 + (z2 - z1) * t;
if (isVertical) dash.rotation.z = Math.PI / 2;
dash.position.set(px, 0.035, pz);
g.add(dash);
}
});
scene.add(g);
})();
/* Intersection markers */
(function() {
const g = new THREE.Group();
Object.entries(NODES).forEach(([, [x, z]]) => {
const pad = new THREE.Mesh(
new THREE.CircleGeometry(STREET_WIDTH / 2 + 0.3, 24),
new THREE.MeshBasicMaterial({ color: 0x162040 })
);
pad.rotation.x = -Math.PI / 2;
pad.position.set(x, 0.04, z);
g.add(pad);
const ring = new THREE.Mesh(
new THREE.RingGeometry(STREET_WIDTH / 2 + 0.05, STREET_WIDTH / 2 + 0.18, 32),
new THREE.MeshBasicMaterial({ color: 0x00f6ff, transparent: true, opacity: 0.7 })
);
ring.rotation.x = -Math.PI / 2;
ring.position.set(x, 0.05, z);
g.add(ring);
const dot = new THREE.Mesh(
new THREE.CircleGeometry(0.25, 12),
new THREE.MeshBasicMaterial({ color: 0xffb400 })
);
dot.rotation.x = -Math.PI / 2;
dot.position.set(x, 0.06, z);
g.add(dot);
});
scene.add(g);
})();
/* Non-landmark filler buildings */
(function buildCityBlocks() {
const g = new THREE.Group();
const blockCenters = [
[-GRID/2, -GRID/2], [GRID/2, -GRID/2],
[-GRID/2, GRID/2], [GRID/2, GRID/2]
];
const landmarkSpots = new Set(['NE','NW','SE','SW','C']);
blockCenters.forEach(([cx, cz]) => {
const count = 4 + Math.floor(Math.random() * 2);
for (let i = 0; i < count; i++) {
const w = 1.4 + Math.random() * 1.6;
const d = 1.4 + Math.random() * 1.6;
const h = 1.2 + Math.random() * 4.5;
const bx = cx + (Math.random() - 0.5) * (GRID - STREET_WIDTH - 2 - w);
const bz = cz + (Math.random() - 0.5) * (GRID - STREET_WIDTH - 2 - d);
const near = Object.entries(NODES).some(([k, [nx, nz]]) => {
if (!landmarkSpots.has(k)) return false;
return Math.hypot(nx - bx, nz - bz) < 3.0;
});
if (near) continue;
const color = [0x0e1a35, 0x152048, 0x0f2a4a, 0x1a2855][Math.floor(Math.random()*4)];
const building = new THREE.Mesh(
new THREE.BoxGeometry(w, h, d),
new THREE.MeshLambertMaterial({ color })
);
building.position.set(bx, h / 2, bz);
g.add(building);
const edges = new THREE.LineSegments(
new THREE.EdgesGeometry(building.geometry),
new THREE.LineBasicMaterial({ color: 0x00f6ff, transparent: true, opacity: 0.35 })
);
edges.position.copy(building.position);
g.add(edges);
if (Math.random() > 0.55) {
const lamp = new THREE.Mesh(
new THREE.SphereGeometry(0.12, 8, 6),
new THREE.MeshBasicMaterial({ color: Math.random() > 0.5 ? 0xffb400 : 0xff2bd6 })
);
lamp.position.set(bx, h + 0.18, bz);
g.add(lamp);
}
}
});
scene.add(g);
})();
/* Landmarks */
const landmarkObjects = {};
const raycastTargets = [];
function makeLabelCanvas(title, sub, cssColor) {
const canvas = document.createElement('canvas');
canvas.width = 512; canvas.height = 192;
const ctx = canvas.getContext('2d');
ctx.fillStyle = 'rgba(1,3,11,0.88)';
ctx.fillRect(0, 0, 512, 192);
ctx.strokeStyle = cssColor;
ctx.lineWidth = 3;
ctx.strokeRect(6, 6, 500, 180);
ctx.fillStyle = cssColor;
ctx.font = 'bold 22px Orbitron, Arial, sans-serif';
ctx.textAlign = 'center';
ctx.textBaseline = 'middle';
ctx.fillText(sub, 256, 50);
ctx.fillStyle = '#ffffff';
ctx.shadowColor = cssColor;
ctx.shadowBlur = 20;
ctx.font = 'bold 38px Orbitron, Arial, sans-serif';
ctx.fillText(title, 256, 110);
ctx.shadowBlur = 0;
ctx.fillStyle = cssColor;
ctx.font = 'bold 14px "Share Tech Mono", monospace';
ctx.fillText('▼', 256, 166);
return canvas;
}
function makePinSprite(title, label, cssColor) {
const c = makeLabelCanvas(title, label, cssColor);
const tex = new THREE.CanvasTexture(c);
tex.minFilter = THREE.LinearFilter;
const mat = new THREE.SpriteMaterial({ map: tex, transparent: true, depthTest: false });
const sprite = new THREE.Sprite(mat);
sprite.scale.set(5.2, 1.95, 1);
sprite.renderOrder = 999;
return sprite;
}
function buildLandmark(key, s) {
const [x, z] = NODES[s.node];