Repository navigation
Expand file tree
/
Copy pathexplainer-handdrawn.html
More file actions
616 lines (543 loc) · 36.6 KB
/
Copy pathexplainer-handdrawn.html
File metadata and controls
616 lines (543 loc) · 36.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<title>ContextMesh – Hand-Drawn Explainer</title>
<link href="https://fonts.googleapis.com/css2?family=Caveat:wght@400;600;700&display=swap" rel="stylesheet"/>
<style>
*{box-sizing:border-box;margin:0;padding:0}
html,body{width:100%;height:100%;background:#fdf8f0;overflow:hidden;font-family:'Caveat',cursive}
/* Paper texture */
body::before{content:'';position:fixed;inset:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");pointer-events:none;z-index:0}
/* Progress bar */
.prog{position:fixed;bottom:0;left:0;height:5px;background:#e85d4a;width:0%;z-index:100;border-radius:0 3px 0 0;transition:width .12s linear}
/* Slide counter */
.ctr{position:fixed;bottom:14px;right:24px;font-size:18px;color:#bbb;z-index:100;font-family:'Caveat',cursive}
/* Scene wrapper */
.scene{position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease;pointer-events:none;z-index:10;padding:40px 80px}
.scene.on{opacity:1;transform:none;pointer-events:all}
.scene.out{opacity:0;transform:translateY(-20px)}
/* SVG drawing animation */
@keyframes draw{from{stroke-dashoffset:var(--len,1000)}to{stroke-dashoffset:0}}
@keyframes pop{0%{transform:scale(0) rotate(-10deg);opacity:0}70%{transform:scale(1.15) rotate(3deg)}100%{transform:scale(1) rotate(0deg);opacity:1}}
@keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes wiggle{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes scribble{0%{clip-path:inset(0 100% 0 0)}100%{clip-path:inset(0 0% 0 0)}}
@keyframes strike{0%{width:0}100%{width:100%}}
@keyframes handMove{0%{left:calc(var(--sx) * 1px);top:calc(var(--sy) * 1px)}100%{left:calc(var(--ex) * 1px);top:calc(var(--ey) * 1px)}}
/* Pen cursor */
.pen{position:fixed;width:32px;height:32px;pointer-events:none;z-index:99;transition:left 1.2s cubic-bezier(.4,0,.2,1),top 1.2s cubic-bezier(.4,0,.2,1);transform:rotate(-30deg)}
/* Handwritten text reveal */
.hw{display:inline-block;overflow:hidden;white-space:nowrap;animation:scribble .8s steps(30,end) both}
.hw2{animation:scribble 1.2s steps(40,end) both}
.hw3{animation:scribble 1.5s steps(50,end) both}
/* Highlighter */
.hi{position:relative;display:inline}
.hi::before{content:'';position:absolute;bottom:2px;left:-3px;right:-3px;height:60%;background:rgba(255,236,100,.7);z-index:-1;transform:rotate(-.5deg)}
/* Scene title */
.stitle{font-size:clamp(32px,4vw,52px);font-weight:700;color:#2d2d2d;text-align:center;margin-bottom:24px;line-height:1.2}
.stitle .red{color:#e85d4a}
.stitle .blue{color:#4a90d9}
.stitle .green{color:#7ab648}
.stitle .orange{color:#f5a623}
/* Subtitle */
.ssub{font-size:clamp(18px,2vw,26px);color:#555;text-align:center;max-width:760px;line-height:1.6;margin-bottom:20px}
/* Drawing area */
.draw-area{position:relative;width:100%;max-width:900px}
/* Cards */
.sketch-card{background:rgba(255,255,255,.7);border:2.5px solid #2d2d2d;border-radius:8px;padding:20px;position:relative}
.sketch-card::before{content:'';position:absolute;inset:3px;border:1px solid rgba(0,0,0,.08);border-radius:6px;pointer-events:none}
/* Arrow */
.arrow-label{font-size:20px;color:#888;text-align:center;font-family:'Caveat',cursive}
/* Stat number */
.stat-num{font-size:clamp(48px,6vw,80px);font-weight:700;line-height:1}
.stat-label{font-size:20px;color:#666}
/* Underline decoration */
.underline-red{text-decoration:none;border-bottom:3px solid #e85d4a}
.underline-blue{text-decoration:none;border-bottom:3px solid #4a90d9}
</style>
</head>
<body>
<div class="prog" id="pb"></div>
<div class="ctr" id="ctr">1 / 6</div>
<!-- Pen cursor SVG -->
<div class="pen" id="pen" style="left:640px;top:360px">
<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6 26L4 28l2-2zM6 26l16-16-2-2L4 24l2 2z" fill="#2d2d2d"/>
<path d="M20 8l4 4-2 2-4-4 2-2z" fill="#e85d4a"/>
<path d="M22 6l2 2-2 2-2-2 2-2z" fill="#f5a623"/>
<path d="M4 28l-2 2 2-4z" fill="#888"/>
</svg>
</div>
<!-- ═══════════════════════════════════════════
SCENE 1 — The Problem
═══════════════════════════════════════════ -->
<div class="scene on" id="s1">
<svg width="820" height="340" viewBox="0 0 820 340" style="overflow:visible">
<!-- Paper lines background -->
<line x1="0" y1="60" x2="820" y2="60" stroke="#e8e8e0" stroke-width="1.5"/>
<line x1="0" y1="100" x2="820" y2="100" stroke="#e8e8e0" stroke-width="1.5"/>
<line x1="0" y1="140" x2="820" y2="140" stroke="#e8e8e0" stroke-width="1.5"/>
<line x1="0" y1="180" x2="820" y2="180" stroke="#e8e8e0" stroke-width="1.5"/>
<line x1="0" y1="220" x2="820" y2="220" stroke="#e8e8e0" stroke-width="1.5"/>
<line x1="0" y1="260" x2="820" y2="260" stroke="#e8e8e0" stroke-width="1.5"/>
<line x1="0" y1="300" x2="820" y2="300" stroke="#e8e8e0" stroke-width="1.5"/>
<!-- Big title text -->
<text x="410" y="55" font-family="Caveat,cursive" font-size="44" font-weight="700" fill="#2d2d2d" text-anchor="middle"
style="animation:scribble .9s steps(30,end) .2s both;display:inline-block">
Your team's best thinking...
</text>
<!-- Two people chatting -->
<!-- Person 1 - left -->
<g style="animation:pop .5s cubic-bezier(.4,0,.2,1) .6s both">
<!-- Head -->
<circle cx="160" cy="165" r="28" fill="none" stroke="#2d2d2d" stroke-width="2.5"/>
<!-- Eyes -->
<circle cx="153" cy="162" r="3" fill="#2d2d2d"/>
<circle cx="167" cy="162" r="3" fill="#2d2d2d"/>
<!-- Smile -->
<path d="M153 173 Q160 180 167 173" fill="none" stroke="#2d2d2d" stroke-width="2"/>
<!-- Body -->
<line x1="160" y1="193" x2="160" y2="250" stroke="#2d2d2d" stroke-width="2.5"/>
<!-- Arms -->
<line x1="160" y1="215" x2="120" y2="235" stroke="#2d2d2d" stroke-width="2.5"/>
<line x1="160" y1="215" x2="200" y2="235" stroke="#2d2d2d" stroke-width="2.5"/>
<!-- Legs -->
<line x1="160" y1="250" x2="135" y2="300" stroke="#2d2d2d" stroke-width="2.5"/>
<line x1="160" y1="250" x2="185" y2="300" stroke="#2d2d2d" stroke-width="2.5"/>
</g>
<!-- Speech bubble 1 (fading/floating away) -->
<g style="animation:pop .4s ease .9s both">
<rect x="200" y="120" width="170" height="65" rx="12" fill="#fff9c4" stroke="#f5a623" stroke-width="2.5"/>
<polygon points="200,155 185,175 215,155" fill="#fff9c4" stroke="#f5a623" stroke-width="2.5"/>
<text x="285" y="145" font-family="Caveat,cursive" font-size="18" fill="#2d2d2d" text-anchor="middle">We chose Postgres</text>
<text x="285" y="165" font-family="Caveat,cursive" font-size="18" fill="#2d2d2d" text-anchor="middle">because of ACID! 💡</text>
</g>
<!-- Person 2 - right (confused) -->
<g style="animation:pop .5s cubic-bezier(.4,0,.2,1) .8s both">
<!-- Head -->
<circle cx="580" cy="165" r="28" fill="none" stroke="#2d2d2d" stroke-width="2.5"/>
<!-- Confused eyes -->
<path d="M572 159 L576 163 M576 159 L572 163" stroke="#2d2d2d" stroke-width="2.5"/>
<path d="M583 159 L587 163 M587 159 L583 163" stroke="#2d2d2d" stroke-width="2.5"/>
<!-- Confused mouth -->
<path d="M573 176 Q580 170 587 176" fill="none" stroke="#2d2d2d" stroke-width="2"/>
<!-- Sweat drop -->
<path d="M594 148 Q598 142 602 148 Q602 155 598 154 Q594 155 594 148z" fill="#4a90d9" opacity=".7"/>
<!-- Body -->
<line x1="580" y1="193" x2="580" y2="250" stroke="#2d2d2d" stroke-width="2.5"/>
<line x1="580" y1="215" x2="540" y2="235" stroke="#2d2d2d" stroke-width="2.5"/>
<line x1="580" y1="215" x2="620" y2="225" stroke="#2d2d2d" stroke-width="2.5"/>
<!-- Shrug arm -->
<line x1="620" y1="225" x2="630" y2="210" stroke="#2d2d2d" stroke-width="2.5"/>
<line x1="580" y1="250" x2="555" y2="300" stroke="#2d2d2d" stroke-width="2.5"/>
<line x1="580" y1="250" x2="605" y2="300" stroke="#2d2d2d" stroke-width="2.5"/>
</g>
<!-- Question marks floating -->
<text x="650" y="135" font-family="Caveat,cursive" font-size="36" fill="#e85d4a" style="animation:float 2s ease-in-out 1.2s infinite,fadeUp .4s ease 1.2s both">?</text>
<text x="680" y="105" font-family="Caveat,cursive" font-size="28" fill="#e85d4a" style="animation:float 2.3s ease-in-out 1.4s infinite,fadeUp .4s ease 1.4s both">?</text>
<text x="710" y="130" font-family="Caveat,cursive" font-size="22" fill="#e85d4a" style="animation:float 1.8s ease-in-out 1.6s infinite,fadeUp .4s ease 1.6s both">?</text>
<!-- Calendar / time passing arrow -->
<g style="animation:fadeUp .5s ease 1.3s both">
<text x="410" y="130" font-family="Caveat,cursive" font-size="26" fill="#888" text-anchor="middle">6 months later...</text>
<path d="M330 135 Q410 155 490 135" fill="none" stroke="#aaa" stroke-width="2" stroke-dasharray="6,4"/>
<polygon points="490,130 498,142 482,142" fill="#aaa"/>
</g>
<!-- Bottom label -->
<text x="410" y="330" font-family="Caveat,cursive" font-size="32" font-weight="700" fill="#e85d4a" text-anchor="middle"
style="animation:scribble 1s steps(35,end) 1.8s both">
...disappears. Forever. 💨
</text>
</svg>
</div>
<!-- ═══════════════════════════════════════════
SCENE 2 — Pain Points
═══════════════════════════════════════════ -->
<div class="scene" id="s2">
<svg width="820" height="360" viewBox="0 0 820 360" style="overflow:visible">
<!-- Title -->
<text x="410" y="45" font-family="Caveat,cursive" font-size="38" font-weight="700" fill="#2d2d2d" text-anchor="middle"
style="animation:scribble .8s steps(28,end) .1s both">
Sound familiar? 😬
</text>
<!-- Card 1 -->
<g style="animation:pop .5s ease .3s both">
<rect x="20" y="70" width="240" height="250" rx="12" fill="white" stroke="#e85d4a" stroke-width="2.5"/>
<!-- Sketch: person + laptop -->
<circle cx="140" cy="120" r="22" fill="none" stroke="#2d2d2d" stroke-width="2"/>
<circle cx="133" cy="117" r="3" fill="#2d2d2d"/>
<circle cx="147" cy="117" r="3" fill="#2d2d2d"/>
<path d="M133 128 Q140 134 147 128" fill="none" stroke="#2d2d2d" stroke-width="2"/>
<line x1="140" y1="142" x2="140" y2="180" stroke="#2d2d2d" stroke-width="2"/>
<rect x="100" y="180" width="80" height="50" rx="4" fill="none" stroke="#4a90d9" stroke-width="2"/>
<line x1="85" y1="235" x2="195" y2="235" stroke="#4a90d9" stroke-width="2.5"/>
<text x="140" y="196" font-family="Caveat,cursive" font-size="13" fill="#4a90d9" text-anchor="middle">Slack</text>
<text x="140" y="209" font-family="Caveat,cursive" font-size="11" fill="#aaa" text-anchor="middle">Why postgres?</text>
<text x="140" y="272" font-family="Caveat,cursive" font-size="18" fill="#e85d4a" text-anchor="middle" font-weight="700">"Why did we</text>
<text x="140" y="294" font-family="Caveat,cursive" font-size="18" fill="#e85d4a" text-anchor="middle" font-weight="700">build this?!"</text>
</g>
<!-- Card 2 -->
<g style="animation:pop .5s ease .6s both">
<rect x="290" y="70" width="240" height="250" rx="12" fill="white" stroke="#4a90d9" stroke-width="2.5"/>
<!-- Robot / AI agent -->
<rect x="370" y="90" width="60" height="55" rx="8" fill="none" stroke="#2d2d2d" stroke-width="2"/>
<circle cx="385" cy="107" r="6" fill="#4a90d9"/>
<circle cx="415" cy="107" r="6" fill="#4a90d9"/>
<rect x="380" y="120" width="40" height="10" rx="3" fill="none" stroke="#2d2d2d" stroke-width="1.5"/>
<!-- Antenna -->
<line x1="400" y1="90" x2="400" y2="78" stroke="#2d2d2d" stroke-width="2"/>
<circle cx="400" cy="75" r="4" fill="#e85d4a"/>
<!-- Thought bubble - empty / confused -->
<circle cx="450" cy="100" r="5" fill="none" stroke="#aaa" stroke-width="1.5"/>
<circle cx="462" cy="88" r="7" fill="none" stroke="#aaa" stroke-width="1.5"/>
<circle cx="476" cy="76" r="10" fill="#f5f5f5" stroke="#aaa" stroke-width="1.5"/>
<text x="476" y="80" font-family="Caveat,cursive" font-size="14" fill="#aaa" text-anchor="middle">?</text>
<!-- Label -->
<text x="410" y="180" font-family="Caveat,cursive" font-size="16" fill="#4a90d9" text-anchor="middle">AI Agent</text>
<text x="410" y="216" font-family="Caveat,cursive" font-size="17" fill="#2d2d2d" text-anchor="middle">Starts every session</text>
<text x="410" y="238" font-family="Caveat,cursive" font-size="17" fill="#2d2d2d" text-anchor="middle">knowing</text>
<text x="410" y="272" font-family="Caveat,cursive" font-size="26" fill="#e85d4a" text-anchor="middle" font-weight="700">nothing. 🤷</text>
</g>
<!-- Card 3 -->
<g style="animation:pop .5s ease .9s both">
<rect x="560" y="70" width="240" height="250" rx="12" fill="white" stroke="#7ab648" stroke-width="2.5"/>
<!-- Calendar -->
<rect x="610" y="88" width="140" height="110" rx="6" fill="none" stroke="#2d2d2d" stroke-width="2"/>
<line x1="610" y1="110" x2="750" y2="110" stroke="#2d2d2d" stroke-width="2"/>
<text x="680" y="105" font-family="Caveat,cursive" font-size="14" fill="#e85d4a" text-anchor="middle" font-weight="700">Sprint 12</text>
<!-- Repeated debates -->
<text x="680" y="130" font-family="Caveat,cursive" font-size="13" fill="#888" text-anchor="middle">Use Redis? 🔄</text>
<text x="680" y="148" font-family="Caveat,cursive" font-size="13" fill="#888" text-anchor="middle">Use Redis? 🔄</text>
<text x="680" y="166" font-family="Caveat,cursive" font-size="13" fill="#888" text-anchor="middle">Use Redis? 🔄</text>
<text x="680" y="184" font-family="Caveat,cursive" font-size="13" fill="#888" text-anchor="middle">Use Redis? 🔄</text>
<text x="680" y="234" font-family="Caveat,cursive" font-size="18" fill="#2d2d2d" text-anchor="middle">Same debate,</text>
<text x="680" y="256" font-family="Caveat,cursive" font-size="18" fill="#2d2d2d" text-anchor="middle">every sprint</text>
<text x="680" y="294" font-family="Caveat,cursive" font-size="24" fill="#e85d4a" text-anchor="middle" font-weight="700">AGAIN. 😩</text>
</g>
<!-- Bottom call out -->
<text x="410" y="348" font-family="Caveat,cursive" font-size="22" fill="#888" text-anchor="middle"
style="animation:fadeUp .5s ease 1.3s both">
All because the WHY was never captured.
</text>
</svg>
</div>
<!-- ═══════════════════════════════════════════
SCENE 3 — Introducing ContextMesh
═══════════════════════════════════════════ -->
<div class="scene" id="s3">
<svg width="820" height="380" viewBox="0 0 820 380" style="overflow:visible">
<!-- "Introducing..." -->
<text x="410" y="40" font-family="Caveat,cursive" font-size="26" fill="#888" text-anchor="middle"
style="animation:fadeUp .5s ease .1s both">
— introducing —
</text>
<!-- Big brain drawing itself -->
<g transform="translate(250,60)" style="animation:pop .8s cubic-bezier(.4,0,.2,1) .4s both">
<!-- Brain outline - simplified -->
<path d="M160,30 C190,5 230,10 235,45 C255,40 275,55 270,80 C285,85 290,105 275,118 C285,135 278,160 260,165 C255,185 235,195 215,185 C205,200 185,205 170,195 C155,210 130,205 120,190 C100,195 80,185 78,165 C60,162 50,140 62,122 C48,108 50,85 68,78 C65,52 85,38 110,42 C118,15 148,5 160,30z"
fill="none" stroke="#2d2d2d" stroke-width="3" stroke-linecap="round"
style="--len:1200;stroke-dasharray:1200;stroke-dashoffset:1200;animation:draw 2s ease .5s forwards"/>
<!-- Brain wrinkles -->
<path d="M100,80 C110,70 130,75 125,90" fill="none" stroke="#aaa" stroke-width="2" stroke-linecap="round"
style="--len:60;stroke-dasharray:60;stroke-dashoffset:60;animation:draw .5s ease 2s forwards"/>
<path d="M150,60 C165,50 180,65 170,80" fill="none" stroke="#aaa" stroke-width="2" stroke-linecap="round"
style="--len:70;stroke-dasharray:70;stroke-dashoffset:70;animation:draw .5s ease 2.2s forwards"/>
<path d="M120,110 C140,100 160,115 150,130" fill="none" stroke="#aaa" stroke-width="2" stroke-linecap="round"
style="--len:60;stroke-dasharray:60;stroke-dashoffset:60;animation:draw .5s ease 2.4s forwards"/>
<path d="M170,130 C190,120 205,135 195,150" fill="none" stroke="#aaa" stroke-width="2" stroke-linecap="round"
style="--len:60;stroke-dasharray:60;stroke-dashoffset:60;animation:draw .5s ease 2.6s forwards"/>
<!-- Mesh lines inside brain -->
<line x1="90" y1="100" x2="160" y2="80" stroke="#4a90d9" stroke-width="1.5" stroke-dasharray="4,3" opacity=".6"
style="--len:80;stroke-dasharray:80;stroke-dashoffset:80;animation:draw .6s ease 2.8s forwards"/>
<line x1="160" y1="80" x2="230" y2="110" stroke="#4a90d9" stroke-width="1.5" stroke-dasharray="4,3" opacity=".6"
style="--len:80;stroke-dasharray:80;stroke-dashoffset:80;animation:draw .6s ease 3s forwards"/>
<line x1="120" y1="140" x2="200" y2="125" stroke="#4a90d9" stroke-width="1.5" stroke-dasharray="4,3" opacity=".6"
style="--len:90;stroke-dasharray:90;stroke-dashoffset:90;animation:draw .6s ease 3.2s forwards"/>
<!-- Nodes -->
<circle cx="90" cy="100" r="5" fill="#6366f1" style="animation:pop .3s ease 3.4s both;opacity:0"/>
<circle cx="160" cy="80" r="5" fill="#6366f1" style="animation:pop .3s ease 3.5s both;opacity:0"/>
<circle cx="230" cy="110" r="5" fill="#6366f1" style="animation:pop .3s ease 3.6s both;opacity:0"/>
<circle cx="120" cy="140" r="5" fill="#6366f1" style="animation:pop .3s ease 3.7s both;opacity:0"/>
<circle cx="200" cy="125" r="5" fill="#6366f1" style="animation:pop .3s ease 3.8s both;opacity:0"/>
</g>
<!-- Name -->
<text x="410" y="260" font-family="Caveat,cursive" font-size="62" font-weight="700" fill="#2d2d2d" text-anchor="middle"
style="animation:scribble 1.2s steps(12,end) 2.5s both">
ContextMesh
</text>
<!-- Underline drawn below name -->
<line x1="155" y1="272" x2="665" y2="272" stroke="#e85d4a" stroke-width="4" stroke-linecap="round"
style="--len:510;stroke-dasharray:510;stroke-dashoffset:510;animation:draw .6s ease 3.5s forwards"/>
<!-- Tagline -->
<text x="410" y="320" font-family="Caveat,cursive" font-size="26" fill="#555" text-anchor="middle"
style="animation:fadeUp .5s ease 3.8s both;opacity:0">
The missing memory layer for your team & AI agents 🧠
</text>
<!-- Badge pills -->
<g style="animation:fadeUp .5s ease 4.2s both;opacity:0">
<rect x="135" y="340" width="120" height="28" rx="14" fill="#f0f4ff" stroke="#4a90d9" stroke-width="1.5"/>
<text x="195" y="358" font-family="Caveat,cursive" font-size="15" fill="#4a90d9" text-anchor="middle">Open Source</text>
<rect x="275" y="340" width="120" height="28" rx="14" fill="#f0fff4" stroke="#7ab648" stroke-width="1.5"/>
<text x="335" y="358" font-family="Caveat,cursive" font-size="15" fill="#7ab648" text-anchor="middle">TypeScript</text>
<rect x="415" y="340" width="100" height="28" rx="14" fill="#fff8f0" stroke="#f5a623" stroke-width="1.5"/>
<text x="465" y="358" font-family="Caveat,cursive" font-size="15" fill="#f5a623" text-anchor="middle">SQLite</text>
<rect x="535" y="340" width="80" height="28" rx="14" fill="#fdf0ff" stroke="#9b59b6" stroke-width="1.5"/>
<text x="575" y="358" font-family="Caveat,cursive" font-size="15" fill="#9b59b6" text-anchor="middle">MCP</text>
</g>
</svg>
</div>
<!-- ═══════════════════════════════════════════
SCENE 4 — How it Works
═══════════════════════════════════════════ -->
<div class="scene" id="s4">
<svg width="860" height="370" viewBox="0 0 860 370" style="overflow:visible">
<text x="430" y="42" font-family="Caveat,cursive" font-size="36" font-weight="700" fill="#2d2d2d" text-anchor="middle"
style="animation:scribble .8s steps(25,end) .1s both">
How it works 👇
</text>
<!-- Step 1: Document / raw content -->
<g style="animation:pop .5s ease .4s both">
<rect x="20" y="70" width="155" height="195" rx="8" fill="white" stroke="#2d2d2d" stroke-width="2.5" transform="rotate(-3 97 167)"/>
<!-- Lines on paper -->
<line x1="40" y1="105" x2="158" y2="101" stroke="#ddd" stroke-width="2"/>
<line x1="38" y1="120" x2="156" y2="116" stroke="#ddd" stroke-width="2"/>
<line x1="37" y1="135" x2="155" y2="131" stroke="#ddd" stroke-width="2"/>
<line x1="36" y1="150" x2="154" y2="146" stroke="#ddd" stroke-width="2"/>
<line x1="35" y1="165" x2="153" y2="161" stroke="#ddd" stroke-width="2"/>
<line x1="34" y1="180" x2="152" y2="176" stroke="#ddd" stroke-width="2"/>
<!-- Slack icon approximation -->
<text x="97" y="94" font-family="Caveat,cursive" font-size="14" fill="#888" text-anchor="middle">Slack / Meetings</text>
<text x="97" y="205" font-family="Caveat,cursive" font-size="13" fill="#f5a623" text-anchor="middle">Email / PRs / Docs</text>
</g>
<text x="97" y="285" font-family="Caveat,cursive" font-size="20" fill="#2d2d2d" text-anchor="middle"
style="animation:fadeUp .4s ease .7s both;opacity:0">Raw Content</text>
<!-- Arrow 1 -->
<g style="animation:fadeUp .4s ease .9s both;opacity:0">
<line x1="195" y1="167" x2="255" y2="167" stroke="#2d2d2d" stroke-width="2.5" stroke-linecap="round"/>
<polygon points="255,158 270,167 255,176" fill="#2d2d2d"/>
<text x="233" y="155" font-family="Caveat,cursive" font-size="16" fill="#888" text-anchor="middle">paste</text>
</g>
<!-- Step 2: Claude magic -->
<g style="animation:pop .5s ease 1s both">
<circle cx="320" cy="167" r="65" fill="#fff9c4" stroke="#f5a623" stroke-width="2.5"/>
<text x="320" y="148" font-family="Caveat,cursive" font-size="36" text-anchor="middle">✨</text>
<text x="320" y="175" font-family="Caveat,cursive" font-size="18" fill="#2d2d2d" text-anchor="middle" font-weight="700">Claude</text>
<text x="320" y="194" font-family="Caveat,cursive" font-size="15" fill="#888" text-anchor="middle">extracts</text>
<text x="320" y="210" font-family="Caveat,cursive" font-size="15" fill="#888" text-anchor="middle">decisions</text>
</g>
<text x="320" y="252" font-family="Caveat,cursive" font-size="18" fill="#f5a623" text-anchor="middle"
style="animation:fadeUp .4s ease 1.1s both;opacity:0">AI Extractor</text>
<!-- Arrow 2 -->
<g style="animation:fadeUp .4s ease 1.3s both;opacity:0">
<line x1="388" y1="167" x2="448" y2="167" stroke="#2d2d2d" stroke-width="2.5" stroke-linecap="round"/>
<polygon points="448,158 463,167 448,176" fill="#2d2d2d"/>
<text x="426" y="155" font-family="Caveat,cursive" font-size="16" fill="#888" text-anchor="middle">saves</text>
</g>
<!-- Step 3: Knowledge Graph -->
<g style="animation:pop .5s ease 1.4s both">
<rect x="468" y="100" width="155" height="135" rx="10" fill="white" stroke="#4a90d9" stroke-width="2.5"/>
<!-- Mini graph nodes -->
<circle cx="520" cy="135" r="8" fill="#6366f1"/>
<circle cx="565" cy="122" r="8" fill="#e85d4a"/>
<circle cx="600" cy="148" r="8" fill="#7ab648"/>
<circle cx="545" cy="170" r="8" fill="#f5a623"/>
<circle cx="580" cy="190" r="6" fill="#9b59b6"/>
<line x1="520" y1="135" x2="565" y2="122" stroke="#aaa" stroke-width="1.5"/>
<line x1="565" y1="122" x2="600" y2="148" stroke="#aaa" stroke-width="1.5"/>
<line x1="520" y1="135" x2="545" y2="170" stroke="#aaa" stroke-width="1.5"/>
<line x1="600" y1="148" x2="545" y2="170" stroke="#aaa" stroke-width="1.5"/>
<line x1="545" y1="170" x2="580" y2="190" stroke="#aaa" stroke-width="1.5"/>
</g>
<text x="545" y="257" font-family="Caveat,cursive" font-size="20" fill="#4a90d9" text-anchor="middle"
style="animation:fadeUp .4s ease 1.5s both;opacity:0">Knowledge Graph</text>
<text x="545" y="280" font-family="Caveat,cursive" font-size="16" fill="#888" text-anchor="middle"
style="animation:fadeUp .4s ease 1.6s both;opacity:0">who, what, WHY, rejected</text>
<!-- Arrow 3 -->
<g style="animation:fadeUp .4s ease 1.7s both;opacity:0">
<line x1="628" y1="167" x2="688" y2="167" stroke="#2d2d2d" stroke-width="2.5" stroke-linecap="round"/>
<polygon points="688,158 703,167 688,176" fill="#2d2d2d"/>
<text x="666" y="155" font-family="Caveat,cursive" font-size="16" fill="#888" text-anchor="middle">feeds</text>
</g>
<!-- Step 4: AI Agents -->
<g style="animation:pop .5s ease 1.8s both">
<!-- Claude Code -->
<rect x="708" y="82" width="130" height="60" rx="8" fill="#f0f4ff" stroke="#6366f1" stroke-width="2"/>
<text x="773" y="108" font-family="Caveat,cursive" font-size="15" fill="#6366f1" text-anchor="middle">Claude Code</text>
<text x="773" y="126" font-family="Caveat,cursive" font-size="13" fill="#888" text-anchor="middle">🤖 "I know your history"</text>
<!-- Cursor -->
<rect x="708" y="157" width="130" height="50" rx="8" fill="#f0fff4" stroke="#7ab648" stroke-width="2"/>
<text x="773" y="179" font-family="Caveat,cursive" font-size="15" fill="#7ab648" text-anchor="middle">Cursor</text>
<text x="773" y="197" font-family="Caveat,cursive" font-size="13" fill="#888" text-anchor="middle">🎯 org-aware</text>
<!-- Copilot -->
<rect x="708" y="222" width="130" height="50" rx="8" fill="#fff8f0" stroke="#f5a623" stroke-width="2"/>
<text x="773" y="244" font-family="Caveat,cursive" font-size="15" fill="#f5a623" text-anchor="middle">Any MCP Agent</text>
<text x="773" y="262" font-family="Caveat,cursive" font-size="13" fill="#888" text-anchor="middle">🔌 plug & play</text>
</g>
<!-- Bottom note -->
<text x="430" y="340" font-family="Caveat,cursive" font-size="20" fill="#e85d4a" text-anchor="middle"
style="animation:fadeUp .5s ease 2.2s both;opacity:0">
AI agents stop guessing. They KNOW your team's decisions. 🎉
</text>
</svg>
</div>
<!-- ═══════════════════════════════════════════
SCENE 5 — Live Demo
═══════════════════════════════════════════ -->
<div class="scene" id="s5">
<svg width="820" height="380" viewBox="0 0 820 380" style="overflow:visible">
<text x="410" y="42" font-family="Caveat,cursive" font-size="36" font-weight="700" fill="#2d2d2d" text-anchor="middle"
style="animation:scribble .8s steps(18,end) .1s both">
See it in action! 🔥
</text>
<!-- Terminal window -->
<g style="animation:pop .5s ease .4s both">
<rect x="40" y="60" width="740" height="190" rx="12" fill="#1e1e2e" stroke="#2d2d2d" stroke-width="2.5"/>
<!-- Traffic lights -->
<circle cx="68" cy="82" r="7" fill="#e85d4a"/>
<circle cx="92" cy="82" r="7" fill="#f5a623"/>
<circle cx="116" cy="82" r="7" fill="#7ab648"/>
<text x="410" y="84" font-family="Caveat,cursive" font-size="14" fill="#555" text-anchor="middle">terminal</text>
<line x1="40" y1="96" x2="780" y2="96" stroke="#333" stroke-width="1"/>
<!-- Command line -->
<text x="65" y="124" font-family="'Cascadia Code','Courier New',monospace" font-size="15" fill="#86efac"
style="animation:scribble .9s steps(35,end) .7s both">$ npm run ingest -- --text "chose Postgres..."</text>
<!-- Output -->
<text x="65" y="150" font-family="'Cascadia Code','Courier New',monospace" font-size="14" fill="#fde68a"
style="animation:scribble .7s steps(30,end) 1.4s both">✅ 1 decision extracted and saved to memory</text>
<!-- Query -->
<text x="65" y="180" font-family="'Cascadia Code','Courier New',monospace" font-size="15" fill="#93c5fd"
style="animation:scribble .8s steps(32,end) 2.0s both">$ query_context("why did we choose postgres")</text>
<!-- Result -->
<text x="65" y="208" font-family="'Cascadia Code','Courier New',monospace" font-size="13" fill="#c4b5fd"
style="animation:scribble .8s steps(40,end) 2.7s both">→ REASONING: Relational data, ACID critical...</text>
<text x="65" y="228" font-family="'Cascadia Code','Courier New',monospace" font-size="13" fill="#64748b"
style="animation:scribble .7s steps(38,end) 3.1s both">→ REJECTED: MongoDB (no joins) · MySQL (weak JSON)</text>
</g>
<!-- Annotation arrows -->
<g style="animation:fadeUp .4s ease 1.6s both;opacity:0">
<path d="M215 255 C215 275 130 275 130 255" fill="none" stroke="#e85d4a" stroke-width="2" stroke-dasharray="5,3"/>
<text x="150" y="298" font-family="Caveat,cursive" font-size="18" fill="#e85d4a" text-anchor="middle">Slack thread</text>
<text x="150" y="318" font-family="Caveat,cursive" font-size="18" fill="#e85d4a" text-anchor="middle">in → decision out!</text>
</g>
<g style="animation:fadeUp .4s ease 3.0s both;opacity:0">
<path d="M490 255 C490 290 610 290 620 265" fill="none" stroke="#4a90d9" stroke-width="2" stroke-dasharray="5,3"/>
<polygon points="617,255 628,268 610,270" fill="#4a90d9"/>
<text x="570" y="308" font-family="Caveat,cursive" font-size="18" fill="#4a90d9" text-anchor="middle">Your AI now knows</text>
<text x="570" y="328" font-family="Caveat,cursive" font-size="18" fill="#4a90d9" text-anchor="middle">your team's history!</text>
</g>
<!-- Works for any field label -->
<g style="animation:fadeUp .5s ease 3.5s both;opacity:0">
<text x="410" y="362" font-family="Caveat,cursive" font-size="20" fill="#555" text-anchor="middle">
Works for: Engineering 💻 · Healthcare 🏥 · Legal ⚖️ · Education 🎓
</text>
</g>
</svg>
</div>
<!-- ═══════════════════════════════════════════
SCENE 6 — CTA / Launch
═══════════════════════════════════════════ -->
<div class="scene" id="s6">
<svg width="820" height="380" viewBox="0 0 820 380" style="overflow:visible">
<!-- Stars scattered -->
<text x="60" y="60" font-size="22" style="animation:pop .3s ease .2s both;opacity:0">⭐</text>
<text x="740" y="50" font-size="18" style="animation:pop .3s ease .4s both;opacity:0">⭐</text>
<text x="120" y="340" font-size="16" style="animation:pop .3s ease .6s both;opacity:0">✨</text>
<text x="700" y="350" font-size="20" style="animation:pop .3s ease .8s both;opacity:0">🚀</text>
<text x="30" y="200" font-size="16" style="animation:pop .3s ease .5s both;opacity:0">💡</text>
<text x="760" y="200" font-size="16" style="animation:pop .3s ease .7s both;opacity:0">💡</text>
<!-- Title -->
<text x="410" y="55" font-family="Caveat,cursive" font-size="52" font-weight="700" fill="#2d2d2d" text-anchor="middle"
style="animation:scribble 1s steps(12,end) .3s both">
ContextMesh
</text>
<!-- Hand-drawn underline squiggle -->
<path d="M165 65 C210 75 260 58 310 68 C360 78 410 58 460 68 C510 78 560 58 610 68 C640 74 660 64 665 65"
fill="none" stroke="#e85d4a" stroke-width="3.5" stroke-linecap="round"
style="--len:520;stroke-dasharray:520;stroke-dashoffset:520;animation:draw .7s ease 1s forwards"/>
<!-- Big tagline -->
<text x="410" y="110" font-family="Caveat,cursive" font-size="24" fill="#555" text-anchor="middle"
style="animation:fadeUp .5s ease 1.3s both;opacity:0">
The missing memory layer for your team & AI agents 🧠
</text>
<!-- Stats - hand drawn boxes -->
<g style="animation:pop .5s ease 1.6s both">
<rect x="55" y="135" width="160" height="105" rx="10" fill="#fff9c4" stroke="#f5a623" stroke-width="2.5" transform="rotate(-2 135 187)"/>
<text x="135" y="178" font-family="Caveat,cursive" font-size="54" font-weight="700" fill="#f5a623" text-anchor="middle">7</text>
<text x="135" y="220" font-family="Caveat,cursive" font-size="18" fill="#888" text-anchor="middle">MCP tools</text>
</g>
<g style="animation:pop .5s ease 1.8s both">
<rect x="240" y="130" width="160" height="115" rx="10" fill="#f0f4ff" stroke="#4a90d9" stroke-width="2.5" transform="rotate(1.5 320 187)"/>
<text x="320" y="178" font-family="Caveat,cursive" font-size="54" font-weight="700" fill="#4a90d9" text-anchor="middle">∞</text>
<text x="320" y="218" font-family="Caveat,cursive" font-size="16" fill="#888" text-anchor="middle">decisions saved</text>
</g>
<g style="animation:pop .5s ease 2.0s both">
<rect x="420" y="135" width="160" height="105" rx="10" fill="#f0fff4" stroke="#7ab648" stroke-width="2.5" transform="rotate(-1 500 187)"/>
<text x="500" y="178" font-family="Caveat,cursive" font-size="54" font-weight="700" fill="#7ab648" text-anchor="middle">0</text>
<text x="500" y="220" font-family="Caveat,cursive" font-size="18" fill="#888" text-anchor="middle">knowledge lost</text>
</g>
<g style="animation:pop .5s ease 2.2s both">
<rect x="608" y="130" width="160" height="115" rx="10" fill="#fff0f0" stroke="#e85d4a" stroke-width="2.5" transform="rotate(2 688 187)"/>
<text x="688" y="178" font-family="Caveat,cursive" font-size="54" font-weight="700" fill="#e85d4a" text-anchor="middle">1</text>
<text x="688" y="213" font-family="Caveat,cursive" font-size="16" fill="#888" text-anchor="middle">command to start</text>
</g>
<!-- CTA Button - hand drawn style -->
<g style="animation:pop .6s cubic-bezier(.4,0,.2,1) 2.6s both;opacity:0">
<!-- Rough hand-drawn rectangle for button -->
<path d="M210 270 C212 264 218 261 240 260 C310 257 410 256 500 258 C550 259 590 261 608 265 C614 268 617 273 615 280 C613 287 607 292 590 294 C520 297 410 298 300 296 C260 295 225 293 213 288 C207 284 208 276 210 270z"
fill="#2d2d2d"/>
<text x="412" y="284" font-family="Caveat,cursive" font-size="24" fill="white" text-anchor="middle" font-weight="700">
⭐ Star on GitHub · 🚀 Launch on Product Hunt
</text>
</g>
<!-- npm install note -->
<text x="410" y="340" font-family="'Courier New',monospace" font-size="18" fill="#888" text-anchor="middle"
style="animation:fadeUp .5s ease 3.0s both;opacity:0">
npm install & connect to Claude Code in 2 minutes
</text>
<!-- Small rocket doodle -->
<g transform="translate(720,230)" style="animation:float 2s ease-in-out 2.8s infinite,fadeUp .3s ease 2.8s both;opacity:0">
<path d="M15,40 C15,40 0,30 0,15 C0,5 7,0 15,0 C23,0 30,5 30,15 C30,30 15,40 15,40z" fill="none" stroke="#e85d4a" stroke-width="2"/>
<circle cx="15" cy="14" r="5" fill="none" stroke="#4a90d9" stroke-width="1.5"/>
<path d="M8,30 L4,42 L15,36 L26,42 L22,30" fill="#fde68a" stroke="#f5a623" stroke-width="1.5"/>
</g>
</svg>
</div>
<script>
var S=[{id:'s1',d:7000},{id:'s2',d:10000},{id:'s3',d:12000},{id:'s4',d:11000},{id:'s5',d:11000},{id:'s6',d:11000}];
var T=S.reduce(function(a,x){return a+x.d},0),cur=0,t0=Date.now();
var pb=document.getElementById('pb'),ctr=document.getElementById('ctr');
function show(i){
S.forEach(function(s,j){
var e=document.getElementById(s.id);
e.className='scene'+(j<i?' out':'');
});
document.getElementById(S[i].id).className='scene on';
ctr.textContent=(i+1)+' / 6';
}
function tick(){
var t=Date.now()-t0;
pb.style.width=Math.min(t/T*100,100)+'%';
var acc=0;
for(var i=0;i<S.length;i++){
acc+=S[i].d;
if(t<acc){
if(i!==cur){cur=i;show(i);}
break;
}
}
if(t<T)requestAnimationFrame(tick);
}
show(0);requestAnimationFrame(tick);
// Click to advance
document.body.addEventListener('click',function(){
if(cur<S.length-1){
var acc=0;
for(var i=0;i<=cur;i++)acc+=S[i].d;
t0=Date.now()-acc;
}
});
</script>
</body>
</html>