-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
196 lines (177 loc) · 5.94 KB
/
index.html
File metadata and controls
196 lines (177 loc) · 5.94 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zenith Neural-Insight</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/camera_utils/camera_utils.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/drawing_utils/drawing_utils.js" crossorigin="anonymous"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;800&display=swap');
:root {
--neon-green: #00ff41;
--deep-bg: #050505;
}
body {
margin: 0;
padding: 0;
overflow: hidden;
background-color: var(--deep-bg);
color: var(--neon-green);
font-family: 'JetBrains+Mono', monospace;
}
/* Glitch Effect */
.glitch-text {
position: relative;
text-shadow: 2px 0 0 #ff00c1, -2px 0 0 #00fff9;
animation: glitch-anim 2s infinite linear alternate-reverse;
}
@keyframes glitch-anim {
0% { text-shadow: 2px 0 0 #ff00c1, -2px 0 0 #00fff9; }
20% { text-shadow: -2px 0 0 #ff00c1, 2px 0 0 #00fff9; }
40% { text-shadow: 1px 0 0 #ff00c1, -1px 0 0 #00fff9; transform: skew(1deg); }
60% { text-shadow: -1px 0 0 #ff00c1, 1px 0 0 #00fff9; }
80% { text-shadow: 2px 0 0 #ff00c1, -2px 0 0 #00fff9; transform: skew(-1deg); }
100% { text-shadow: -2px 0 0 #ff00c1, 2px 0 0 #00fff9; }
}
/* Complex Circuit Background */
.circuit-container {
position: absolute;
inset: 0;
background: radial-gradient(circle at center, transparent 0%, var(--deep-bg) 90%);
z-index: 0;
perspective: 1000px;
}
.grid-base {
position: absolute;
inset: -50%;
background-image:
linear-gradient(var(--neon-green) 1px, transparent 1px),
linear-gradient(90deg, var(--neon-green) 1px, transparent 1px);
background-size: 80px 80px;
opacity: 0.05;
transform: rotateX(60deg);
}
.trace-lines {
position: absolute;
inset: 0;
background:
repeating-linear-gradient(90deg, transparent, transparent 99px, rgba(0, 255, 65, 0.1) 100px),
repeating-linear-gradient(0deg, transparent, transparent 99px, rgba(0, 255, 65, 0.1) 100px);
transform: perspective(500px) rotateX(20deg) scale(1.5);
opacity: 0.3;
}
/* Spark Animation */
.spark-overlay {
position: absolute;
inset: 0;
overflow: hidden;
pointer-events: none;
}
.spark {
position: absolute;
background: linear-gradient(90deg, transparent, var(--neon-green), #fff, var(--neon-green), transparent);
height: 2px;
width: 150px;
opacity: 0;
filter: blur(1px) drop-shadow(0 0 10px var(--neon-green));
animation: spark-travel 4s infinite linear;
}
.spark.v {
width: 2px;
height: 150px;
background: linear-gradient(180deg, transparent, var(--neon-green), #fff, var(--neon-green), transparent);
animation: spark-travel-v 4s infinite linear;
}
@keyframes spark-travel {
0% { left: -150px; opacity: 0; }
10% { opacity: 1; }
90% { opacity: 1; }
100% { left: 100%; opacity: 0; }
}
@keyframes spark-travel-v {
0% { top: -150px; opacity: 0; }
10% { opacity: 1; }
90% { opacity: 1; }
100% { top: 100%; opacity: 0; }
}
.hud-border {
box-shadow: inset 0 0 20px rgba(0, 255, 65, 0.2), 0 0 10px rgba(0, 255, 65, 0.1);
}
.scanline {
width: 100%;
height: 100%;
background: linear-gradient(to bottom, transparent 50%, rgba(0, 255, 65, 0.03) 51%, transparent 52%);
background-size: 100% 4px;
position: absolute;
top: 0;
z-index: 10;
pointer-events: none;
}
.laser-line {
position: absolute;
width: 100%;
height: 1px;
background: var(--neon-green);
opacity: 0.3;
box-shadow: 0 0 15px var(--neon-green);
animation: laser-scan 8s infinite ease-in-out;
}
@keyframes laser-scan {
0%, 100% { top: 0; }
50% { top: 100%; }
}
.tech-flicker {
animation: flicker 5s linear infinite;
}
@keyframes flicker {
0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% { opacity: 1; }
20%, 21.999%, 63%, 63.999%, 65%, 69.999% { opacity: 0.4; }
}
#root {
width: 100vw;
height: 100vh;
position: relative;
z-index: 1;
}
/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--neon-green); opacity: 0.3; }
</style>
<script type="importmap">
{
"imports": {
"react-dom/": "https://esm.sh/react-dom@^19.2.3/",
"recharts": "https://esm.sh/recharts@^3.6.0",
"@google/genai": "https://esm.sh/@google/genai@^1.34.0",
"react/": "https://esm.sh/react@^19.2.3/",
"react": "https://esm.sh/react@^19.2.3",
"lucide-react": "https://esm.sh/lucide-react@^0.562.0",
"html2canvas": "https://esm.sh/html2canvas@^1.4.1"
}
}
</script>
<link rel="stylesheet" href="/index.css">
</head>
<body>
<div class="circuit-container">
<div class="grid-base"></div>
<div class="trace-lines"></div>
<div class="spark-overlay">
<!-- Generated Sparks -->
<div class="spark" style="top: 20%; animation-delay: 0s;"></div>
<div class="spark" style="top: 50%; animation-delay: 1.5s;"></div>
<div class="spark" style="top: 80%; animation-delay: 3s;"></div>
<div class="spark v" style="left: 25%; animation-delay: 0.5s;"></div>
<div class="spark v" style="left: 75%; animation-delay: 2s;"></div>
</div>
<div class="laser-line"></div>
</div>
<div class="scanline"></div>
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>