-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1727 lines (1615 loc) · 84.2 KB
/
index.html
File metadata and controls
1727 lines (1615 loc) · 84.2 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" data-theme="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Token Deathclock — AI Energy Cost Live Counter 💀</title>
<meta name="description" content="100 million tokens per second. Watch AI consume the planet in real time — live counters, environmental milestones, and growth projections." />
<link rel="canonical" href="https://nitrocode.github.io/token-deathclock/" />
<!-- Open Graph (Facebook, LinkedIn, Discord, Slack, iMessage…) -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://nitrocode.github.io/token-deathclock/" />
<meta property="og:title" content="Token Deathclock — AI's Environmental Cost, Live" />
<meta property="og:description" content="100 million tokens per second. Watch AI consume the planet in real time. Live counters, environmental milestones, and growth projections." />
<meta property="og:image" content="https://nitrocode.github.io/token-deathclock/og-image.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Token Deathclock — AI's Environmental Cost, Live" />
<meta name="twitter:description" content="100 million tokens per second. Watch AI consume the planet in real time." />
<meta name="twitter:image" content="https://nitrocode.github.io/token-deathclock/og-image.png" />
<!-- Content-Security-Policy: restrict scripts to self + jsDelivr CDN, styles to self + Google Fonts -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' https://cdn.jsdelivr.net 'sha256-ZswfTY7H35rbv8WC7NXBoiC7WNu86vSzCDChNWwZZDM='; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data:; connect-src 'self'; object-src 'none'; base-uri 'self'; form-action 'none'" />
<!-- Chart.js (pinned UMD build with SRI hash, loaded from CDN) -->
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.0/dist/chart.umd.js"
integrity="sha384-FcQlsUOd0TJjROrBxhJdUhXTUgNJQxTMcxZe6nHbaEfFL1zjQ+bq/uRoBQxb0KMo"
crossorigin="anonymous"></script>
<!-- Google Fonts -->
<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=Orbitron:wght@400;700;900&family=Share+Tech+Mono&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<!-- ── GitHub Corner Banner ──────────────────────────────── -->
<a href="https://github.com/nitrocode/token-deathclock" class="github-corner" aria-label="Fork me on GitHub" target="_blank" rel="noopener noreferrer">
<svg width="60" height="60" viewBox="0 0 250 250" aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" class="octo-arm"></path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path>
</svg>
</a>
<!-- ── Theme Toggle ────────────────────────────────────────── -->
<button id="themeToggle" aria-label="Toggle colour theme">☀️</button>
<!-- ── Header ─────────────────────────────────────────────── -->
<header>
<div class="container">
<span class="header-skull" aria-hidden="true">💀</span>
<h1 class="site-title glow-text">HUMAN EXTINCTION COUNTDOWN</h1>
<div class="extinction-timer" id="extinctionTimer" aria-live="polite" aria-label="Human extinction countdown">
<div class="extinction-unit">
<span class="extinction-value" id="extYears">—</span>
<span class="extinction-unit-label">YRS</span>
</div>
<span class="extinction-sep" aria-hidden="true">:</span>
<div class="extinction-unit">
<span class="extinction-value" id="extDays">—</span>
<span class="extinction-unit-label">DAYS</span>
</div>
<span class="extinction-sep" aria-hidden="true">:</span>
<div class="extinction-unit">
<span class="extinction-value" id="extHours">—</span>
<span class="extinction-unit-label">HRS</span>
</div>
<span class="extinction-sep" aria-hidden="true">:</span>
<div class="extinction-unit">
<span class="extinction-value" id="extMins">—</span>
<span class="extinction-unit-label">MINS</span>
</div>
<span class="extinction-sep" aria-hidden="true">:</span>
<div class="extinction-unit">
<span class="extinction-value" id="extSecs">—</span>
<span class="extinction-unit-label">SECS</span>
</div>
</div>
<p class="extinction-caption">at current global AI token consumption rate · <a class="extinction-link" href="#milestones-section">see milestones ↓</a></p>
</div>
</header>
<!-- ── Tab Navigation ────────────────────────────────────── -->
<nav class="tab-bar" role="tablist" aria-label="Page sections">
<button class="tab-btn tab-btn--active" role="tab" id="tab-btn-dashboard"
aria-selected="true" aria-controls="tab-dashboard" data-tab="dashboard">
📊 Dashboard
</button>
<button class="tab-btn" role="tab" id="tab-btn-news"
aria-selected="false" aria-controls="tab-news" data-tab="news">
📰 News
</button>
<button class="tab-btn" role="tab" id="tab-btn-about"
aria-selected="false" aria-controls="tab-about" data-tab="about">
ℹ️ About
</button>
<button class="tab-btn" role="tab" id="tab-btn-changelog"
aria-selected="false" aria-controls="tab-changelog" data-tab="changelog">
📋 Changelog
</button>
</nav>
<!-- ════════════════════════════════════════════════════════ -->
<!-- TAB: Dashboard -->
<!-- ════════════════════════════════════════════════════════ -->
<div id="tab-dashboard" role="tabpanel" aria-labelledby="tab-btn-dashboard">
<!-- ── Live Counter ────────────────────────────────────────── -->
<section id="counter-section">
<div class="container">
<p class="section-label">■ Live Feed</p>
<h2>Global Token Counter</h2>
<div class="counter-grid">
<div class="counter-box">
<div class="counter-label">🌍 Total AI Tokens Consumed (Global, Est.)</div>
<div id="totalCounter" class="counter-value" aria-live="polite" aria-atomic="true">Loading…</div>
<div class="counter-subtitle">since 1 January 2020</div>
</div>
<div class="counter-box">
<div class="counter-label">⚡ Tokens Since You Arrived</div>
<div id="sessionCounter" class="counter-value session" aria-live="polite" aria-atomic="true">0</div>
<div class="counter-subtitle" id="sessionTime">0 seconds ago</div>
</div>
<div class="counter-box">
<div class="counter-label">🔥 Current Rate (Estimated)</div>
<div id="rateCounter" class="counter-value rate">100,000,000</div>
<div class="counter-subtitle" id="rateEvent">tokens per second, globally</div>
</div>
</div>
<!-- Environmental impact strip -->
<div class="impact-strip" id="impactStrip">
<div class="impact-stat">
<span class="stat-icon">⚡</span>
<div class="stat-value" id="statKwh">—</div>
<div class="stat-label">kWh Energy Used</div>
</div>
<div class="impact-stat">
<span class="stat-icon">💨</span>
<div class="stat-value" id="statCo2">—</div>
<div class="stat-label">kg CO₂ Emitted</div>
</div>
<div class="impact-stat">
<span class="stat-icon">🌊</span>
<div class="stat-value" id="statWater">—</div>
<div class="stat-label">Litres of Water Used</div>
</div>
<div class="impact-stat">
<span class="stat-icon">🌳</span>
<div class="stat-value" id="statTrees">—</div>
<div class="stat-label">Trees' CO₂ Capacity</div>
</div>
</div>
<!-- Your Tab (Running) — PRD 4 -->
<div class="session-tab-strip" id="sessionTabStrip" aria-live="polite" aria-atomic="true">
<div class="session-tab-header">
<span class="session-tab-title">🍺 Your Tab (Running)</span>
<span class="session-tab-sub">What this visit is costing the planet</span>
</div>
<div class="session-tab-items" id="sessionTabItems">
<div class="session-tab-item"><span class="sti-icon">💧</span><span id="stiWater" class="sti-val">—</span><span class="sti-label">cups of coffee worth of water</span></div>
<div class="session-tab-item"><span class="sti-icon">🌳</span><span id="stiTrees" class="sti-val">—</span><span class="sti-label">trees needed a full year to offset</span></div>
<div class="session-tab-item"><span class="sti-icon">⚡</span><span id="stiCharges" class="sti-val">—</span><span class="sti-label">smartphone charges of energy</span></div>
<div class="session-tab-item"><span class="sti-icon">🚗</span><span id="stiMetres" class="sti-val">—</span><span class="sti-label">metres driven in a car</span></div>
</div>
</div>
<!-- What could we have done instead -->
<div class="equiv-wrap">
<div class="equiv-header">
<span class="equiv-label">♻️ What we could have done instead:</span>
<button id="snarkToggle" class="snarky-toggle" aria-pressed="false">😤 Snarky Mode</button>
</div>
<div id="equivDisplay" class="equiv-display" role="status" aria-live="polite" aria-atomic="true">
<span id="equivIcon" class="equiv-icon" aria-hidden="true"></span>
<span id="equivText" class="equiv-text"></span>
</div>
</div>
<!-- Get My Receipt -->
<div class="receipt-trigger-wrap">
<button id="getReceiptBtn" class="receipt-trigger-btn">🧾 Get My Session Receipt</button>
</div>
<!-- Social Ripple — live presence strip -->
<div class="presence-strip" role="status" aria-live="polite">
<span class="presence-dot" aria-hidden="true"></span>
<span id="presenceCount" class="presence-count">—</span>
<span class="presence-label">people watching right now</span>
<span id="presenceReaction" class="presence-reaction"></span>
</div>
</div>
</section>
<!-- ── AI Guilt-O-Meter (Phase 3 PRD #2) ───────────────────── -->
<section id="guilt-meter-section">
<div class="container">
<div class="guilt-meter-wrap">
<div class="guilt-meter-header">
<span class="guilt-meter-title">😬 Your Guilt Level</span>
<span class="guilt-meter-hint">filling up the longer you stay…</span>
</div>
<progress
id="guiltMeterBar"
class="guilt-meter-bar"
value="0"
max="100"
aria-valuemin="0"
aria-valuemax="100"
aria-valuenow="0"
aria-label="Mildly Aware"
></progress>
<div class="guilt-meter-label-row">
<span id="guiltMeterLabel" class="guilt-meter-label" aria-live="polite" aria-atomic="true">😐 Mildly Aware</span>
</div>
<button id="guiltShareBtn" class="btn-sm guilt-share-btn" hidden>📤 Share My Guilt</button>
</div>
</div>
</section>
<!-- ── Daily AI Horoscope ────────────────────────────────── -->
<section id="horoscope-section">
<div class="container">
<p class="section-label">■ Daily Prophecy</p>
<h2>🔮 Your Daily AI Horoscope</h2>
<details id="horoscope-details" class="horoscope-card" open>
<summary class="horoscope-summary">
<span class="horoscope-summary-title">Today's reading</span>
<span id="horoscope-date" class="horoscope-date"></span>
</summary>
<p id="horoscope-text" class="horoscope-text" aria-live="polite"></p>
<div class="horoscope-actions">
<button id="horoscope-share-btn" class="btn-sm">📤 Share My Fate 🔮</button>
</div>
</details>
</div>
</section>
<!-- ── AI Is Currently Writing Ticker ───────────────────── -->
<section id="ticker-section">
<div class="container">
<p class="section-label">■ Live Activity</p>
<h2>🤖 AI Is Currently Generating…</h2>
<div id="ai-ticker-wrap" class="ai-ticker-wrap">
<div class="ai-ticker-header">
<div id="ai-ticker-text" class="ai-ticker-text" role="status" aria-live="polite" aria-atomic="true"></div>
<button id="ai-ticker-toggle" class="ai-ticker-toggle-btn" aria-pressed="false">⏸ Pause</button>
</div>
<div id="ai-ticker-expanded" class="ai-ticker-expanded" hidden>
<pre id="ai-ticker-math" class="ai-ticker-math"></pre>
<div class="ai-ticker-actions">
<button id="ai-ticker-share" class="btn-sm">📤 Share this fact</button>
<button id="ai-ticker-resume" class="btn-sm">▶ Resume</button>
</div>
</div>
</div>
</div>
</section>
<!-- ── Apology Generator (PRD 2) ─────────────────────────── -->
<section id="apology-section">
<div class="container">
<p class="section-label">■ Corporate Accountability</p>
<h2>🙇 AI Writes Its Own Apology</h2>
<p class="lb-desc">Rotating corporate press-release apologies, generated entirely without AI. (Probably.)</p>
<div class="apology-card" id="apologyCard" aria-live="polite" aria-atomic="true">
<div class="apology-quote" id="apologyQuote"></div>
<div class="apology-footer">
<span class="apology-signoff">— The AI Industry, collectively</span>
<span class="apology-note">(AI did not write this)</span>
</div>
</div>
<div class="apology-actions">
<button id="apologyCopyBtn" class="btn-secondary">📋 Copy & Send to Your AI Vendor</button>
<button id="apologyNextBtn" class="btn-ghost">↻ Next Apology</button>
</div>
</div>
</section>
<!-- ── Prompt Hall of Shame (PRD 5) ──────────────────────── -->
<section id="shame-section">
<div class="container">
<p class="section-label">■ Leaked Intelligence</p>
<h2>🗂️ The Prompt Hall of Shame</h2>
<p class="lb-desc">A live-scrolling feed of prompts being processed right now, globally. (Dramatised. Probably.)</p>
<div class="shame-feed" id="shameFeed" aria-live="polite" aria-relevant="additions" aria-label="Live prompt feed"></div>
<div class="shame-submit-wrap">
<label class="shame-submit-label" for="shameInput">😤 Submit Your Worst Prompt:</label>
<div class="shame-input-row">
<input type="text" id="shameInput" class="shame-input" maxlength="200"
placeholder="e.g. "Write me a haiku about synergy""
aria-label="Your worst AI prompt" autocomplete="off" spellcheck="false"/>
<button id="shameSubmitBtn" class="btn-primary">Submit</button>
</div>
</div>
</div>
</section>
<!-- ── Witness History — Live Event Log ─────────────────── -->
<section id="event-log-section">
<div class="container">
<p class="section-label">■ Session Log</p>
<h2>📜 Witness History</h2>
<p class="lb-desc">A live terminal log of what has happened globally since you arrived. A new entry appears every 15 seconds.</p>
<div id="event-log" class="event-log" aria-live="polite" aria-label="Session event log" aria-relevant="additions"></div>
<div class="event-log-actions">
<button id="exportLogBtn" class="btn-secondary">📋 Copy Log</button>
</div>
</div>
</section>
<!-- ── Life Blocks ────────────────────────────────────────── -->
<section id="life-blocks-section">
<div class="container">
<p class="section-label">■ Countdown</p>
<h2>Life Blocks — Days Until Extinction 💀</h2>
<p class="lb-desc">
Every scale of time is being consumed right now. The always-on panel below shows years,
months, days, hours, minutes, and seconds simultaneously — no clicks required. Click any
block to jump the drill-down panel below to that time scale.
</p>
<!-- Always-On Temporal Stack -->
<div id="lb-stack-panel" class="lb-stack-panel" role="grid" aria-label="Time passing now" aria-live="polite">
<div class="lb-stack-row" id="lb-stack-years" role="row" aria-label="Years"></div>
<div class="lb-stack-row" id="lb-stack-months" role="row" aria-label="Months"></div>
<div class="lb-stack-row" id="lb-stack-days" role="row" aria-label="Days"></div>
<div class="lb-stack-row" id="lb-stack-hours" role="row" aria-label="Hours"></div>
<div class="lb-stack-row" id="lb-stack-minutes" role="row" aria-label="Minutes"></div>
<div class="lb-stack-row" id="lb-stack-seconds" role="row" aria-label="Seconds"></div>
</div>
<!-- Drill-down panel -->
<div class="lb-controls">
<nav id="lb-breadcrumb" class="lb-breadcrumb" aria-label="Life blocks drill-down navigation"></nav>
<div id="lb-info" class="lb-info"></div>
</div>
<div id="lb-container" class="lb-container" aria-live="polite"></div>
</div>
</section>
<!-- ── Milestones ──────────────────────────────────────────── -->
<section id="milestones-section">
<div class="container">
<p class="section-label">■ Environmental Events</p>
<h2>Token Consumption Milestones</h2>
<p style="color:var(--text-dim);font-size:.85rem;margin-bottom:1rem;">
Each threshold represents the cumulative global AI token count at which a symbolic environmental
event occurs. Triggered milestones are highlighted in red.
</p>
<label class="milestone-filter-label">
<input type="checkbox" id="hideCompletedMilestones" />
Hide completed milestones
</label>
<div class="milestones-grid" id="milestonesGrid">
<!-- populated by script.js -->
</div>
</div>
</section>
<!-- ── Chart ───────────────────────────────────────────────── -->
<section id="chart-section">
<div class="container">
<p class="section-label">■ Visualisation</p>
<h2>Token Growth Over Time & Projections</h2>
<div class="chart-container">
<div class="chart-wrapper">
<canvas id="tokenChart" aria-label="Line chart showing historical and projected global AI token consumption"></canvas>
</div>
<div class="chart-legend">
<div class="legend-item">
<div class="legend-swatch" style="background:#ff3333;"></div>
<span>Historical (estimated)</span>
</div>
<div class="legend-item">
<div class="legend-swatch" style="background:#ff8800;border-top:2px dashed #ff8800;height:0;margin-top:1px;"></div>
<span>Projected</span>
</div>
<div class="legend-item">
<div class="legend-swatch" style="background:#00cc77;"></div>
<span>Milestone thresholds</span>
</div>
</div>
</div>
</div>
</section>
<!-- ── Predictions Table ───────────────────────────────────── -->
<section id="predictions-section">
<div class="container">
<p class="section-label">■ Forecast</p>
<h2>Milestone Prediction Dates</h2>
<div class="predictions-table-wrap">
<table id="predictionsTable">
<thead>
<tr>
<th>Event</th>
<th>Threshold</th>
<th>Status</th>
<th>Predicted Date</th>
<th>Time Remaining</th>
</tr>
</thead>
<tbody id="predictionsBody">
<!-- populated by script.js -->
</tbody>
</table>
</div>
</div>
</section>
<!-- ── Token-Saving Tips ──────────────────────────────────── -->
<section id="tips-section">
<div class="container">
<p class="section-label">■ Act Now</p>
<h2>🌱 How to Reduce Your AI Footprint</h2>
<p class="tips-intro">
Every prompt matters. Small changes in how you use AI add up to billions of tokens saved —
and real environmental resources. The projections above show the worst case.
Here's how we change the trajectory.
</p>
<div class="tips-grid" id="tipsGrid">
<!-- populated by script.js -->
</div>
<div class="tips-impact-wrap" id="tipsImpactWrap">
<!-- populated by script.js -->
</div>
</div>
</section>
<!-- ── Personal Footprint Calculator ─────────────────────── -->
<section id="calculator-section">
<div class="container">
<p class="section-label">■ Personal Impact</p>
<h2>💻 How Much Did <em>You</em> Destroy?</h2>
<button id="calcToggleBtn" class="scoring-toggle-btn" aria-expanded="false" aria-controls="calc-content">
▶ Open Personal AI Carbon Footprint Calculator
</button>
<div id="calc-content" class="calc-content" hidden>
<div class="calc-inputs">
<div class="calc-field">
<label for="calcPrompts" class="calc-label">
🗣️ Prompts sent this week: <strong id="calcPromptsVal">20</strong>
</label>
<input type="range" id="calcPrompts" class="calc-range" min="1" max="500" value="20" aria-valuemin="1" aria-valuemax="500" aria-valuenow="20" />
</div>
<div class="calc-field">
<label for="calcLength" class="calc-label">📏 Typical prompt length:</label>
<select id="calcLength" class="calc-select">
<option value="100">Short tweet-style (~100 tokens)</option>
<option value="500" selected>Medium paragraph (~500 tokens)</option>
<option value="2000">Long essay / code review (~2,000 tokens)</option>
<option value="8000">Deep research / long doc (~8,000 tokens)</option>
</select>
</div>
<div class="calc-field">
<label for="calcModel" class="calc-label">🤖 Which AI do you use most?</label>
<select id="calcModel" class="calc-select">
<option value="1">GPT-3.5 / smaller models (1×)</option>
<option value="3" selected>GPT-4o / Claude 3 (3×)</option>
<option value="4">GPT-4 class (4×)</option>
<option value="8">o1 / reasoning models (8×)</option>
<option value="0.1">Local CPU model (0.1×)</option>
</select>
</div>
</div>
<div id="calc-results" class="calc-results" aria-live="polite"></div>
<div class="calc-actions">
<button id="calcShareBtn" class="btn-primary">📤 Share My Footprint</button>
</div>
</div>
</div>
</section>
<!-- ── Doom Achievements ──────────────────────────────────── -->
<section id="achievements-section">
<div class="container">
<p class="section-label">■ Achievements</p>
<h2>🏆 Your Doom Badges</h2>
<p class="lb-desc">Earn badges for how long you stare into the abyss — and for what you do while you're here.</p>
<div id="badges-grid" class="badges-grid" aria-label="Badge collection">
<!-- populated by script.js -->
</div>
</div>
</section>
<!-- ── Accelerate the Doom ──────────────────────────────── -->
<section id="accelerator-section">
<div class="container">
<p class="section-label">■ Gamification</p>
<h2>🚀 Accelerate the Doom</h2>
<p class="lb-desc">You know it's bad. Tap anyway. Every click adds tokens to your personal contribution to the apocalypse. Earn Doom Points, unlock upgrades, and trigger environmental milestones yourself.</p>
<button id="accelToggleBtn" class="scoring-toggle-btn" aria-expanded="false" aria-controls="accel-content">
▶ Open Doom Accelerator
</button>
<div id="accel-content" hidden>
<!-- Personal stats strip -->
<div class="accel-stats-strip" aria-label="Personal acceleration stats">
<div class="accel-stat">
<div class="accel-stat-value" id="accelTokens">0</div>
<div class="accel-stat-label">Personal Tokens</div>
</div>
<div class="accel-stat">
<div class="accel-stat-value" id="accelCo2">0 g</div>
<div class="accel-stat-label">CO₂ Generated</div>
</div>
<div class="accel-stat">
<div class="accel-stat-value" id="accelWater">0 mL</div>
<div class="accel-stat-label">Water Used</div>
</div>
<div class="accel-stat accel-stat-dp">
<div class="accel-stat-value" id="accelDp">0 DP</div>
<div class="accel-stat-label">Doom Points</div>
</div>
</div>
<!-- Big Red Button area -->
<div class="brb-wrap">
<div id="comboDisplay" class="combo-display" aria-live="polite" aria-atomic="true" aria-label="Combo multiplier: 1×">1×</div>
<button id="bigRedButton" class="big-red-button" aria-label="Feed the Machine — 1× combo">
<span class="brb-icon" aria-hidden="true">⚙️</span>
<span id="brbLabel" class="brb-label">Feed the Machine</span>
</button>
<div class="brb-rate" id="brbTapRate">Tap to begin</div>
</div>
<!-- Milestone race bar -->
<div class="milestone-race-wrap">
<div class="milestone-race-header">
<span class="milestone-race-label">Next milestone: <strong id="milestoneRaceName">—</strong></span>
<span class="milestone-race-pct" id="milestoneRacePct">0%</span>
</div>
<div class="progress-bar" role="progressbar"
aria-label="Personal progress toward next milestone"
aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"
id="milestoneRaceBar">
<div class="progress-fill milestone-race-fill" id="milestoneRaceFill" style="width:0%"></div>
</div>
</div>
<!-- Session Challenges -->
<div class="accel-section-title">⚡ Session Challenges</div>
<div id="challengeRow" class="challenge-row" role="list" aria-label="Session challenges">
<!-- populated by script.js -->
</div>
<!-- Upgrade Shop -->
<div class="accel-section-title">🛒 Upgrade Shop</div>
<div id="upgradeShop" class="upgrade-shop" aria-label="Upgrade shop">
<!-- populated by script.js -->
</div>
<!-- Company Stage Banner -->
<div class="accel-section-title">🏢 Build Your AI-Native Company</div>
<p class="lb-desc" style="margin-bottom:0.75rem;">
Fire your human workforce. Deploy AI agents. Token maxx your way to <em>Fully Automated Corp</em>
— all in the name of being AI-Native.
</p>
<div class="company-stage-banner" id="companyStage" aria-label="Current company stage">
<span class="company-stage-icon" id="companyStageIcon" aria-hidden="true">🌱</span>
<div>
<div class="company-stage-label">Company Stage</div>
<div class="company-stage-name" id="companyStageName">Garage Startup</div>
</div>
<div class="passive-rate-wrap">
<div class="passive-rate-label">⚙️ Passive</div>
<div class="passive-rate-value" id="passiveRateDisplay">0 tokens/sec</div>
</div>
</div>
<!-- Fire Your Human Workers -->
<div class="accel-section-title">👔 Replace Your Workforce</div>
<div id="workforcePanel" class="workforce-panel" aria-label="Workforce management — fire workers and replace with AI">
<!-- populated by script.js -->
</div>
<!-- AI Agents (passive generators) -->
<div class="accel-section-title">🤖 Deploy AI Agents</div>
<div id="agentShop" class="agent-shop" aria-label="AI agent deployment shop — passive token generation">
<!-- populated by script.js -->
</div>
<!-- Footer row: best score + share -->
<div class="accel-footer-row">
<div id="bestScoreRow" class="best-score-row">🏆 Best session: <span id="bestScoreValue">—</span></div>
<button id="shareAccelerationBtn" class="btn-secondary" hidden>📤 Share My Destruction</button>
</div>
<!-- Villain Leaderboard (PRD 6) -->
<div class="villain-leaderboard-wrap" id="villainLeaderboardWrap">
<div class="accel-section-title">🏆 Global Doom Leaderboard</div>
<p class="lb-desc" style="margin-bottom:0.75rem;">
You're doing great. Relatively speaking. <em>Very</em> relatively speaking.
</p>
<div class="villain-rank-banner" id="villainRankBanner" aria-live="polite">
<span class="villain-rank-title" id="villainRankTitle">Innocent Bystander</span>
<span class="villain-rank-score" id="villainRankScore">0 DP</span>
</div>
<table class="villain-table" aria-label="Global Doom Leaderboard">
<thead>
<tr><th>#</th><th>Name</th><th>Doom Points</th><th>Rank</th></tr>
</thead>
<tbody id="villainTableBody">
<!-- populated by script.js -->
</tbody>
</table>
<div class="villain-congratulations" id="villainCongrats" hidden aria-live="assertive">
🏆 You are now the most prolific destroyer in this session. Congratulations.
</div>
</div>
</div>
</div>
</section>
</div><!-- /tab-dashboard -->
<!-- ════════════════════════════════════════════════════════ -->
<!-- TAB: News & References -->
<!-- ════════════════════════════════════════════════════════ -->
<div id="tab-news" role="tabpanel" aria-labelledby="tab-btn-news" hidden>
<!-- ── Intro ──────────────────────────────────────────── -->
<section id="news-intro" class="news-section">
<div class="container">
<p class="section-label">■ Latest Doom</p>
<h2>News & References</h2>
<p class="about-body">
A curated feed of reporting, research, and data on AI's environmental footprint,
the displacement of human workers, and the resource race powering it all.
Links open in a new tab. Dates reflect publication or last-updated date.
</p>
</div>
</section>
<!-- ── AI & Jobs ──────────────────────────────────────── -->
<section id="news-employment" class="news-section">
<div class="container">
<p class="section-label">■ AI & Employment</p>
<h2>🏭 Jobs, Layoffs & the AI Workforce Shift</h2>
<div class="news-grid">
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-jobs">Layoffs</span>
<time class="news-card-date" datetime="2025-01">Jan 2025</time>
</div>
<h3 class="news-card-title">
<a href="https://programs.com/resources/ai-layoffs/" target="_blank" rel="noopener noreferrer">
AI-Driven Layoffs Tracker
</a>
</h3>
<p class="news-card-desc">
A running resource tracking layoffs at technology companies where AI automation
is cited as a contributing factor — from customer-support roles to software
engineering positions.
</p>
<span class="news-card-source">programs.com</span>
</article>
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-jobs">Layoffs</span>
<time class="news-card-date" datetime="2024-01">Ongoing</time>
</div>
<h3 class="news-card-title">
<a href="https://layoffs.fyi/" target="_blank" rel="noopener noreferrer">
Layoffs.fyi — Tech Layoff Tracker
</a>
</h3>
<p class="news-card-desc">
Real-time database of technology-industry layoffs since 2020, tracking company,
headcount, date, and source. Useful context for the scale of workforce disruption
happening alongside the AI boom.
</p>
<span class="news-card-source">layoffs.fyi</span>
</article>
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-jobs">Research</span>
<time class="news-card-date" datetime="2024-03">Mar 2024</time>
</div>
<h3 class="news-card-title">
<a href="https://www.oxfordmartin.ox.ac.uk/publications/technology-at-work-v5-0/" target="_blank" rel="noopener noreferrer">
Technology at Work v5.0 — Oxford Martin School
</a>
</h3>
<p class="news-card-desc">
Oxford Martin School update on which jobs are at risk from AI and automation,
estimating that up to 47 % of US jobs could be automated in the coming decades —
with the pace accelerating sharply since the release of large language models.
</p>
<span class="news-card-source">Oxford Martin School</span>
</article>
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-jobs">Policy</span>
<time class="news-card-date" datetime="2024-06">Jun 2024</time>
</div>
<h3 class="news-card-title">
<a href="https://www.imf.org/en/Blogs/Articles/2024/01/14/ai-will-transform-the-global-economy-lets-make-sure-it-benefits-humanity" target="_blank" rel="noopener noreferrer">
IMF: AI Will Transform the Global Economy
</a>
</h3>
<p class="news-card-desc">
The International Monetary Fund warns that AI is poised to affect 40 % of
jobs worldwide, exacerbating inequality between countries that can adapt
and those that cannot.
</p>
<span class="news-card-source">IMF Blog</span>
</article>
</div>
</div>
</section>
<!-- ── AI & Energy ────────────────────────────────────── -->
<section id="news-energy" class="news-section">
<div class="container">
<p class="section-label">■ AI & Environment</p>
<h2>⚡ Energy, Water & Carbon</h2>
<div class="news-grid">
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-energy">Energy</span>
<time class="news-card-date" datetime="2025-01">Jan 2025</time>
</div>
<h3 class="news-card-title">
<a href="https://www.iea.org/reports/electricity-2025" target="_blank" rel="noopener noreferrer">
IEA Electricity 2025 — AI & Data Centre Power Surge
</a>
</h3>
<p class="news-card-desc">
The International Energy Agency projects that data-centre electricity demand
— driven primarily by AI workloads — will more than double between 2024 and 2030,
consuming as much electricity as Japan does today.
</p>
<span class="news-card-source">IEA</span>
</article>
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-energy">Energy</span>
<time class="news-card-date" datetime="2024-05">May 2024</time>
</div>
<h3 class="news-card-title">
<a href="https://www.goldmansachs.com/insights/articles/AI-power-demand-to-triple" target="_blank" rel="noopener noreferrer">
Goldman Sachs: AI Power Demand Set to Triple by 2030
</a>
</h3>
<p class="news-card-desc">
Goldman Sachs Research estimates that AI will drive a 160 % increase in
data-centre power consumption by 2030, requiring the equivalent of more than
200 new power-plant projects to come online.
</p>
<span class="news-card-source">Goldman Sachs</span>
</article>
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-water">Water</span>
<time class="news-card-date" datetime="2023-07">Jul 2023</time>
</div>
<h3 class="news-card-title">
<a href="https://arxiv.org/abs/2304.03271" target="_blank" rel="noopener noreferrer">
Making AI Less Thirsty — UC Riverside Study
</a>
</h3>
<p class="news-card-desc">
Peer-reviewed paper estimating that training GPT-3 consumed roughly 700,000 litres
of fresh water for cooling, and that a 20–50 question chat session with ChatGPT
evaporates about 500 mL — the equivalent of a standard water bottle.
</p>
<span class="news-card-source">arXiv / UC Riverside</span>
</article>
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-carbon">Carbon</span>
<time class="news-card-date" datetime="2024-05">May 2024</time>
</div>
<h3 class="news-card-title">
<a href="https://www.microsoft.com/en-us/sustainability/reports" target="_blank" rel="noopener noreferrer">
Microsoft 2024 Sustainability Report
</a>
</h3>
<p class="news-card-desc">
Microsoft disclosed that its carbon emissions rose 29 % year-on-year, driven
by data-centre construction and AI power consumption — directly contradicting
its 2030 carbon-negative pledge.
</p>
<span class="news-card-source">Microsoft</span>
</article>
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-carbon">Carbon</span>
<time class="news-card-date" datetime="2024-07">Jul 2024</time>
</div>
<h3 class="news-card-title">
<a href="https://www.theguardian.com/technology/2024/jul/02/google-carbon-emissions-ai" target="_blank" rel="noopener noreferrer">
Google's Carbon Emissions Surge 48 % as AI Fuels Energy Demand
</a>
</h3>
<p class="news-card-desc">
Google's 2024 environmental report revealed a 48 % spike in greenhouse-gas
emissions since 2019, primarily attributable to rising energy use at AI data
centres — undermining its net-zero commitments.
</p>
<span class="news-card-source">The Guardian</span>
</article>
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-energy">Energy</span>
<time class="news-card-date" datetime="2023-08">Aug 2023</time>
</div>
<h3 class="news-card-title">
<a href="https://www.nature.com/articles/s41558-022-01377-7" target="_blank" rel="noopener noreferrer">
Unacceptable AI Carbon Footprint — Nature Climate Change
</a>
</h3>
<p class="news-card-desc">
Nature Climate Change peer-reviewed analysis quantifying the lifecycle carbon
footprint of large AI models, arguing that without urgent intervention the
AI sector's emissions will far exceed aviation by 2030.
</p>
<span class="news-card-source">Nature Climate Change</span>
</article>
</div>
</div>
</section>
<!-- ── Research & Reports ─────────────────────────────── -->
<section id="news-research" class="news-section">
<div class="container">
<p class="section-label">■ Research & Data</p>
<h2>📊 Reports & Datasets</h2>
<div class="news-grid">
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-research">Report</span>
<time class="news-card-date" datetime="2025-04">Apr 2025</time>
</div>
<h3 class="news-card-title">
<a href="https://hai.stanford.edu/ai-index" target="_blank" rel="noopener noreferrer">
Stanford HAI AI Index 2025
</a>
</h3>
<p class="news-card-desc">
Stanford's comprehensive annual index tracking AI capabilities, economic impact,
policy developments, and public perception — includes a dedicated chapter on
AI's environmental footprint and energy consumption trends.
</p>
<span class="news-card-source">Stanford HAI</span>
</article>
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-research">Data</span>
<time class="news-card-date" datetime="2024-12">Dec 2024</time>
</div>
<h3 class="news-card-title">
<a href="https://epochai.org/trends" target="_blank" rel="noopener noreferrer">
Epoch AI — Trends in Machine Learning
</a>
</h3>
<p class="news-card-desc">
Epoch AI tracks the growth of compute used to train frontier AI models — a key
input to the token-consumption estimates on this site. Compute has grown
approximately 4× per year since 2010.
</p>
<span class="news-card-source">Epoch AI</span>
</article>
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-research">Report</span>
<time class="news-card-date" datetime="2024-10">Oct 2024</time>
</div>
<h3 class="news-card-title">
<a href="https://www.iea.org/reports/energy-and-ai" target="_blank" rel="noopener noreferrer">
IEA — Energy and AI (2024)
</a>
</h3>
<p class="news-card-desc">
IEA dedicated report on the intersection of energy systems and artificial intelligence —
covering both AI as an energy consumer and AI as a potential tool for optimising
energy grids and reducing emissions elsewhere.
</p>
<span class="news-card-source">IEA</span>
</article>
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-research">Research</span>
<time class="news-card-date" datetime="2024-02">Feb 2024</time>
</div>
<h3 class="news-card-title">
<a href="https://arxiv.org/abs/2311.16863" target="_blank" rel="noopener noreferrer">
Power Hungry Processing — Watts Driving the Cost of AI Deployment
</a>
</h3>
<p class="news-card-desc">
Peer-reviewed benchmarking of the energy cost of running common NLP tasks across
different model sizes and hardware configurations. Provides per-token energy figures
used widely in AI environmental-impact research.
</p>
<span class="news-card-source">arXiv</span>
</article>
</div>
</div>
</section>
<!-- ── Recent News ────────────────────────────────────── -->
<section id="news-headlines" class="news-section">
<div class="container">
<p class="section-label">■ Headlines</p>
<h2>📰 Recent Doom Headlines</h2>
<div class="news-grid">
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-water">Water</span>
<time class="news-card-date" datetime="2024-09">Sep 2024</time>
</div>
<h3 class="news-card-title">
<a href="https://www.wired.com/story/ai-is-thirsty/" target="_blank" rel="noopener noreferrer">
AI Is Thirsty — Wired
</a>
</h3>
<p class="news-card-desc">
Wired investigates how AI data centres are straining local water supplies in drought-prone
regions, including Arizona and the Netherlands, where communities are fighting back against
hyperscaler expansion.
</p>
<span class="news-card-source">Wired</span>
</article>
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-energy">Energy</span>
<time class="news-card-date" datetime="2024-08">Aug 2024</time>
</div>
<h3 class="news-card-title">
<a href="https://www.reuters.com/technology/artificial-intelligence/ai-data-centres-driving-surge-us-power-demand-2024-08-01/" target="_blank" rel="noopener noreferrer">
AI Data Centres Driving Surge in US Power Demand — Reuters
</a>
</h3>
<p class="news-card-desc">
Reuters reports that US electricity demand is set to grow more than at any point in a
generation, driven almost entirely by AI data centres — and that the grid is not ready
for the load.
</p>
<span class="news-card-source">Reuters</span>
</article>
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-jobs">Jobs</span>
<time class="news-card-date" datetime="2024-11">Nov 2024</time>
</div>
<h3 class="news-card-title">
<a href="https://www.bbc.com/news/articles/c9dl93dql53o" target="_blank" rel="noopener noreferrer">
AI Poses Serious Risks to Jobs — BBC News
</a>
</h3>
<p class="news-card-desc">
BBC analysis of OECD data showing that knowledge workers in advanced economies face
the greatest exposure to large language model automation, with legal, financial,
and software roles under the most immediate pressure.
</p>
<span class="news-card-source">BBC News</span>
</article>
<article class="news-card">
<div class="news-card-meta">
<span class="news-card-category news-cat-carbon">Carbon</span>
<time class="news-card-date" datetime="2025-02">Feb 2025</time>
</div>
<h3 class="news-card-title">
<a href="https://www.ft.com/content/9f7b8a20-ai-climate" target="_blank" rel="noopener noreferrer">
Big Tech's Climate Pledges Under Pressure From AI Expansion