-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
287 lines (257 loc) · 10.2 KB
/
index.html
File metadata and controls
287 lines (257 loc) · 10.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AUI Projects - Interactive Demos</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #e6e6ff;
background:
radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3), transparent 50%),
radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15), transparent 50%),
radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2), transparent 50%),
linear-gradient(135deg, #1a0d2e 0%, #2d1b69 25%, #1a0d2e 50%, #0f051a 75%, #1a0d2e 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
position: relative;
overflow: hidden;
}
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
radial-gradient(1px 1px at 100px 200px, rgba(255, 255, 255, 0.9), transparent 1px),
radial-gradient(1px 1px at 300px 100px, rgba(255, 255, 255, 0.8), transparent 1px),
radial-gradient(1px 1px at 500px 300px, rgba(255, 255, 255, 0.7), transparent 1px),
radial-gradient(1px 1px at 150px 400px, rgba(255, 255, 255, 0.6), transparent 1px),
radial-gradient(1px 1px at 400px 150px, rgba(255, 255, 255, 0.8), transparent 1px),
radial-gradient(1px 1px at 250px 250px, rgba(255, 255, 255, 0.5), transparent 1px),
radial-gradient(1px 1px at 450px 400px, rgba(255, 255, 255, 0.7), transparent 1px),
radial-gradient(1px 1px at 200px 50px, rgba(255, 255, 255, 0.9), transparent 1px),
radial-gradient(1px 1px at 350px 350px, rgba(255, 255, 255, 0.6), transparent 1px),
radial-gradient(1px 1px at 50px 150px, rgba(255, 255, 255, 0.4), transparent 1px),
radial-gradient(1px 1px at 550px 100px, rgba(255, 255, 255, 0.8), transparent 1px),
radial-gradient(1px 1px at 80px 300px, rgba(255, 255, 255, 0.5), transparent 1px),
radial-gradient(2px 2px at 180px 180px, rgba(120, 119, 198, 0.8), transparent 2px),
radial-gradient(2px 2px at 420px 280px, rgba(180, 119, 255, 0.7), transparent 2px),
radial-gradient(1.5px 1.5px at 320px 220px, rgba(255, 119, 198, 0.6), transparent 1.5px);
background-repeat: repeat;
background-size: 600px 450px;
pointer-events: none;
z-index: 1;
}
.container {
max-width: 800px;
padding: 40px;
text-align: center;
position: relative;
z-index: 2;
}
h1 {
color: #e6e6ff;
margin-bottom: 10px;
font-size: 2.5rem;
font-weight: 300;
text-shadow: 0 0 20px rgba(120, 119, 198, 0.8);
animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
from { text-shadow: 0 0 20px rgba(120, 119, 198, 0.8); }
to { text-shadow: 0 0 30px rgba(120, 119, 198, 1), 0 0 40px rgba(120, 119, 198, 0.8); }
}
.subtitle {
color: #c0c0e6;
margin-bottom: 40px;
font-size: 1.2rem;
font-weight: 300;
text-shadow: 0 0 10px rgba(120, 119, 198, 0.5);
}
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 30px;
margin-top: 40px;
}
.project-card {
background: linear-gradient(145deg, rgba(13, 6, 30, 0.8), rgba(25, 13, 62, 0.6));
border-radius: 15px;
padding: 30px;
box-shadow:
0 10px 30px rgba(0, 0, 0, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.1),
0 0 20px rgba(120, 119, 198, 0.2);
transition: all 0.3s ease;
border: 1px solid rgba(120, 119, 198, 0.3);
position: relative;
overflow: hidden;
}
.project-card::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(45deg, transparent, rgba(120, 119, 198, 0.1), transparent);
transform: rotate(45deg);
transition: all 0.5s ease;
opacity: 0;
}
.project-card:hover::before {
animation: scan 1.5s ease-in-out;
}
@keyframes scan {
0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
50% { opacity: 1; }
100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}
.project-card:hover {
transform: translateY(-8px);
box-shadow:
0 20px 40px rgba(0, 0, 0, 0.6),
inset 0 1px 0 rgba(255, 255, 255, 0.2),
0 0 40px rgba(120, 119, 198, 0.4);
border-color: rgba(120, 119, 198, 0.6);
}
.project-card.coming-soon {
opacity: 0.7;
}
.project-card.coming-soon:hover {
transform: translateY(-2px);
opacity: 0.85;
}
.project-title {
color: #e6e6ff;
font-size: 1.5rem;
margin-bottom: 15px;
font-weight: 600;
text-shadow: 0 0 10px rgba(120, 119, 198, 0.6);
}
.project-description {
color: #c0c0e6;
margin-bottom: 25px;
font-size: 1rem;
line-height: 1.7;
text-shadow: 0 0 5px rgba(120, 119, 198, 0.3);
}
.project-link {
display: inline-block;
background: linear-gradient(135deg, #7c4dff, #d500f9, #7c4dff);
background-size: 200% 200%;
color: white;
text-decoration: none;
padding: 12px 30px;
border-radius: 25px;
font-weight: 500;
transition: all 0.3s ease;
box-shadow:
0 5px 15px rgba(124, 77, 255, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
border: 1px solid rgba(124, 77, 255, 0.5);
position: relative;
overflow: hidden;
animation: gradientShift 3s ease infinite;
}
@keyframes gradientShift {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}
.project-link:hover {
transform: translateY(-3px);
box-shadow:
0 8px 25px rgba(124, 77, 255, 0.6),
inset 0 1px 0 rgba(255, 255, 255, 0.3),
0 0 20px rgba(124, 77, 255, 0.8);
text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}
.project-link.disabled {
background: linear-gradient(135deg, #4a4a5e, #2c2c3e);
cursor: not-allowed;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
border-color: rgba(74, 74, 94, 0.5);
animation: none;
}
.project-link.disabled:hover {
transform: none;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
text-shadow: none;
}
.footer {
margin-top: 40px;
padding-top: 30px;
color: #c0c0e6;
font-size: 0.9rem;
text-shadow: 0 0 5px rgba(120, 119, 198, 0.3);
}
.badge {
display: inline-block;
background: linear-gradient(135deg, #ff1744, #d500f9);
color: white;
padding: 4px 12px;
border-radius: 15px;
font-size: 0.8rem;
font-weight: 500;
margin-bottom: 15px;
box-shadow: 0 0 10px rgba(255, 23, 68, 0.5);
text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}
@media (max-width: 600px) {
.container {
padding: 30px 20px;
}
h1 {
font-size: 2rem;
}
.subtitle {
font-size: 1rem;
}
}
</style>
</head>
<body>
<div class="container">
<h1>Scratch</h1>
<p class="subtitle">My Scratch projects</p>
<div class="projects-grid">
<!-- Emergent Synchronization Demo -->
<div class="project-card">
<div class="badge">Live Demo</div>
<h2 class="project-title">Emergent Synchronization</h2>
<p class="project-description">
Watch as individual pulsing balls naturally self-organize into synchronized groups through local energy interactions.
This beautiful simulation demonstrates how complex, coordinated behavior can emerge from simple individual rules—
no central coordination required.
</p>
<a href="./synchronization/" class="project-link">Launch Demo</a>
</div>
<!-- Placeholder for Future Demos -->
<div class="project-card coming-soon">
<div class="badge" style="background: linear-gradient(135deg, #6c5ce7, #a29bfe); box-shadow: 0 0 10px rgba(108, 92, 231, 0.5);">Coming Soon</div>
<h2 class="project-title">Unknown</h2>
<p class="project-description">
This project is currently in development. Stay tuned for updates as I work on bringing this exciting new demo to life!
</p>
<span class="project-link disabled">In Development</span>
</div>
</div>
<div class="footer">
<p>Built with ❤️ by nnanto</p>
</div>
</div>
</body>
</html>