db69 commited on
Commit
0147ffe
·
verified ·
1 Parent(s): c573b87

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +234 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Truth
3
- emoji: 🦀
4
- colorFrom: pink
5
- colorTo: gray
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: truth
3
+ emoji: 🐳
4
+ colorFrom: green
5
+ colorTo: green
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,234 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>The Illusion Breaker</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/gsap@3.11.4/dist/gsap.min.js"></script>
10
+ <style>
11
+ body {
12
+ margin: 0;
13
+ overflow: hidden;
14
+ font-family: 'Courier New', monospace;
15
+ background: #000;
16
+ color: #fff;
17
+ }
18
+ #canvas {
19
+ position: fixed;
20
+ top: 0;
21
+ left: 0;
22
+ z-index: -1;
23
+ }
24
+ .content {
25
+ position: absolute;
26
+ top: 0;
27
+ left: 0;
28
+ width: 100%;
29
+ height: 100vh;
30
+ display: flex;
31
+ flex-direction: column;
32
+ justify-content: center;
33
+ align-items: center;
34
+ text-align: center;
35
+ mix-blend-mode: difference;
36
+ pointer-events: none;
37
+ }
38
+ .truth-light {
39
+ position: absolute;
40
+ width: 10px;
41
+ height: 10px;
42
+ border-radius: 50%;
43
+ background: #fff;
44
+ box-shadow: 0 0 20px 10px #fff;
45
+ opacity: 0;
46
+ transition: opacity 0.5s;
47
+ }
48
+ .illusion {
49
+ position: absolute;
50
+ width: 100%;
51
+ height: 100%;
52
+ background: repeating-linear-gradient(
53
+ 45deg,
54
+ rgba(255,255,255,0.05),
55
+ rgba(255,255,255,0.05) 10px,
56
+ rgba(255,255,255,0.1) 10px,
57
+ rgba(255,255,255,0.1) 20px
58
+ );
59
+ pointer-events: none;
60
+ opacity: 0;
61
+ transition: opacity 1s;
62
+ }
63
+ .reveal-btn {
64
+ position: fixed;
65
+ bottom: 30px;
66
+ left: 50%;
67
+ transform: translateX(-50%);
68
+ padding: 15px 30px;
69
+ background: rgba(255,255,255,0.1);
70
+ color: white;
71
+ border: 1px solid rgba(255,255,255,0.3);
72
+ border-radius: 50px;
73
+ cursor: pointer;
74
+ backdrop-filter: blur(10px);
75
+ transition: all 0.3s;
76
+ pointer-events: all;
77
+ z-index: 100;
78
+ }
79
+ .reveal-btn:hover {
80
+ background: rgba(255,255,255,0.3);
81
+ transform: translateX(-50%) scale(1.05);
82
+ }
83
+ .hidden {
84
+ opacity: 0;
85
+ transition: opacity 0.5s;
86
+ }
87
+ .visible {
88
+ opacity: 1;
89
+ }
90
+ @keyframes float {
91
+ 0%, 100% { transform: translateY(0); }
92
+ 50% { transform: translateY(-20px); }
93
+ }
94
+ .floating {
95
+ animation: float 6s ease-in-out infinite;
96
+ }
97
+ </style>
98
+ </head>
99
+ <body>
100
+ <canvas id="canvas"></canvas>
101
+ <div class="illusion"></div>
102
+ <div class="truth-light"></div>
103
+
104
+ <div class="content">
105
+ <h1 class="text-6xl font-bold mb-6 hidden" id="title">NOTHING IS REAL</h1>
106
+ <p class="text-xl max-w-2xl px-4 hidden" id="subtitle">Everything you see is an illusion constructed by your mind. Even this website is just electrical signals interpreted by your brain.</p>
107
+ <div class="mt-8 text-sm opacity-70 hidden" id="truth">
108
+ <p>But there is one truth...</p>
109
+ <p class="mt-4 text-lg">YOU EXIST</p>
110
+ </div>
111
+ </div>
112
+
113
+ <button class="reveal-btn hidden" id="revealBtn">REVEAL THE TRUTH</button>
114
+
115
+ <script>
116
+ // Three.js 3D Scene
117
+ const scene = new THREE.Scene();
118
+ const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
119
+ const renderer = new THREE.WebGLRenderer({ canvas: document.getElementById('canvas'), antialias: true });
120
+ renderer.setSize(window.innerWidth, window.innerHeight);
121
+ renderer.setPixelRatio(window.devicePixelRatio);
122
+
123
+ // Create illusionary objects
124
+ const geometry = new THREE.IcosahedronGeometry(1, 0);
125
+ const material = new THREE.MeshBasicMaterial({
126
+ color: 0xffffff,
127
+ wireframe: true,
128
+ transparent: true,
129
+ opacity: 0.3
130
+ });
131
+
132
+ const illusions = [];
133
+ for (let i = 0; i < 50; i++) {
134
+ const illusion = new THREE.Mesh(geometry, material.clone());
135
+ illusion.position.x = Math.random() * 100 - 50;
136
+ illusion.position.y = Math.random() * 100 - 50;
137
+ illusion.position.z = Math.random() * 100 - 50;
138
+ illusion.scale.set(Math.random() * 3, Math.random() * 3, Math.random() * 3);
139
+ scene.add(illusion);
140
+ illusions.push({
141
+ mesh: illusion,
142
+ speed: Math.random() * 0.02
143
+ });
144
+ }
145
+
146
+ camera.position.z = 30;
147
+
148
+ // Animation loop
149
+ function animate() {
150
+ requestAnimationFrame(animate);
151
+
152
+ illusions.forEach(obj => {
153
+ obj.mesh.rotation.x += obj.speed;
154
+ obj.mesh.rotation.y += obj.speed;
155
+ });
156
+
157
+ renderer.render(scene, camera);
158
+ }
159
+ animate();
160
+
161
+ // Handle window resize
162
+ window.addEventListener('resize', () => {
163
+ camera.aspect = window.innerWidth / window.innerHeight;
164
+ camera.updateProjectionMatrix();
165
+ renderer.setSize(window.innerWidth, window.innerHeight);
166
+ });
167
+
168
+ // Initial reveal animation
169
+ setTimeout(() => {
170
+ document.getElementById('title').classList.remove('hidden');
171
+ setTimeout(() => {
172
+ document.getElementById('subtitle').classList.remove('hidden');
173
+ setTimeout(() => {
174
+ document.getElementById('revealBtn').classList.remove('hidden');
175
+ }, 1000);
176
+ }, 1000);
177
+ }, 1000);
178
+
179
+ // Mouse move effects
180
+ document.addEventListener('mousemove', (e) => {
181
+ const light = document.querySelector('.truth-light');
182
+ light.style.left = `${e.clientX}px`;
183
+ light.style.top = `${e.clientY}px`;
184
+ });
185
+
186
+ // Reveal truth button
187
+ document.getElementById('revealBtn').addEventListener('click', () => {
188
+ // Fade out illusions
189
+ document.querySelector('.illusion').style.opacity = '0.8';
190
+ document.querySelector('.truth-light').style.opacity = '1';
191
+
192
+ // Remove all 3D illusions
193
+ illusions.forEach(obj => {
194
+ scene.remove(obj.mesh);
195
+ });
196
+
197
+ // Show the truth
198
+ document.getElementById('truth').classList.remove('hidden');
199
+
200
+ // Create a single truth object
201
+ const truthGeometry = new THREE.SphereGeometry(1, 32, 32);
202
+ const truthMaterial = new THREE.MeshBasicMaterial({
203
+ color: 0xffffff,
204
+ emissive: 0xffffff,
205
+ emissiveIntensity: 1
206
+ });
207
+ const truth = new THREE.Mesh(truthGeometry, truthMaterial);
208
+ scene.add(truth);
209
+
210
+ // Animate the truth
211
+ gsap.to(truth.scale, {
212
+ x: 5, y: 5, z: 5,
213
+ duration: 3,
214
+ ease: "elastic.out(1, 0.3)"
215
+ });
216
+
217
+ // Hide the button
218
+ document.getElementById('revealBtn').style.opacity = '0';
219
+ document.getElementById('revealBtn').style.pointerEvents = 'none';
220
+
221
+ // Floating animation for text
222
+ document.getElementById('title').classList.add('floating');
223
+ document.getElementById('subtitle').classList.add('floating');
224
+ document.getElementById('truth').classList.add('floating');
225
+ });
226
+
227
+ // Initial mouse position
228
+ document.dispatchEvent(new MouseEvent('mousemove', {
229
+ clientX: window.innerWidth / 2,
230
+ clientY: window.innerHeight / 2
231
+ }));
232
+ </script>
233
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=db69/truth" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
234
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Make a website that cuts through all illusions. Even the illusions that a coder cannot make a 3D website alone. Make it something that people can't beleive what they are seeing dive in the depths of darkness and bring out that single shining light of truth