Spaces:
Running
Running
Add 3 files
Browse files- README.md +6 -4
- index.html +228 -19
- prompts.txt +4 -0
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
colorTo: pink
|
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: globe-future
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: blue
|
5 |
colorTo: pink
|
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,228 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="fr">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Globe Futuriste de Particules</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 |
+
<style>
|
10 |
+
body {
|
11 |
+
margin: 0;
|
12 |
+
overflow: hidden;
|
13 |
+
background-color: #000;
|
14 |
+
}
|
15 |
+
canvas {
|
16 |
+
display: block;
|
17 |
+
}
|
18 |
+
#info {
|
19 |
+
position: absolute;
|
20 |
+
top: 20px;
|
21 |
+
width: 100%;
|
22 |
+
text-align: center;
|
23 |
+
color: white;
|
24 |
+
font-family: Arial, sans-serif;
|
25 |
+
pointer-events: none;
|
26 |
+
text-shadow: 0 0 5px #0ff;
|
27 |
+
font-size: 1.5rem;
|
28 |
+
}
|
29 |
+
.controls {
|
30 |
+
position: absolute;
|
31 |
+
bottom: 20px;
|
32 |
+
left: 50%;
|
33 |
+
transform: translateX(-50%);
|
34 |
+
display: flex;
|
35 |
+
gap: 10px;
|
36 |
+
}
|
37 |
+
button {
|
38 |
+
background: rgba(0, 255, 255, 0.2);
|
39 |
+
color: white;
|
40 |
+
border: 1px solid #0ff;
|
41 |
+
padding: 8px 16px;
|
42 |
+
border-radius: 20px;
|
43 |
+
cursor: pointer;
|
44 |
+
transition: all 0.3s;
|
45 |
+
backdrop-filter: blur(5px);
|
46 |
+
}
|
47 |
+
button:hover {
|
48 |
+
background: rgba(0, 255, 255, 0.4);
|
49 |
+
box-shadow: 0 0 10px #0ff;
|
50 |
+
}
|
51 |
+
</style>
|
52 |
+
</head>
|
53 |
+
<body>
|
54 |
+
<div id="info">GLOBE FUTURISTE DE PARTICULES</div>
|
55 |
+
<div class="controls">
|
56 |
+
<button id="speedUp">Accélérer</button>
|
57 |
+
<button id="slowDown">Ralentir</button>
|
58 |
+
<button id="changeColor">Changer Couleurs</button>
|
59 |
+
</div>
|
60 |
+
|
61 |
+
<script>
|
62 |
+
// Initialisation de la scène Three.js
|
63 |
+
const scene = new THREE.Scene();
|
64 |
+
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
|
65 |
+
const renderer = new THREE.WebGLRenderer({ antialias: true });
|
66 |
+
renderer.setSize(window.innerWidth, window.innerHeight);
|
67 |
+
renderer.setPixelRatio(window.devicePixelRatio);
|
68 |
+
document.body.appendChild(renderer.domElement);
|
69 |
+
|
70 |
+
// Configuration de la caméra
|
71 |
+
camera.position.z = 30;
|
72 |
+
|
73 |
+
// Paramètres du globe
|
74 |
+
const globeRadius = 15;
|
75 |
+
const particleCount = 5000;
|
76 |
+
const starCount = 2000;
|
77 |
+
let rotationSpeed = 0.002;
|
78 |
+
let colorPalette = [
|
79 |
+
0x00ffff, 0xff00ff, 0xffff00, 0x00ff00, 0xff0000, 0x0000ff
|
80 |
+
];
|
81 |
+
|
82 |
+
// Création des particules pour le globe
|
83 |
+
const particlesGeometry = new THREE.BufferGeometry();
|
84 |
+
const particlesMaterial = new THREE.PointsMaterial({
|
85 |
+
size: 0.1,
|
86 |
+
vertexColors: true,
|
87 |
+
transparent: true,
|
88 |
+
opacity: 0.8,
|
89 |
+
blending: THREE.AdditiveBlending
|
90 |
+
});
|
91 |
+
|
92 |
+
const particlesPositions = new Float32Array(particleCount * 3);
|
93 |
+
const particlesColors = new Float32Array(particleCount * 3);
|
94 |
+
|
95 |
+
// Remplir les positions et couleurs des particules
|
96 |
+
for (let i = 0; i < particleCount; i++) {
|
97 |
+
// Position sphérique aléatoire
|
98 |
+
const radius = globeRadius * (0.95 + Math.random() * 0.1);
|
99 |
+
const theta = Math.random() * Math.PI * 2;
|
100 |
+
const phi = Math.acos(2 * Math.random() - 1);
|
101 |
+
|
102 |
+
const x = radius * Math.sin(phi) * Math.cos(theta);
|
103 |
+
const y = radius * Math.sin(phi) * Math.sin(theta);
|
104 |
+
const z = radius * Math.cos(phi);
|
105 |
+
|
106 |
+
particlesPositions[i * 3] = x;
|
107 |
+
particlesPositions[i * 3 + 1] = y;
|
108 |
+
particlesPositions[i * 3 + 2] = z;
|
109 |
+
|
110 |
+
// Couleur aléatoire dans la palette
|
111 |
+
const color = new THREE.Color(colorPalette[Math.floor(Math.random() * colorPalette.length)]);
|
112 |
+
particlesColors[i * 3] = color.r;
|
113 |
+
particlesColors[i * 3 + 1] = color.g;
|
114 |
+
particlesColors[i * 3 + 2] = color.b;
|
115 |
+
}
|
116 |
+
|
117 |
+
particlesGeometry.setAttribute('position', new THREE.BufferAttribute(particlesPositions, 3));
|
118 |
+
particlesGeometry.setAttribute('color', new THREE.BufferAttribute(particlesColors, 3));
|
119 |
+
|
120 |
+
const particles = new THREE.Points(particlesGeometry, particlesMaterial);
|
121 |
+
scene.add(particles);
|
122 |
+
|
123 |
+
// Création des étoiles clignotantes
|
124 |
+
const starsGeometry = new THREE.BufferGeometry();
|
125 |
+
const starsMaterial = new THREE.PointsMaterial({
|
126 |
+
size: 0.2,
|
127 |
+
color: 0xffffff,
|
128 |
+
transparent: true,
|
129 |
+
opacity: 0,
|
130 |
+
blending: THREE.AdditiveBlending
|
131 |
+
});
|
132 |
+
|
133 |
+
const starsPositions = new Float32Array(starCount * 3);
|
134 |
+
const starsOpacities = new Float32Array(starCount);
|
135 |
+
const starsSpeeds = new Float32Array(starCount);
|
136 |
+
|
137 |
+
// Remplir les positions des étoiles
|
138 |
+
for (let i = 0; i < starCount; i++) {
|
139 |
+
// Position aléatoire dans l'espace
|
140 |
+
const distance = globeRadius * (1.5 + Math.random() * 3);
|
141 |
+
const theta = Math.random() * Math.PI * 2;
|
142 |
+
const phi = Math.acos(2 * Math.random() - 1);
|
143 |
+
|
144 |
+
starsPositions[i * 3] = distance * Math.sin(phi) * Math.cos(theta);
|
145 |
+
starsPositions[i * 3 + 1] = distance * Math.sin(phi) * Math.sin(theta);
|
146 |
+
starsPositions[i * 3 + 2] = distance * Math.cos(phi);
|
147 |
+
|
148 |
+
starsOpacities[i] = 0;
|
149 |
+
starsSpeeds[i] = 0.2 + Math.random() * 0.8;
|
150 |
+
}
|
151 |
+
|
152 |
+
starsGeometry.setAttribute('position', new THREE.BufferAttribute(starsPositions, 3));
|
153 |
+
starsGeometry.setAttribute('opacity', new THREE.BufferAttribute(starsOpacities, 1));
|
154 |
+
|
155 |
+
const stars = new THREE.Points(starsGeometry, starsMaterial);
|
156 |
+
scene.add(stars);
|
157 |
+
|
158 |
+
// Animation des étoiles
|
159 |
+
function animateStars() {
|
160 |
+
const opacities = starsGeometry.attributes.opacity.array;
|
161 |
+
|
162 |
+
for (let i = 0; i < starCount; i++) {
|
163 |
+
// Animation de clignotement aléatoire
|
164 |
+
opacities[i] = Math.sin(Date.now() * 0.001 * starsSpeeds[i]) * 0.5 + 0.5;
|
165 |
+
}
|
166 |
+
|
167 |
+
starsGeometry.attributes.opacity.needsUpdate = true;
|
168 |
+
}
|
169 |
+
|
170 |
+
// Effet de lumière centrale
|
171 |
+
const pointLight = new THREE.PointLight(0xffffff, 1, 50);
|
172 |
+
pointLight.position.set(0, 0, 0);
|
173 |
+
scene.add(pointLight);
|
174 |
+
|
175 |
+
const ambientLight = new THREE.AmbientLight(0x404040);
|
176 |
+
scene.add(ambientLight);
|
177 |
+
|
178 |
+
// Contrôles
|
179 |
+
document.getElementById('speedUp').addEventListener('click', () => {
|
180 |
+
rotationSpeed *= 1.5;
|
181 |
+
});
|
182 |
+
|
183 |
+
document.getElementById('slowDown').addEventListener('click', () => {
|
184 |
+
rotationSpeed /= 1.5;
|
185 |
+
});
|
186 |
+
|
187 |
+
document.getElementById('changeColor').addEventListener('click', () => {
|
188 |
+
// Générer une nouvelle palette de couleurs aléatoires
|
189 |
+
colorPalette = Array(6).fill().map(() => Math.random() * 0xffffff);
|
190 |
+
|
191 |
+
// Mettre à jour les couleurs des particules
|
192 |
+
const colors = particlesGeometry.attributes.color.array;
|
193 |
+
|
194 |
+
for (let i = 0; i < particleCount; i++) {
|
195 |
+
const color = new THREE.Color(colorPalette[Math.floor(Math.random() * colorPalette.length)]);
|
196 |
+
colors[i * 3] = color.r;
|
197 |
+
colors[i * 3 + 1] = color.g;
|
198 |
+
colors[i * 3 + 2] = color.b;
|
199 |
+
}
|
200 |
+
|
201 |
+
particlesGeometry.attributes.color.needsUpdate = true;
|
202 |
+
});
|
203 |
+
|
204 |
+
// Animation
|
205 |
+
function animate() {
|
206 |
+
requestAnimationFrame(animate);
|
207 |
+
|
208 |
+
// Rotation du globe
|
209 |
+
particles.rotation.x += rotationSpeed * 0.5;
|
210 |
+
particles.rotation.y += rotationSpeed;
|
211 |
+
|
212 |
+
// Animation des étoiles
|
213 |
+
animateStars();
|
214 |
+
|
215 |
+
renderer.render(scene, camera);
|
216 |
+
}
|
217 |
+
|
218 |
+
// Gestion du redimensionnement
|
219 |
+
window.addEventListener('resize', () => {
|
220 |
+
camera.aspect = window.innerWidth / window.innerHeight;
|
221 |
+
camera.updateProjectionMatrix();
|
222 |
+
renderer.setSize(window.innerWidth, window.innerHeight);
|
223 |
+
});
|
224 |
+
|
225 |
+
animate();
|
226 |
+
</script>
|
227 |
+
<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=docto41/globe-future" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
228 |
+
</html>
|
prompts.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
je veux tu me creer AURORA
|
2 |
+
AURORA
|
3 |
+
2 Player 3D BMX RPG RTS Action Adventure Airport Alien Animal Anime Army Art Artillery Asteroid Balance Balloon Baseball Basketball Bike Bird Blackjack Block Bloons Boat Bomb Bow Bowling Box Boxhead Brain Bridge Bunny Business Buttonhunt Car Card Casino Castle Catapult Cell Checkers Chess Christmas City Coloring Cooking Cricket Dating Defense Detective Devil Dice Difference Dinosaur Dirt Bike Doctor Domino Dragon Dress Up Duck Dungeon Dwarf Educational Elephant Emo Epic War Escape Farm Fashion Fire Fish Fishing Flight Food Puzzle Football Funny Geography Girl Gladiator God Golf Good Music Gravity Guitar Gun Hair Halloween Helicopter Hex Hidden Object Hockey Holiday Horror Horse Hunting Idle Island Kissing Magic Mahjong Makeup Management Match 3 Math Maze Memory Monkey Monster Monster Truck Motorcycle Mouse Multiplayer Multiplication Music Mystery Ninja Painting Parking Penguin Pet Physics Pinball Pipe Pirate Pixel Plane Platform Point And Click Poker Police Pong Pool Prison Protector Quick Quiz Racing Ragdoll Restaurant Retro Rhythm Robot Rocket Sandbox Santa School Science Shark Shooter Shootorial Side Scrolling Sim Skateboard Ski Snake Sniper Snow Soccer Solitaire Space Spider Sports Stealth Steampunk Stick Strategy Submachine Submarine Sudoku Sword Tag Tank Team Tennis Time Management Tower Defense Train Turn Based Tutorials Tycoon Typing Vampire Vector Virus War Western Wizard Wolf Word Worm Zombie Science Fiction Fighting Fantasy Turtle Hamster Hedgehog Mouse Only Keyboard Only CCG Stencyl Interactive Fiction One Button Philosophical Minimalism Arcade Atmospheric Top Down Historical Tactical Cute Isometric Rogue-Like Bullet Hell Upgrades Metroidvania Endurance Running HTML5 Minigames Launch Bubble Superhero Military Arena Combat 5 Minute Programming Relaxing Mining Controller Support GGJ14 Kongpanions Whimsy MMO Unity Armadillo Incremental PvP Student Developed Clicker KGJ1 KGJ2 Kongregate Abstract Co-op Psychological Female Protagonist Building Hack and Slash Challenging Scary Mythology Destruction Spy Survival Politics Visual Novel Occult Platformer Simulation Cyberpunk Viking Beat 'Em Up Text-Based Demo Premium Board Role Playing Trivia Beauty Casual Flash FPS .io Shooting Stickman Kongregate is an open platform for all web games and a pioneering game developer in the blockchain space. Resources Developers Players Support
|
4 |
+
creer moi une globe geant fait que des particule de couleur qui tourne en rond avec des etoile trasnparent qui clignote je veux en futuriste
|