File size: 8,814 Bytes
0147ffe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>The Illusion Breaker</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/gsap@3.11.4/dist/gsap.min.js"></script>
    <style>
        body {
            margin: 0;
            overflow: hidden;
            font-family: 'Courier New', monospace;
            background: #000;
            color: #fff;
        }
        #canvas {
            position: fixed;
            top: 0;
            left: 0;
            z-index: -1;
        }
        .content {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            mix-blend-mode: difference;
            pointer-events: none;
        }
        .truth-light {
            position: absolute;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 0 20px 10px #fff;
            opacity: 0;
            transition: opacity 0.5s;
        }
        .illusion {
            position: absolute;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(
                45deg,
                rgba(255,255,255,0.05),
                rgba(255,255,255,0.05) 10px,
                rgba(255,255,255,0.1) 10px,
                rgba(255,255,255,0.1) 20px
            );
            pointer-events: none;
            opacity: 0;
            transition: opacity 1s;
        }
        .reveal-btn {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            padding: 15px 30px;
            background: rgba(255,255,255,0.1);
            color: white;
            border: 1px solid rgba(255,255,255,0.3);
            border-radius: 50px;
            cursor: pointer;
            backdrop-filter: blur(10px);
            transition: all 0.3s;
            pointer-events: all;
            z-index: 100;
        }
        .reveal-btn:hover {
            background: rgba(255,255,255,0.3);
            transform: translateX(-50%) scale(1.05);
        }
        .hidden {
            opacity: 0;
            transition: opacity 0.5s;
        }
        .visible {
            opacity: 1;
        }
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }
        .floating {
            animation: float 6s ease-in-out infinite;
        }
    </style>
</head>
<body>
    <canvas id="canvas"></canvas>
    <div class="illusion"></div>
    <div class="truth-light"></div>
    
    <div class="content">
        <h1 class="text-6xl font-bold mb-6 hidden" id="title">NOTHING IS REAL</h1>
        <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>
        <div class="mt-8 text-sm opacity-70 hidden" id="truth">
            <p>But there is one truth...</p>
            <p class="mt-4 text-lg">YOU EXIST</p>
        </div>
    </div>
    
    <button class="reveal-btn hidden" id="revealBtn">REVEAL THE TRUTH</button>

    <script>
        // Three.js 3D Scene
        const scene = new THREE.Scene();
        const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
        const renderer = new THREE.WebGLRenderer({ canvas: document.getElementById('canvas'), antialias: true });
        renderer.setSize(window.innerWidth, window.innerHeight);
        renderer.setPixelRatio(window.devicePixelRatio);

        // Create illusionary objects
        const geometry = new THREE.IcosahedronGeometry(1, 0);
        const material = new THREE.MeshBasicMaterial({ 
            color: 0xffffff,
            wireframe: true,
            transparent: true,
            opacity: 0.3
        });

        const illusions = [];
        for (let i = 0; i < 50; i++) {
            const illusion = new THREE.Mesh(geometry, material.clone());
            illusion.position.x = Math.random() * 100 - 50;
            illusion.position.y = Math.random() * 100 - 50;
            illusion.position.z = Math.random() * 100 - 50;
            illusion.scale.set(Math.random() * 3, Math.random() * 3, Math.random() * 3);
            scene.add(illusion);
            illusions.push({
                mesh: illusion,
                speed: Math.random() * 0.02
            });
        }

        camera.position.z = 30;

        // Animation loop
        function animate() {
            requestAnimationFrame(animate);
            
            illusions.forEach(obj => {
                obj.mesh.rotation.x += obj.speed;
                obj.mesh.rotation.y += obj.speed;
            });
            
            renderer.render(scene, camera);
        }
        animate();

        // Handle window resize
        window.addEventListener('resize', () => {
            camera.aspect = window.innerWidth / window.innerHeight;
            camera.updateProjectionMatrix();
            renderer.setSize(window.innerWidth, window.innerHeight);
        });

        // Initial reveal animation
        setTimeout(() => {
            document.getElementById('title').classList.remove('hidden');
            setTimeout(() => {
                document.getElementById('subtitle').classList.remove('hidden');
                setTimeout(() => {
                    document.getElementById('revealBtn').classList.remove('hidden');
                }, 1000);
            }, 1000);
        }, 1000);

        // Mouse move effects
        document.addEventListener('mousemove', (e) => {
            const light = document.querySelector('.truth-light');
            light.style.left = `${e.clientX}px`;
            light.style.top = `${e.clientY}px`;
        });

        // Reveal truth button
        document.getElementById('revealBtn').addEventListener('click', () => {
            // Fade out illusions
            document.querySelector('.illusion').style.opacity = '0.8';
            document.querySelector('.truth-light').style.opacity = '1';
            
            // Remove all 3D illusions
            illusions.forEach(obj => {
                scene.remove(obj.mesh);
            });
            
            // Show the truth
            document.getElementById('truth').classList.remove('hidden');
            
            // Create a single truth object
            const truthGeometry = new THREE.SphereGeometry(1, 32, 32);
            const truthMaterial = new THREE.MeshBasicMaterial({ 
                color: 0xffffff,
                emissive: 0xffffff,
                emissiveIntensity: 1
            });
            const truth = new THREE.Mesh(truthGeometry, truthMaterial);
            scene.add(truth);
            
            // Animate the truth
            gsap.to(truth.scale, { 
                x: 5, y: 5, z: 5, 
                duration: 3,
                ease: "elastic.out(1, 0.3)"
            });
            
            // Hide the button
            document.getElementById('revealBtn').style.opacity = '0';
            document.getElementById('revealBtn').style.pointerEvents = 'none';
            
            // Floating animation for text
            document.getElementById('title').classList.add('floating');
            document.getElementById('subtitle').classList.add('floating');
            document.getElementById('truth').classList.add('floating');
        });

        // Initial mouse position
        document.dispatchEvent(new MouseEvent('mousemove', {
            clientX: window.innerWidth / 2,
            clientY: window.innerHeight / 2
        }));
    </script>
<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>
</html>