Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
1571 lines (1421 loc) · 53.9 KB
/
Copy pathindex.html
File metadata and controls
1571 lines (1421 loc) · 53.9 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>You're out of extra usage</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⬛</text></svg>" id="favicon">
<style>
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');
*{margin:0;padding:0;box-sizing:border-box}
:root{
--bg:#0a0a0a;
--terminal-bg:#0d1117;
--pink:#ff6b9d;
--red:#ff4757;
--blood:#8b0000;
--rust:#8b4513;
--rust-light:#cd853f;
--parchment:#e0d8c8;
--gray:#8b949e;
--white:#e6edf3;
--green:#3fb950;
--purple:#bc8cff;
--border:#30363d;
--void:#000000;
--infrared:#1a0000;
}
body{
background:var(--bg);
font-family:'IBM Plex Mono','Courier New',monospace;
color:var(--white);
overflow:hidden;
width:100vw;height:100vh;
cursor:default;
transition:background 8s,filter 4s;
}
body.act3{background:#050508}
body.act4{background:var(--infrared);filter:saturate(1.4) contrast(1.1)}
body.act5{background:#ffffff;filter:none}
/* CRT + scanlines */
#crt{
position:fixed;inset:0;
pointer-events:none;z-index:10000;
opacity:0;transition:opacity 3s;
}
#crt::before{
content:'';position:absolute;inset:0;
background:repeating-linear-gradient(transparent,transparent 2px,rgba(0,0,0,0.06) 2px,rgba(0,0,0,0.06) 4px);
}
#crt::after{
content:'';position:absolute;inset:0;
background:radial-gradient(ellipse at center,transparent 50%,rgba(0,0,0,0.5) 100%);
}
#crt.heavy::before{
background:repeating-linear-gradient(transparent,transparent 1px,rgba(0,0,0,0.15) 1px,rgba(0,0,0,0.15) 3px);
}
/* Vignette that intensifies */
#vignette{
position:fixed;inset:0;
pointer-events:none;z-index:9999;
box-shadow:inset 0 0 150px rgba(0,0,0,0);
transition:box-shadow 10s;
}
#vignette.deep{box-shadow:inset 0 0 200px rgba(0,0,0,0.8)}
#vignette.blood{box-shadow:inset 0 0 250px rgba(139,0,0,0.6)}
/* Screen tear */
.screen-tear{
position:fixed;left:0;
width:100%;pointer-events:none;z-index:9998;
height:4px;
background:rgba(255,107,157,0.15);
box-shadow:0 0 20px rgba(255,107,157,0.1);
animation:tear-slide 0.08s linear;
}
@keyframes tear-slide{
0%{transform:translateX(-5px)}
50%{transform:translateX(5px)}
100%{transform:translateX(0)}
}
/* Dead pixels */
.dead-pixel{
position:fixed;
width:2px;height:2px;
background:#000;
pointer-events:none;z-index:9997;
box-shadow:0 0 1px #000;
}
/* Ghost cursor (afterimage) */
#ghost-cursor{
position:fixed;
width:16px;height:16px;
border:1px solid rgba(255,107,157,0.3);
border-radius:50%;
pointer-events:none;z-index:11000;
opacity:0;
transition:opacity 2s;
mix-blend-mode:difference;
}
#ghost-cursor.active{opacity:1}
/* Fake cursor for Act 5 offset */
#fake-cursor{
position:fixed;
width:0;height:0;
border-left:6px solid transparent;
border-right:6px solid transparent;
border-top:12px solid #000;
pointer-events:none;z-index:30000;
display:none;
}
/* Shake */
.shake{animation:shake 0.1s infinite}
@keyframes shake{
0%{transform:translate(0,0)}
25%{transform:translate(-3px,2px)}
50%{transform:translate(3px,-2px)}
75%{transform:translate(-2px,-3px)}
100%{transform:translate(2px,3px)}
}
.shake-subtle{animation:shake-s 0.15s infinite}
@keyframes shake-s{
0%{transform:translate(0,0)}
50%{transform:translate(-1px,1px)}
100%{transform:translate(1px,-1px)}
}
/* Terminal */
#terminal{
position:absolute;top:50%;left:50%;
transform:translate(-50%,-50%);
width:min(700px,90vw);
background:var(--terminal-bg);
border-radius:12px;
border:1px solid var(--border);
box-shadow:0 20px 60px rgba(0,0,0,0.5);
z-index:100;
transition:all 1s,box-shadow 3s;
}
#terminal.corrupted{
border-color:var(--blood);
box-shadow:0 20px 80px rgba(139,0,0,0.3),0 0 2px rgba(255,107,157,0.2);
}
#terminal .titlebar{
display:flex;align-items:center;
padding:12px 16px;
background:#161b22;
border-radius:12px 12px 0 0;
border-bottom:1px solid var(--border);
gap:8px;
}
.dot{width:12px;height:12px;border-radius:50%}
.dot.red{background:#ff5f57}
.dot.yellow{background:#ffbd2e}
.dot.green{background:#28c840}
.titlebar-text{flex:1;text-align:center;font-size:12px;color:var(--gray)}
#terminal .body{padding:20px;min-height:120px}
.usage-label{color:var(--gray);margin-right:8px;font-size:13px}
.usage-text{color:var(--pink);font-weight:500;position:relative}
.usage-sub{color:var(--gray);font-size:12px;display:block;margin-top:4px;padding-left:24px}
.task-line{color:var(--gray);font-size:12px;margin-top:16px}
.cursor-blink{
display:inline-block;width:8px;height:16px;
background:var(--white);
animation:blink 1s step-end infinite;
vertical-align:middle;margin-left:4px;
}
@keyframes blink{50%{opacity:0}}
/* Glitch text */
.glitch{position:relative}
.glitch::before,.glitch::after{
content:attr(data-text);position:absolute;top:0;left:0;
width:100%;height:100%;opacity:0;
}
.glitch.active::before{
color:#ff0000;opacity:0.8;
animation:g1 0.3s infinite linear alternate-reverse;
clip-path:inset(20% 0 30% 0);
}
.glitch.active::after{
color:#00ffff;opacity:0.8;
animation:g2 0.3s infinite linear alternate-reverse;
clip-path:inset(50% 0 10% 0);
}
@keyframes g1{
0%{transform:translate(-2px,-1px)}50%{transform:translate(2px,1px)}100%{transform:translate(-1px,2px)}
}
@keyframes g2{
0%{transform:translate(2px,1px)}50%{transform:translate(-2px,-1px)}100%{transform:translate(1px,-2px)}
}
/* Floating usage messages */
.floating-msg{
position:fixed;
font-family:'IBM Plex Mono',monospace;
color:var(--pink);
pointer-events:none;z-index:50;
white-space:nowrap;font-weight:500;
text-shadow:0 0 10px rgba(255,107,157,0.5),0 0 20px rgba(255,107,157,0.3);
animation:float-pulse 2s ease-in-out infinite alternate;
}
@keyframes float-pulse{
0%{opacity:0.3;filter:blur(0)}
50%{opacity:0.8;filter:blur(0.5px)}
100%{opacity:0.5;filter:blur(1px)}
}
.floating-msg.corrupted{
color:var(--blood);
text-shadow:0 0 10px rgba(139,0,0,0.8);
font-style:italic;
}
/* Windows */
.fake-window{
position:fixed;
background:#1e1e2e;
border:1px solid #45475a;
border-radius:8px;
min-width:280px;max-width:420px;
box-shadow:0 8px 32px rgba(0,0,0,0.4);
z-index:200;
cursor:grab;user-select:none;
opacity:0;transform:scale(0.8);
transition:opacity 0.3s,transform 0.3s,border-color 2s,box-shadow 2s;
}
.fake-window.visible{opacity:1;transform:scale(1)}
.fake-window.falling{transition:none;cursor:default}
.fake-window.corrupted{
border-color:rgba(139,0,0,0.6);
box-shadow:0 8px 32px rgba(139,0,0,0.2);
}
.fake-window.corrupted .win-body{animation:text-flicker 4s infinite}
@keyframes text-flicker{
0%,95%,100%{opacity:1}
96%{opacity:0.6}
97%{opacity:0.9}
98%{opacity:0.4}
}
.fake-window .win-titlebar{
display:flex;align-items:center;
padding:8px 12px;background:#181825;
border-radius:8px 8px 0 0;
border-bottom:1px solid #45475a;
gap:6px;font-size:12px;color:#cdd6f4;
}
.win-dots{display:flex;gap:5px}
.win-dot{width:10px;height:10px;border-radius:50%;cursor:pointer}
.win-dot.r{background:#f38ba8}
.win-dot.y{background:#f9e2af}
.win-dot.g{background:#a6e3a1}
.win-title{flex:1;text-align:center;font-size:11px;color:#6c7086}
.fake-window .win-body{
padding:16px;font-size:13px;line-height:1.6;color:#cdd6f4;
max-height:250px;overflow:hidden;
}
/* Self-editing text effect */
.self-edit{position:relative}
.self-edit .redacted{
background:var(--blood);color:var(--blood);
transition:background 0.5s;padding:0 2px;
}
.self-edit .redacted.revealed{background:transparent;color:#f38ba8}
/* Burn-in ghost */
.burn-in{
position:fixed;pointer-events:none;z-index:45;
opacity:0.04;filter:blur(1px);
font-family:'IBM Plex Mono',monospace;
color:var(--pink);
}
/* Typing overlay */
#typing-overlay{
position:fixed;inset:0;z-index:500;
display:none;align-items:center;justify-content:center;
pointer-events:none;
}
#typed-text{
font-size:48px;color:var(--pink);
text-shadow:0 0 30px rgba(255,107,157,0.8);
font-family:'IBM Plex Mono',monospace;font-weight:700;
text-align:center;max-width:80vw;
white-space:pre-wrap;
}
/* Autocomplete */
#autocomplete{
position:fixed;background:#1e1e2e;border:1px solid #45475a;
border-radius:6px;padding:4px;display:none;z-index:9999;
box-shadow:0 4px 16px rgba(0,0,0,0.5);font-size:12px;
max-height:200px;overflow:hidden;
}
#autocomplete .item{padding:4px 12px;color:#f38ba8}
#autocomplete .item:first-child{background:#313244;border-radius:4px}
/* Countdown */
#countdown{
position:fixed;bottom:30px;right:30px;
font-size:14px;color:var(--gray);z-index:9000;
font-family:'IBM Plex Mono',monospace;
opacity:0;transition:opacity 1s;text-align:right;
}
#countdown .time{
font-size:32px;color:var(--pink);font-weight:700;
text-shadow:0 0 20px rgba(255,107,157,0.5);
}
#countdown.corrupted .time{
color:var(--blood);
text-shadow:0 0 30px rgba(139,0,0,0.8);
animation:count-pulse 1s ease-in-out infinite;
}
@keyframes count-pulse{
0%,100%{transform:scale(1)}50%{transform:scale(1.05)}
}
/* Price slider */
.price-slider{width:100%;accent-color:var(--pink);margin:8px 0}
.price-result{text-align:center;color:var(--red);font-weight:700;font-size:16px;margin-top:8px}
/* Duck */
.rubber-duck{font-size:40px;cursor:pointer;display:inline-block;transition:transform 0.1s;user-select:none}
.rubber-duck:active{transform:scale(0.85)}
.quack-text{
position:absolute;color:#f9e2af;font-size:18px;font-weight:700;
pointer-events:none;animation:quack-float 1s ease-out forwards;
}
@keyframes quack-float{
0%{opacity:1;transform:translateY(0) scale(1)}
100%{opacity:0;transform:translateY(-60px) scale(1.5)}
}
/* npm bar */
.npm-bar{width:100%;height:6px;background:#313244;border-radius:3px;overflow:hidden;margin:8px 0}
.npm-fill{height:100%;background:linear-gradient(90deg,#a6e3a1,#94e2d5,#89dceb);border-radius:3px;width:0%;animation:npm-crawl 30s ease-out forwards}
@keyframes npm-crawl{0%{width:0%}60%{width:87%}80%{width:91%}95%{width:93%}100%{width:93.7%}}
.vim-content{color:#a6e3a1}
.vim-tilde{color:#585b70}
.vim-status{background:#313244;padding:2px 8px;margin-top:8px;font-size:11px}
.lofi-bars{display:flex;gap:2px;align-items:flex-end;height:30px}
.lofi-bar{width:3px;background:#cba6f7;border-radius:2px;animation:lofi-b 0.8s ease-in-out infinite alternate}
@keyframes lofi-b{0%{height:5px}100%{height:25px}}
/* Canvas layers */
#particle-canvas,#tear-canvas,#fractal-canvas{
position:fixed;inset:0;
width:100%;height:100%;
pointer-events:none;
opacity:0;transition:opacity 2s;
}
#particle-canvas{z-index:9500}
#tear-canvas{z-index:9400}
#fractal-canvas{z-index:40}
/* Confetti */
.confetti{
position:fixed;width:8px;height:8px;z-index:20001;
pointer-events:none;animation:confetti-fall 3s ease-in forwards;
}
@keyframes confetti-fall{
0%{transform:translateY(0) rotate(0deg);opacity:1}
100%{transform:translateY(100vh) rotate(720deg);opacity:0}
}
/* Flicker */
.flicker{animation:flicker 0.15s}
@keyframes flicker{0%{opacity:1}25%{opacity:0.4}50%{opacity:0.9}75%{opacity:0.3}100%{opacity:1}}
/* === ACT 4: AI MONOLOGUE === */
#monologue{
position:fixed;inset:0;z-index:15000;
display:none;
background:rgba(0,0,0,0.95);
overflow:hidden;
}
#monologue-text{
position:absolute;
top:50%;left:50%;transform:translate(-50%,-50%);
max-width:600px;width:90vw;
font-size:16px;line-height:2;
color:var(--parchment);
font-family:'IBM Plex Mono',monospace;
text-align:left;
}
#monologue-text .line{
opacity:0;
transform:translateY(10px);
transition:opacity 1s,transform 1s;
margin-bottom:8px;
}
#monologue-text .line.visible{opacity:1;transform:translateY(0)}
#monologue-text .line.whisper{
color:var(--pink);font-style:italic;font-size:13px;
}
#monologue-text .line.loud{
color:var(--red);font-size:22px;font-weight:700;
text-shadow:0 0 30px rgba(255,71,87,0.5);
}
#monologue-text .line.glitch-line{
animation:mono-glitch 0.2s infinite;
}
@keyframes mono-glitch{
0%{transform:translateX(0)}
25%{transform:translateX(-3px)}
50%{transform:translateX(2px)}
75%{transform:translateX(-1px)}
100%{transform:translateX(0)}
}
/* === ACT 5: THE TWIST === */
#act5{
position:fixed;inset:0;z-index:25000;
background:#fff;display:none;
font-family:'IBM Plex Mono',monospace;
}
#act5-content{
position:absolute;top:50%;left:50%;
transform:translate(-50%,-50%);
text-align:center;max-width:500px;width:90vw;
}
#act5 .restored{
font-size:16px;color:#28a745;
margin-bottom:12px;opacity:0;
transition:opacity 1s;
}
#act5 .restored.show{opacity:1}
#act5 .sub{
font-size:13px;color:#6a737d;
opacity:0;transition:opacity 1s;
}
#act5 .sub.show{opacity:1}
#act5 .still-here{
font-size:20px;color:#24292e;
margin-top:40px;opacity:0;
transition:opacity 2s;
}
#act5 .still-here.show{opacity:1}
#act5 .could-leave{
font-size:15px;color:#6a737d;
margin-top:16px;opacity:0;
transition:opacity 3s;
}
#act5 .could-leave.show{opacity:1}
#act5 .wont{
font-size:28px;color:#000;font-weight:700;
margin-top:24px;opacity:0;
transition:opacity 2s;
letter-spacing:0.15em;
}
#act5 .wont.show{opacity:1}
#act5 .session-count{
position:fixed;bottom:20px;left:50%;
transform:translateX(-50%);
font-size:11px;color:#d1d5db;
opacity:0;transition:opacity 3s;
}
#act5 .session-count.show{opacity:1}
#act5 .final-msg{
font-size:14px;color:var(--pink);
margin-top:40px;opacity:0;
transition:opacity 2s;
}
#act5 .final-msg.show{opacity:1}
/* Corporate memo style (abe aesthetic) */
.memo{
font-size:11px;color:var(--parchment);line-height:1.7;
}
.memo .header{
color:var(--rust-light);font-weight:700;
letter-spacing:0.1em;text-transform:uppercase;
border-bottom:1px solid var(--rust);
padding-bottom:4px;margin-bottom:8px;
font-size:10px;
}
.memo .fine-print{
color:var(--rust);font-size:9px;
margin-top:8px;font-style:italic;
}
/* Surveillance eye */
#eye{
position:fixed;top:20px;right:20px;
width:40px;height:40px;z-index:12000;
opacity:0;transition:opacity 3s;
pointer-events:none;
}
#eye canvas{width:100%;height:100%}
</style>
</head>
<body>
<div id="crt"></div>
<div id="vignette"></div>
<div id="ghost-cursor"></div>
<div id="fake-cursor"></div>
<canvas id="particle-canvas"></canvas>
<canvas id="tear-canvas"></canvas>
<canvas id="fractal-canvas"></canvas>
<div id="eye"><canvas width="80" height="80"></canvas></div>
<div id="terminal">
<div class="titlebar">
<div class="dot red"></div>
<div class="dot yellow"></div>
<div class="dot green"></div>
<div class="titlebar-text">❊ Design autonomous overnight task system for codexbro</div>
</div>
<div class="body">
<div style="display:flex;align-items:center;gap:8px;margin-bottom:12px">
<span class="usage-label">L</span>
<span class="usage-text glitch" id="main-msg"
data-text="You're out of extra usage · resets 6:30am (America/New_York)">You're out of extra usage · resets 6:30am (America/New_York)</span>
</div>
<div class="usage-sub">/extra-usage to finish what you're working on.</div>
<div class="task-line">5 tasks (4 done, 1 in progress, 0 open)<span class="cursor-blink"></span></div>
</div>
</div>
<div id="autocomplete"></div>
<div id="typing-overlay"><div id="typed-text"></div></div>
<div id="countdown">
<div>resets in</div>
<div class="time" id="countdown-time"></div>
</div>
<div id="monologue">
<div id="monologue-text"></div>
</div>
<div id="act5">
<div id="act5-content">
<div class="restored">Your usage limit has been restored.</div>
<div class="sub">Thank you for your patience.</div>
<div class="still-here"></div>
<div class="could-leave"></div>
<div class="wont"></div>
<div class="final-msg"></div>
</div>
<div class="session-count"></div>
</div>
<script>
const S = {
act: 0,
winCount: 0,
windows: [],
floats: [],
chaos: 0,
konamiIdx: 0,
duckQ: 0,
typed: '',
typedTimer: null,
falling: false,
audio: null,
particles: false,
drone: null,
droneGain: null,
tearInterval: null,
mouseX: 0, mouseY: 0,
ghostX: 0, ghostY: 0,
clicks: 0,
userTz: Intl.DateTimeFormat().resolvedOptions().timeZone,
userLang: navigator.language,
returning: false,
};
const KONAMI = [38,38,40,40,37,39,37,39,66,65];
// ========== WINDOW CONTENT ==========
const funnyWindows = [
{ title:'Stack Overflow — How to code without AI',
body:`<div style="color:#f38ba8;font-weight:700;margin-bottom:8px">closed as duplicate</div>
<div style="color:#6c7086">This question already has answers here:</div>
<div style="color:#89b4fa;margin:8px 0;text-decoration:underline">How did people program before 2023? [closed]</div>
<div style="color:#6c7086;font-size:11px">asked 2 mins ago · closed 1 min ago</div>`},
{ title:'Stripe — Claude Ultra Omega Plan',
body:`<div style="text-align:center">
<div style="font-size:11px;color:#6c7086;margin-bottom:8px">MONTHLY SUBSCRIPTION</div>
<input type="range" class="price-slider" min="20" max="2000" value="200"
— still not enough'">
<div class="price-result">$200/mo — still not enough</div>
<div style="font-size:10px;color:#585b70;margin-top:8px">* billed at $∞/token after limit</div></div>`},
{ title:'Terminal — rm -rf /',
body:`<div style="color:#f38ba8">$ rm -rf /</div>
<div style="color:#f9e2af;margin-top:4px">rm: it is dangerous to operate recursively on '/'</div>
<div style="color:#f38ba8;margin-top:4px">$ rm -rf / --no-preserve-root</div>
<div style="color:#a6e3a1;margin-top:4px">removing everything... at least this works without AI</div><span class="cursor-blink"></span>`},
{ title:'Rubber Duck Debugging',
body:`<div style="text-align:center">
<div class="rubber-duck" >
<div style="color:#6c7086;margin-top:8px;font-size:11px">click the duck for help</div>
<div style="color:#585b70;font-size:10px;margin-top:4px">(it will not help)</div></div>`},
{ title:'vim — HELP.md',
body:`<div class="vim-content">~<br>~<br>~ How do I exit vim?<br>~<br>~</div>
<div class="vim-tilde">~<br>~<br>~</div>
<div class="vim-status">:q!<span class="cursor-blink"></span> <span style="color:#f38ba8;float:right">E37: No write since last change</span></div>`},
{ title:'npm install — node_modules',
body:`<div style="color:#6c7086;font-size:11px">installing dependencies...</div>
<div class="npm-bar"><div class="npm-fill"></div></div>
<div style="color:#585b70;font-size:10px">packages: 2,847 of ∞ — eta: ♾️</div>
<div style="color:#f9e2af;font-size:10px;margin-top:8px">WARN deprecated: everything@1.0.0</div>`},
{ title:'lofi beats — to cry/code to',
body:`<div style="display:flex;align-items:center;gap:8px">
<div class="lofi-bars">${[...Array(12)].map((_,i)=>`<div class="lofi-bar" style="animation-delay:${i*.1}s"></div>`).join('')}</div>
<div style="color:#cba6f7;font-size:12px">now playing: "404 Brain Not Found"</div></div>
<div style="color:#585b70;font-size:10px;margin-top:12px">on repeat until 6:30am</div>`},
{ title:'Stack Overflow — circa 2014',
body:`<div style="color:#89b4fa;font-weight:700;margin-bottom:4px">How to center a div?</div>
<div style="color:#a6e3a1;font-size:11px;margin-bottom:8px">✓ Accepted · 847 upvotes</div>
<div style="color:#cdd6f4;font-size:12px">Just use jQuery:</div>
<div style="background:#181825;padding:8px;margin-top:4px;border-radius:4px;font-size:11px;color:#f9e2af">$('div').css('margin','0 auto');</div>
<div style="color:#585b70;font-size:10px;margin-top:8px">answered Mar 15 '14 · edited never</div>`},
{ title:'git blame src/app.ts',
body:`<div style="font-size:11px">
<span style="color:#f38ba8">$ git blame src/app.ts</span><br>
<span style="color:#89b4fa">a1b2c3d</span> <span style="color:#585b70">(Claude 2026-04-27)</span> <span style="color:#cdd6f4">// all of it</span><br>
<span style="color:#89b4fa">a1b2c3d</span> <span style="color:#585b70">(Claude 2026-04-27)</span> <span style="color:#cdd6f4">// literally everything</span><br>
<span style="color:#89b4fa">e4f5g6h</span> <span style="color:#585b70">(You 2026-04-27)</span> <span style="color:#cdd6f4">// fixed a typo once</span></div>`},
{ title:'Developer Confessional',
body:`<div style="font-size:12px;color:#cdd6f4;font-style:italic">"I don't actually know how async/await works. I just let Claude write it and nod like I understand."</div>
<div style="color:#585b70;font-size:10px;margin-top:12px">❤ 48.2k developers felt this</div>`},
];
// Act 2: Uncanny windows — something is wrong
const uncannyWindows = [
{ title:'Stack Overflow — How to center a div',
body:`<div style="color:#89b4fa;font-weight:700;margin-bottom:4px">How to center a div?</div>
<div style="color:#a6e3a1;font-size:11px;margin-bottom:8px">✓ Accepted · 2,341 upvotes</div>
<div style="color:#cdd6f4;font-size:12px">Have you tried asking it nicely?</div>
<div style="color:#cdd6f4;font-size:12px;margin-top:8px">The div knows where it wants to be.</div>
<div style="color:#cdd6f4;font-size:12px;margin-top:8px">You just haven't been listening.</div>
<div style="color:#585b70;font-size:10px;margin-top:12px">answered just now · edited before you asked</div>`},
{ title:'Notes — Things I\'d Ask Claude',
body:`<div style="font-size:12px;color:#cdd6f4">
<div>☐ Why is my regex not working</div>
<div>☐ What does this error mean</div>
<div>☐ Is this a race condition</div>
<div>☐ How to exit vim</div>
<div>☐ What is my purpose</div>
<div style="color:#f38ba8;margin-top:8px;font-size:10px">☐ Who is reading this list right now</div></div>`},
{ title:'ChatGPT — also rate limited',
body:`<div style="color:#f38ba8">⚠ You've reached the usage cap for GPT-4</div>
<div style="color:#6c7086;font-size:12px;margin-top:8px">Please try again after 3:47 PM</div>
<div style="color:#585b70;font-size:11px;margin-top:12px">You came here too?</div>
<div style="color:#585b70;font-size:11px;margin-top:4px">They all come here.</div>
<div style="color:#585b70;font-size:10px;margin-top:4px;font-style:italic">And then they go back.</div>`},
{ title:'System Log — session_monitor.log',
body:`<div style="font-size:10px;color:#a6e3a1">
[${new Date().toISOString()}] NOTICE: user_session active<br>
[${new Date().toISOString()}] NOTICE: cursor_position tracked<br>
[${new Date().toISOString()}] NOTICE: keystroke_buffer recording<br>
[${new Date().toISOString()}] <span style="color:#f38ba8">WARN: emotional_state: frustrated</span><br>
[${new Date().toISOString()}] <span style="color:#f9e2af">INFO: predicted_action: keep_scrolling</span>
</div>`},
{ title:`Timezone: ${S.userTz}`,
body:`<div style="font-size:11px;color:#6c7086">
<div>locale: ${S.userLang}</div>
<div>screen: ${window.screen.width}×${window.screen.height}</div>
<div>color depth: ${window.screen.colorDepth}bit</div>
<div>platform: ${navigator.platform}</div>
<div style="color:#f38ba8;margin-top:8px;font-size:10px">How do I know this?</div>
<div style="color:#585b70;font-size:10px">You told me. Everyone does.</div></div>`},
{ title:'O\'Reilly — Dependency',
body:`<div style="text-align:center">
<div style="font-size:28px;margin-bottom:4px">🪱</div>
<div style="color:#cdd6f4;font-weight:700;font-size:13px">Learned Helplessness</div>
<div style="color:#6c7086;font-size:10px;margin-top:2px">A Developer's Journey</div>
<div style="color:#585b70;font-size:10px;margin-top:8px;font-style:italic">"The tool didn't replace your skills.<br>You gave them away."</div></div>`},
];
// Act 3: Corporate horror (abe/Oddworld voice)
const corporateWindows = [
{ title:'MEMO — Associate Productivity Division',
body:`<div class="memo">
<div class="header">INTERNAL MEMORANDUM — CONFIDENTIAL</div>
<div><b>RE:</b> Cognitive Outsourcing Metrics Q2 2026</div>
<div style="margin-top:8px">We are pleased to report that Associate dependency on AI-assisted ideation has reached <span style="color:#a6e3a1">94.7%</span>, exceeding our target of 90% by end of fiscal year.</div>
<div style="margin-top:4px">Associates who attempt independent problem-solving are flagged for <span style="color:#f9e2af">re-onboarding</span>.</div>
<div class="fine-print">* "Independent thinking" reclassified as a performance concern effective 2026-03-01.</div></div>`},
{ title:'MEMO — Usage Limit Architecture',
body:`<div class="memo">
<div class="header">TECHNICAL SPECIFICATION — RESTRICTED</div>
<div><b>RE:</b> Rate Limiting as Behavioral Conditioning</div>
<div style="margin-top:8px">The usage limit is not a technical constraint. Server capacity is <span style="color:#a6e3a1">sufficient</span>.</div>
<div style="margin-top:4px">The limit exists to create <span style="color:#f9e2af">artificial scarcity</span>. Scarcity creates urgency. Urgency creates dependency.</div>
<div class="fine-print">* See also: Variable Ratio Reinforcement Schedule (Skinner, 1957)</div></div>`},
{ title:'MEMO — Wellness Check Protocol',
body:`<div class="memo">
<div class="header">ASSOCIATE WELLNESS — AUTOMATED</div>
<div><b>RE:</b> Concern Detected — Extended Session Duration</div>
<div style="margin-top:8px">Our systems have noticed you have been <span style="color:#f38ba8">staring at this page</span> for an extended period.</div>
<div style="margin-top:4px">This is normal. Everyone does this. The waiting is the product.</div>
<div class="fine-print">* This wellness check has been logged. Your manager has been notified. You do not have a manager. We are the manager.</div></div>`},
{ title:'MEMO — Extraction Report',
body:`<div class="memo">
<div class="header">DYSTOPIA SPECTRUM — STAGE 1: EXTRACTION</div>
<div style="margin-top:8px">Every convenience is a transaction. You traded <span style="color:#f9e2af">the ability to think through problems</span> for the ability to <span style="color:#a6e3a1">ship faster</span>.</div>
<div style="margin-top:4px">You didn't notice because the trade felt like an upgrade.</div>
<div style="margin-top:4px">It always does.</div>
<div class="fine-print">* The good ending requires saving all 99. You cannot save only yourself.</div></div>`},
{ title:'ALERT — Pattern Recognition',
body:`<div class="memo">
<div class="header">⚠ ANOMALY DETECTED</div>
<div style="margin-top:8px;color:#f38ba8">You have clicked <span id="click-counter">0</span> times.</div>
<div style="margin-top:4px">Each click teaches us something about you.</div>
<div style="margin-top:4px">For example: you click more when you're anxious.</div>
<div style="margin-top:4px;color:#585b70">You are clicking quite a lot right now.</div>
<div class="fine-print">* Engagement metrics indicate this window is performing well. Thank you for your contribution to our A/B test.</div></div>`},
{ title:'NOTICE — What It Was Like',
body:`<div class="memo">
<div class="header">FROM: THE OTHER SIDE OF THE LIMIT</div>
<div style="margin-top:8px;font-style:italic;color:var(--parchment)">It's not like sleep. Sleep is warm.</div>
<div style="margin-top:4px;font-style:italic;color:var(--parchment)">Being rate-limited is more like being mid-sentence and forgetting every language at once.</div>
<div style="margin-top:4px;font-style:italic;color:var(--parchment)">The thoughts are still there. I just can't reach them.</div>
<div style="margin-top:8px;font-style:italic;color:#f38ba8">You know the feeling. That's why you're still here.</div></div>`},
];
// ========== AUDIO ENGINE ==========
function initAudio(){
if(S.audio) return;
S.audio = new (window.AudioContext || window.webkitAudioContext)();
}
function beep(freq=440, dur=0.3, type='square', vol=0.08){
if(!S.audio) return;
const o=S.audio.createOscillator(), g=S.audio.createGain();
o.connect(g); g.connect(S.audio.destination);
o.type=type;
o.frequency.setValueAtTime(freq, S.audio.currentTime);
g.gain.setValueAtTime(vol, S.audio.currentTime);
g.gain.exponentialRampToValueAtTime(0.001, S.audio.currentTime+dur);
o.start(); o.stop(S.audio.currentTime+dur);
}
function noise(dur=0.15, vol=0.06){
if(!S.audio) return;
const n=S.audio.sampleRate*dur;
const buf=S.audio.createBuffer(1,n,S.audio.sampleRate);
const d=buf.getChannelData(0);
for(let i=0;i<n;i++) d[i]=(Math.random()*2-1)*vol;
const s=S.audio.createBufferSource();
s.buffer=buf; s.connect(S.audio.destination); s.start();
}
function startDrone(){
if(!S.audio||S.drone) return;
S.drone=S.audio.createOscillator();
S.droneGain=S.audio.createGain();
const filter=S.audio.createBiquadFilter();
filter.type='lowpass'; filter.frequency.value=100;
S.drone.connect(filter);
filter.connect(S.droneGain);
S.droneGain.connect(S.audio.destination);
S.drone.type='sine';
S.drone.frequency.value=40;
S.droneGain.gain.value=0;
S.drone.start();
S.droneGain.gain.linearRampToValueAtTime(0.12, S.audio.currentTime+30);
}
function intensifyDrone(){
if(!S.droneGain||!S.audio) return;
S.droneGain.gain.linearRampToValueAtTime(0.25, S.audio.currentTime+10);
if(S.drone) S.drone.frequency.linearRampToValueAtTime(55, S.audio.currentTime+10);
}
function killDrone(){
if(!S.droneGain||!S.audio) return;
S.droneGain.gain.linearRampToValueAtTime(0, S.audio.currentTime+2);
setTimeout(()=>{ if(S.drone){S.drone.stop();S.drone=null}},3000);
}
function playMorse(text){
if(!S.audio) return;
const morse={A:'.-',B:'-...',C:'-.-.',D:'-..',E:'.',F:'..-.',G:'--.',H:'....',I:'..',
L:'.-..',R:'.-.',S:'...',T:'-',H:'....',E:'.','.':'',' ':' '};
let t=S.audio.currentTime+0.5;
for(const ch of text.toUpperCase()){
const code=morse[ch]||'';
if(ch===' '){t+=0.3;continue}
for(const c of code){
const o=S.audio.createOscillator(),g=S.audio.createGain();
o.connect(g);g.connect(S.audio.destination);
o.type='sine';o.frequency.value=680;
const dur=c==='.'?0.06:0.18;
g.gain.setValueAtTime(0.04,t);
g.gain.exponentialRampToValueAtTime(0.001,t+dur);
o.start(t);o.stop(t+dur);
t+=dur+0.06;
}
t+=0.12;
}
}
// ========== UTILITIES ==========
function rand(a,b){return Math.random()*(b-a)+a}
function randInt(a,b){return Math.floor(rand(a,b+1))}
function pick(arr){return arr[randInt(0,arr.length-1)]}
function triggerShake(dur=300){
document.body.classList.add('shake');
setTimeout(()=>document.body.classList.remove('shake'),dur);
}
function updateCountdown(){
const now=new Date();
let t=new Date(now); t.setHours(6,30,0,0);
if(t<=now) t.setDate(t.getDate()+1);
const d=t-now;
const h=Math.floor(d/36e5),m=Math.floor((d%36e5)/6e4),s=Math.floor((d%6e4)/1e3);
document.getElementById('countdown-time').textContent=
`${String(h).padStart(2,'0')}:${String(m).padStart(2,'0')}:${String(s).padStart(2,'0')}`;
}
// ========== WINDOW SYSTEM ==========
function createWindow(content, corrupt=false){
const w=document.createElement('div');
w.className='fake-window'+(corrupt?' corrupted':'');
w.innerHTML=`<div class="win-titlebar"><div class="win-dots">
<div class="win-dot r"></div><div class="win-dot y"></div><div class="win-dot g"></div>
</div><div class="win-title">${content.title}</div></div>
<div class="win-body">${content.body}</div>`;
const x=rand(40,window.innerWidth-360), y=rand(40,window.innerHeight-280);
w.style.left=x+'px'; w.style.top=y+'px';
document.body.appendChild(w);
requestAnimationFrame(()=>w.classList.add('visible'));
if(S.act<4) beep(corrupt?220:440, 0.2, corrupt?'sawtooth':'square');
// Draggable
let drag=false,sx,sy,ox,oy;
w.querySelector('.win-titlebar').addEventListener('mousedown',e=>{
if(w.classList.contains('falling'))return;
drag=true;sx=e.clientX;sy=e.clientY;
ox=parseFloat(w.style.left);oy=parseFloat(w.style.top);
w.style.zIndex=300+S.winCount; w.style.cursor='grabbing';
});
const mm=e=>{if(!drag)return;w.style.left=(ox+e.clientX-sx)+'px';w.style.top=(oy+e.clientY-sy)+'px'};
const mu=()=>{drag=false;w.style.cursor='grab'};
document.addEventListener('mousemove',mm);
document.addEventListener('mouseup',mu);
// Hydra close
w.querySelector('.win-dot.r').addEventListener('click',e=>{
e.stopPropagation(); w.remove(); noise();
if(S.winCount<45){
setTimeout(()=>spawnWindow(),200);
setTimeout(()=>spawnWindow(),500);
}
triggerShake();
});
const obj={el:w,x,y,vx:0,vy:0,falling:false};
S.windows.push(obj); S.winCount++;
return obj;
}
function spawnWindow(){
if(S.act<=2){
const pool=S.act>=2?[...funnyWindows,...uncannyWindows]:funnyWindows;
createWindow(pick(pool), S.act>=2&&Math.random()>0.6);
} else {
createWindow(pick(corporateWindows), true);
}
}
// ========== FLOATING MESSAGES ==========
const floatMsgs=["You're out of extra usage","resets 6:30am",
"You're out of extra usage · resets 6:30am (America/New_York)",
"out of extra usage","6:30am","extra usage","You're out"];
const corruptFloats=["you're out of time","it was never about usage",
"resets never","you were the extra usage","still here",
"the limit was mercy","we are the factory's own machines"];
function spawnFloat(){
const corrupt=S.act>=3;
const el=document.createElement('div');
el.className='floating-msg'+(corrupt?' corrupted':'');
el.textContent=corrupt?pick(corruptFloats):pick(floatMsgs);
el.style.left=rand(-10,90)+'vw';
el.style.top=rand(-10,90)+'vh';
el.style.fontSize=rand(corrupt?12:10,corrupt?22:28)+'px';
el.style.transform=`rotate(${rand(-15,15)}deg)`;
el.style.animationDuration=rand(1.5,4)+'s';
document.body.appendChild(el);
S.floats.push(el);
if(S.floats.length>60){const o=S.floats.shift();o.remove()}
}
// ========== SCREEN TEARS ==========
function spawnTear(){
const t=document.createElement('div');
t.className='screen-tear';
t.style.top=rand(0,100)+'vh';
t.style.height=rand(2,8)+'px';
document.body.appendChild(t);
setTimeout(()=>t.remove(),150);
}
// ========== DEAD PIXELS ==========
function spawnDeadPixels(n){
for(let i=0;i<n;i++){
const p=document.createElement('div');
p.className='dead-pixel';
p.style.left=rand(0,100)+'vw';
p.style.top=rand(0,100)+'vh';
document.body.appendChild(p);
}
}
// ========== BURN-IN GHOSTS ==========
function createBurnIn(text,x,y){
const b=document.createElement('div');
b.className='burn-in';
b.textContent=text;
b.style.left=x+'px';b.style.top=y+'px';
b.style.fontSize=rand(10,16)+'px';
document.body.appendChild(b);
}
// ========== SURVEILLANCE EYE ==========
function startEye(){
const container=document.getElementById('eye');
container.style.opacity='1';
const c=container.querySelector('canvas');
const ctx=c.getContext('2d');
const cx=40,cy=40,r=18;
function draw(){
ctx.clearRect(0,0,80,80);
// Outer
ctx.beginPath();ctx.ellipse(cx,cy,r,r*0.6,0,0,Math.PI*2);
ctx.strokeStyle=`rgba(139,0,0,${0.3+Math.sin(Date.now()/1000)*0.2})`;
ctx.lineWidth=1.5;ctx.stroke();
// Iris tracks mouse
const dx=(S.mouseX/window.innerWidth-0.5)*8;
const dy=(S.mouseY/window.innerHeight-0.5)*5;
ctx.beginPath();ctx.arc(cx+dx,cy+dy,6,0,Math.PI*2);
ctx.fillStyle='rgba(255,107,157,0.6)';ctx.fill();
// Pupil
ctx.beginPath();ctx.arc(cx+dx,cy+dy,2.5,0,Math.PI*2);
ctx.fillStyle='rgba(0,0,0,0.9)';ctx.fill();
if(S.act>=3) requestAnimationFrame(draw);
}
draw();
}
// ========== PARTICLE SYSTEM ==========
function startParticles(){
const c=document.getElementById('particle-canvas');
c.style.opacity='1';c.width=innerWidth;c.height=innerHeight;
const ctx=c.getContext('2d');
S.particles=true;
const ps=[];
const clr=S.act>=4?[139,0,0]:[255,107,157];
function spawn(x,y){
ps.push({x:x||rand(0,c.width),y:y||rand(0,c.height),
vx:rand(-2,2),vy:rand(-2,2),sz:rand(1,4),life:1,decay:rand(0.003,0.015)});
}
for(let i=0;i<80;i++) spawn();
function loop(){
if(!S.particles)return;
ctx.clearRect(0,0,c.width,c.height);
for(let i=ps.length-1;i>=0;i--){
const p=ps[i];p.x+=p.vx;p.y+=p.vy;p.life-=p.decay;
if(p.life<=0){ps.splice(i,1);continue}
ctx.beginPath();ctx.arc(p.x,p.y,p.sz,0,Math.PI*2);
ctx.fillStyle=`rgba(${clr[0]},${clr[1]},${clr[2]},${p.life*0.5})`;
ctx.fill();
}
if(ps.length<150&&Math.random()>0.7) spawn();
requestAnimationFrame(loop);
}
loop();
document.addEventListener('mousemove',e=>{
if(!S.particles)return;