-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathscript.js
More file actions
99 lines (85 loc) · 2.87 KB
/
script.js
File metadata and controls
99 lines (85 loc) · 2.87 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
const container = document.getElementById('canvas-container');
const phrases = [
"Fuck AI",
"F*ck AI",
"F🤖ck AI",
"💥🤖",
"Fuck AI",
"F*ck AI",
"F🤖ck AI",
"💥🤖",
"Fuck AI",
"F*ck AI",
"F🤖ck AI",
"💥🤖",
"join mastodon",
"chatgpt kills",
"01000110 01010101 01000011 01001011 00100000 01000001 01001001",
"46 55 43 4B 20 41 49",
"console.log('Fuck AI');",
"print('Fuck AI')",
"def ai(): return 'Fuck'",
"🖕 AI",
"System.out.println('Fuck AI');",
"Error 404: AI Not Wanted",
"don't let creativity die",
"say no to AI!",
"stop lobotomizing grok",
"rip aaron swartz",
"ai made horrors beyond comprehension",
"clanker",
"the thought counts",
"humanity is losing faith in itself",
"you ain't no artist",
"🙏 shrimp jesus is watching 🙏",
"ai induced psychosis",
"plagiarism engine",
"james somerton would've loved ai",
"rage against machine learning",
"OCCUPY MUSK",
"sudo rm -rf /grok",
"the monster wears your face",
"dead internet reality",
"slopholm syndrome",
"piss tint hater",
"chatgpt steals"
];
// Die Linke colors
const colors = [
'#FF0000', '#6F003C', '#004B5B', '#00B19C',
'#8100A1', '#D675D8', '#2E4FC4', '#D4D4FF'
];
function createFloatingText() {
const el = document.createElement('div');
el.classList.add('text-element');
el.innerText = phrases[Math.floor(Math.random() * phrases.length)];
const color = colors[Math.floor(Math.random() * colors.length)];
el.style.color = color;
el.style.textShadow = `0 0 10px ${color}, 0 0 20px ${color}`;
el.style.fontSize = Math.random() * 3 + 1 + 'rem';
el.style.setProperty('--startX', `${Math.random() * 200 - 50}vw`);
el.style.setProperty('--startY', `${Math.random() * 200 - 50}vh`);
el.style.setProperty('--startZ', `${Math.random() * -2000}px`);
el.style.setProperty('--endX', `${Math.random() * 200 - 50}vw`);
el.style.setProperty('--endY', `${Math.random() * 200 - 50}vh`);
el.style.setProperty('--endZ', `${Math.random() * 1500 + 500}px`);
el.style.setProperty('--rotX', `${Math.random() * 360}deg`);
el.style.setProperty('--rotY', `${Math.random() * 360}deg`);
el.style.setProperty('--rotZ', `${Math.random() * 360}deg`);
const duration = Math.random() * 10 + 6;
el.style.animationDuration = `${duration}s`;
container.appendChild(el);
setTimeout(() => {
el.remove();
createFloatingText();
}, duration * 1000);
}
for(let i = 0; i < 60; i++) {
setTimeout(createFloatingText, Math.random() * 5000);
}
const centerText = document.getElementById('center-text');
setInterval(() => {
const randomColor = colors[Math.floor(Math.random() * colors.length)];
centerText.style.color = randomColor;
centerText.style.textShadow = `0 0 20px ${randomColor}, 0 0 50px ${randomColor}`;
}, 2000); // Changes color every 2 seconds