mastarrmind commited on
Commit
597cd50
·
verified ·
1 Parent(s): 6348502

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +424 -19
  3. prompts.txt +0 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Starrtree
3
- emoji: 💻
4
- colorFrom: blue
5
- colorTo: yellow
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: starrtree
3
+ emoji: 🐳
4
+ colorFrom: red
5
+ colorTo: purple
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,424 @@
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>StarrTree - Rooted in Light</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Quicksand', sans-serif;
14
+ background: radial-gradient(circle at center, #0f0524 0%, #050014 100%);
15
+ overflow-x: hidden;
16
+ min-height: 100vh;
17
+ color: #f5f5f5;
18
+ }
19
+
20
+ .starseed {
21
+ width: 80px;
22
+ height: 80px;
23
+ background: radial-gradient(circle, #f9d71c 0%, #e8b10e 70%, #d49b04 100%);
24
+ border-radius: 50%;
25
+ box-shadow: 0 0 30px 10px rgba(248, 212, 52, 0.4);
26
+ position: relative;
27
+ animation: pulse 4s infinite ease-in-out;
28
+ z-index: 20;
29
+ }
30
+
31
+ .starseed::before {
32
+ content: '';
33
+ position: absolute;
34
+ top: -10px;
35
+ left: -10px;
36
+ right: -10px;
37
+ bottom: -10px;
38
+ border-radius: 50%;
39
+ background: radial-gradient(circle, rgba(248, 212, 52, 0.6) 0%, transparent 70%);
40
+ z-index: -1;
41
+ animation: pulse 4s infinite ease-in-out 0.5s;
42
+ }
43
+
44
+ @keyframes pulse {
45
+ 0%, 100% {
46
+ transform: scale(1);
47
+ box-shadow: 0 0 30px 10px rgba(248, 212, 52, 0.4);
48
+ }
49
+ 50% {
50
+ transform: scale(1.05);
51
+ box-shadow: 0 0 40px 15px rgba(248, 212, 52, 0.6);
52
+ }
53
+ }
54
+
55
+ .branch {
56
+ position: absolute;
57
+ height: 2px;
58
+ transform-origin: left center;
59
+ z-index: 1;
60
+ background: transparent;
61
+ overflow: visible;
62
+ }
63
+
64
+ .branch-path {
65
+ stroke-width: 2;
66
+ fill: none;
67
+ stroke-linecap: round;
68
+ stroke-dasharray: 1000;
69
+ stroke-dashoffset: 1000;
70
+ animation: draw 3s forwards;
71
+ }
72
+
73
+ @keyframes draw {
74
+ to {
75
+ stroke-dashoffset: 0;
76
+ }
77
+ }
78
+
79
+ .leaf {
80
+ width: 60px;
81
+ height: 60px;
82
+ border-radius: 50%;
83
+ display: flex;
84
+ align-items: center;
85
+ justify-content: center;
86
+ color: white;
87
+ font-size: 24px;
88
+ cursor: pointer;
89
+ transition: all 0.3s ease;
90
+ position: absolute;
91
+ background: rgba(255, 255, 255, 0.05);
92
+ backdrop-filter: blur(5px);
93
+ border: 1px solid rgba(255, 255, 255, 0.1);
94
+ z-index: 10;
95
+ transform: translate(-50%, -50%);
96
+ }
97
+
98
+ .leaf:hover {
99
+ transform: translate(-50%, -50%) scale(1.2);
100
+ background: rgba(255, 255, 255, 0.15);
101
+ }
102
+
103
+ .leaf::after {
104
+ content: '';
105
+ position: absolute;
106
+ top: -10px;
107
+ left: -10px;
108
+ right: -10px;
109
+ bottom: -10px;
110
+ border-radius: 50%;
111
+ z-index: -1;
112
+ opacity: 0;
113
+ transition: opacity 0.3s ease;
114
+ }
115
+
116
+ .leaf:hover::after {
117
+ opacity: 0.8;
118
+ }
119
+
120
+ /* Unique highlight colors for each leaf */
121
+ .leaf.music:hover {
122
+ box-shadow: 0 0 20px 5px rgba(75, 192, 192, 0.6);
123
+ }
124
+ .leaf.music::after {
125
+ background: rgba(75, 192, 192, 0.3);
126
+ }
127
+
128
+ .leaf.ai:hover {
129
+ box-shadow: 0 0 20px 5px rgba(255, 99, 132, 0.6);
130
+ }
131
+ .leaf.ai::after {
132
+ background: rgba(255, 99, 132, 0.3);
133
+ }
134
+
135
+ .leaf.design:hover {
136
+ box-shadow: 0 0 20px 5px rgba(54, 162, 235, 0.6);
137
+ }
138
+ .leaf.design::after {
139
+ background: rgba(54, 162, 235, 0.3);
140
+ }
141
+
142
+ .leaf.engineering:hover {
143
+ box-shadow: 0 0 20px 5px rgba(153, 102, 255, 0.6);
144
+ }
145
+ .leaf.engineering::after {
146
+ background: rgba(153, 102, 255, 0.3);
147
+ }
148
+
149
+ .particle {
150
+ position: absolute;
151
+ background: radial-gradient(circle, rgba(248, 212, 52, 0.8) 0%, transparent 70%);
152
+ border-radius: 50%;
153
+ pointer-events: none;
154
+ z-index: 0;
155
+ opacity: 0.6;
156
+ animation: float linear infinite;
157
+ }
158
+
159
+ @keyframes float {
160
+ 0% {
161
+ transform: translateY(0) rotate(0deg);
162
+ opacity: 0;
163
+ }
164
+ 10% {
165
+ opacity: 0.6;
166
+ }
167
+ 90% {
168
+ opacity: 0.6;
169
+ }
170
+ 100% {
171
+ transform: translateY(-100vh) rotate(360deg);
172
+ opacity: 0;
173
+ }
174
+ }
175
+
176
+ .tagline {
177
+ text-shadow: 0 0 10px rgba(248, 212, 52, 0.5);
178
+ letter-spacing: 2px;
179
+ font-weight: 300;
180
+ }
181
+
182
+ .container {
183
+ position: relative;
184
+ width: 100%;
185
+ height: 100vh;
186
+ display: flex;
187
+ flex-direction: column;
188
+ align-items: center;
189
+ justify-content: center;
190
+ }
191
+
192
+ .branches-container {
193
+ position: absolute;
194
+ width: 100%;
195
+ height: 100%;
196
+ top: 0;
197
+ left: 0;
198
+ }
199
+
200
+ .leaves-container {
201
+ position: absolute;
202
+ width: 100%;
203
+ height: 100%;
204
+ top: 0;
205
+ left: 0;
206
+ }
207
+
208
+ .tooltip {
209
+ position: absolute;
210
+ bottom: -30px;
211
+ left: 50%;
212
+ transform: translateX(-50%);
213
+ background: rgba(0, 0, 0, 0.7);
214
+ padding: 4px 8px;
215
+ border-radius: 4px;
216
+ font-size: 12px;
217
+ white-space: nowrap;
218
+ opacity: 0;
219
+ transition: opacity 0.3s ease;
220
+ pointer-events: none;
221
+ }
222
+
223
+ .leaf:hover .tooltip {
224
+ opacity: 1;
225
+ }
226
+
227
+ @media (max-width: 768px) {
228
+ .starseed {
229
+ width: 60px;
230
+ height: 60px;
231
+ }
232
+
233
+ .leaf {
234
+ width: 50px;
235
+ height: 50px;
236
+ font-size: 20px;
237
+ }
238
+ }
239
+ </style>
240
+ </head>
241
+ <body>
242
+ <div class="container">
243
+ <!-- Floating particles -->
244
+ <div id="particles"></div>
245
+
246
+ <!-- Branches container -->
247
+ <div id="branches-container" class="branches-container"></div>
248
+
249
+ <!-- Leaves container -->
250
+ <div id="leaves-container" class="leaves-container"></div>
251
+
252
+ <!-- Main content -->
253
+ <div class="relative z-30 flex flex-col items-center justify-center">
254
+ <div id="starseed" class="starseed mb-8"></div>
255
+
256
+ <h1 class="text-4xl font-light mb-2 tracking-wider">STARRTREE</h1>
257
+ <p class="tagline text-xl mb-12">Rooted in Light</p>
258
+ </div>
259
+ </div>
260
+
261
+ <script>
262
+ document.addEventListener('DOMContentLoaded', function() {
263
+ // Create particles
264
+ createParticles();
265
+
266
+ // Create branches and leaves
267
+ createBranchesAndLeaves();
268
+
269
+ // Animate particles continuously
270
+ setInterval(createParticles, 1000);
271
+
272
+ // Handle window resize
273
+ window.addEventListener('resize', function() {
274
+ // Clear existing branches and leaves
275
+ document.getElementById('branches-container').innerHTML = '';
276
+ document.getElementById('leaves-container').innerHTML = '';
277
+
278
+ // Recreate them
279
+ createBranchesAndLeaves();
280
+ });
281
+ });
282
+
283
+ function createParticles() {
284
+ const particlesContainer = document.getElementById('particles');
285
+ const particleCount = 10;
286
+
287
+ for (let i = 0; i < particleCount; i++) {
288
+ const particle = document.createElement('div');
289
+ particle.classList.add('particle');
290
+
291
+ // Random properties
292
+ const size = Math.random() * 10 + 5;
293
+ const posX = Math.random() * window.innerWidth;
294
+ const duration = Math.random() * 15 + 10;
295
+ const delay = Math.random() * 5;
296
+
297
+ particle.style.width = `${size}px`;
298
+ particle.style.height = `${size}px`;
299
+ particle.style.left = `${posX}px`;
300
+ particle.style.top = `${window.innerHeight + size}px`;
301
+ particle.style.animationDuration = `${duration}s`;
302
+ particle.style.animationDelay = `${delay}s`;
303
+
304
+ particlesContainer.appendChild(particle);
305
+
306
+ // Remove particle after animation completes
307
+ setTimeout(() => {
308
+ particle.remove();
309
+ }, (duration + delay) * 1000);
310
+ }
311
+ }
312
+
313
+ function createBranchesAndLeaves() {
314
+ const branchesContainer = document.getElementById('branches-container');
315
+ const leavesContainer = document.getElementById('leaves-container');
316
+ const starseed = document.getElementById('starseed');
317
+
318
+ // Get starseed position and dimensions
319
+ const starseedRect = starseed.getBoundingClientRect();
320
+ const starseedCenterX = starseedRect.left + starseedRect.width / 2;
321
+ const starseedCenterY = starseedRect.top + starseedRect.height / 2;
322
+
323
+ // Calculate responsive distance based on viewport
324
+ const baseDistance = Math.min(window.innerWidth, window.innerHeight) * 0.3;
325
+
326
+ // Leaf data
327
+ const leaves = [
328
+ {
329
+ icon: 'fa-music',
330
+ angle: 45,
331
+ distance: baseDistance,
332
+ label: 'Music',
333
+ class: 'music',
334
+ branchColor: 'rgba(75, 192, 192, 0.7)',
335
+ link: '#music'
336
+ },
337
+ {
338
+ icon: 'fa-robot',
339
+ angle: 135,
340
+ distance: baseDistance,
341
+ label: 'AI Work',
342
+ class: 'ai',
343
+ branchColor: 'rgba(255, 99, 132, 0.7)',
344
+ link: '#ai'
345
+ },
346
+ {
347
+ icon: 'fa-paint-brush',
348
+ angle: 225,
349
+ distance: baseDistance,
350
+ label: 'Design & Film',
351
+ class: 'design',
352
+ branchColor: 'rgba(54, 162, 235, 0.7)',
353
+ link: '#design'
354
+ },
355
+ {
356
+ icon: 'fa-rocket',
357
+ angle: 315,
358
+ distance: baseDistance,
359
+ label: 'Engineering',
360
+ class: 'engineering',
361
+ branchColor: 'rgba(153, 102, 255, 0.7)',
362
+ link: '#engineering'
363
+ }
364
+ ];
365
+
366
+ leaves.forEach(leaf => {
367
+ // Calculate leaf position
368
+ const angleRad = (leaf.angle * Math.PI) / 180;
369
+ const leafX = starseedCenterX + Math.cos(angleRad) * leaf.distance;
370
+ const leafY = starseedCenterY + Math.sin(angleRad) * leaf.distance;
371
+
372
+ // Create curved branch
373
+ const branch = document.createElement('div');
374
+ branch.classList.add('branch');
375
+ branch.style.left = '0';
376
+ branch.style.top = '0';
377
+ branch.style.width = '100%';
378
+ branch.style.height = '100%';
379
+
380
+ // Create SVG path for the curved branch
381
+ const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
382
+ svg.setAttribute('width', '100%');
383
+ svg.setAttribute('height', '100%');
384
+ svg.style.position = 'absolute';
385
+ svg.style.overflow = 'visible';
386
+
387
+ const path = document.createElementNS('http://www.w3.org/2000/svg', 'path');
388
+ path.classList.add('branch-path');
389
+
390
+ // Create a curved path (quadratic bezier)
391
+ const controlX = starseedCenterX + Math.cos(angleRad) * (leaf.distance/2) + (Math.random() * 40 - 20);
392
+ const controlY = starseedCenterY + Math.sin(angleRad) * (leaf.distance/2) + (Math.random() * 40 - 20);
393
+
394
+ const pathData = `M ${starseedCenterX} ${starseedCenterY} Q ${controlX} ${controlY}, ${leafX} ${leafY}`;
395
+ path.setAttribute('d', pathData);
396
+ path.setAttribute('stroke', leaf.branchColor);
397
+
398
+ svg.appendChild(path);
399
+ branch.appendChild(svg);
400
+ branchesContainer.appendChild(branch);
401
+
402
+ // Create leaf
403
+ const leafElement = document.createElement('a');
404
+ leafElement.href = leaf.link;
405
+ leafElement.classList.add('leaf', leaf.class);
406
+ leafElement.style.left = `${leafX}px`;
407
+ leafElement.style.top = `${leafY}px`;
408
+
409
+ const icon = document.createElement('i');
410
+ icon.classList.add('fas', leaf.icon);
411
+ leafElement.appendChild(icon);
412
+
413
+ // Add tooltip
414
+ const tooltip = document.createElement('div');
415
+ tooltip.classList.add('tooltip');
416
+ tooltip.textContent = leaf.label;
417
+ leafElement.appendChild(tooltip);
418
+
419
+ leavesContainer.appendChild(leafElement);
420
+ });
421
+ }
422
+ </script>
423
+ <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=mastarrmind/starrtree" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
424
+ </html>
prompts.txt ADDED
File without changes