Vincent11223344 commited on
Commit
c9538a9
·
verified ·
1 Parent(s): 08edede

Ok men nu ska det funka på riktigt det ska vara en enkel men profisonel 3d animerings studio

Browse files
Files changed (2) hide show
  1. README.md +9 -5
  2. index.html +224 -18
README.md CHANGED
@@ -1,10 +1,14 @@
1
  ---
2
- title: Pixelmotion Studio
3
- emoji: 📉
4
- colorFrom: indigo
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: PixelMotion Studio 🎬
3
+ colorFrom: purple
4
+ colorTo: green
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
14
+
index.html CHANGED
@@ -1,19 +1,225 @@
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" class="dark">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>PixelMotion Studio - Professional 3D Animation</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
12
+ <script>
13
+ tailwind.config = {
14
+ darkMode: 'class',
15
+ theme: {
16
+ extend: {
17
+ colors: {
18
+ primary: {
19
+ 500: '#EF4444',
20
+ }
21
+ }
22
+ }
23
+ }
24
+ }
25
+ </script>
26
+ <style>
27
+ .vanta-canvas {
28
+ position: absolute !important;
29
+ z-index: 0 !important;
30
+ }
31
+ .content-wrapper {
32
+ position: relative;
33
+ z-index: 10;
34
+ }
35
+ .tooltip:hover .tooltip-text {
36
+ opacity: 1;
37
+ visibility: visible;
38
+ }
39
+ .animation-canvas {
40
+ border-radius: 12px;
41
+ box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
42
+ }
43
+ </style>
44
+ </head>
45
+ <body class="bg-gray-900 text-gray-100 min-h-screen">
46
+ <div id="vanta-bg"></div>
47
+ <div class="content-wrapper container mx-auto px-4 py-8">
48
+ <!-- Header -->
49
+ <header class="flex justify-between items-center mb-12">
50
+ <div class="flex items-center space-x-2">
51
+ <i data-feather="film" class="text-primary-500 w-8 h-8"></i>
52
+ <h1 class="text-3xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-primary-500 to-pink-500">PixelMotion</h1>
53
+ </div>
54
+ <nav class="hidden md:flex space-x-8">
55
+ <a href="#" class="hover:text-primary-500 transition">Home</a>
56
+ <a href="#" class="hover:text-primary-500 transition">Projects</a>
57
+ <a href="#" class="hover:text-primary-500 transition">Assets</a>
58
+ <a href="#" class="hover:text-primary-500 transition">Render Farm</a>
59
+ <a href="#" class="hover:text-primary-500 transition">Team</a>
60
+ </nav>
61
+ <button class="md:hidden">
62
+ <i data-feather="menu"></i>
63
+ </button>
64
+ </header>
65
+
66
+ <!-- Hero Section -->
67
+ <section class="mb-16 text-center">
68
+ <h2 class="text-5xl font-bold mb-6">Professional <span class="text-primary-500">3D Animation</span> Made Simple</h2>
69
+ <p class="text-xl text-gray-400 max-w-2xl mx-auto mb-8">
70
+ Studio-quality animation tools in your browser. Focus on creativity while we handle the technical details.
71
+ </p>
72
+ <div class="flex justify-center space-x-4">
73
+ <button class="bg-primary-500 hover:bg-primary-600 text-white px-6 py-3 rounded-lg font-medium transition flex items-center">
74
+ <i data-feather="play" class="mr-2"></i> Start Animating
75
+ </button>
76
+ <button class="border border-primary-500 text-primary-500 hover:bg-primary-500 hover:text-white px-6 py-3 rounded-lg font-medium transition flex items-center">
77
+ <i data-feather="book-open" class="mr-2"></i> Learn More
78
+ </button>
79
+ </div>
80
+ </section>
81
+
82
+ <!-- Animation Canvas -->
83
+ <section class="mb-16">
84
+ <div class="bg-gray-800 p-1 rounded-xl mb-4">
85
+ <div class="animation-canvas bg-gray-900 w-full h-96 relative overflow-hidden">
86
+ <div id="animation-viewport" class="w-full h-full"></div>
87
+ <div class="absolute inset-0 flex items-center justify-center">
88
+ <button class="bg-primary-500 hover:bg-primary-600 text-white px-8 py-4 rounded-lg font-bold text-lg transition flex items-center shadow-lg">
89
+ <i data-feather="terminal" class="mr-3"></i> Open Studio Workspace
90
+ </button>
91
+ </div>
92
+ </div>
93
+ </div>
94
+ <div class="flex justify-between items-center">
95
+ <div class="flex space-x-2">
96
+ <button class="bg-gray-800 hover:bg-gray-700 p-3 rounded-lg transition tooltip">
97
+ <i data-feather="plus"></i>
98
+ <span class="tooltip-text absolute bg-gray-800 text-white px-3 py-2 rounded-lg text-sm mt-2 opacity-0 invisible transition">
99
+ Add Model
100
+ </span>
101
+ </button>
102
+ <button class="bg-gray-800 hover:bg-gray-700 p-3 rounded-lg transition tooltip">
103
+ <i data-feather="keyframe"></i>
104
+ <span class="tooltip-text absolute bg-gray-800 text-white px-3 py-2 rounded-lg text-sm mt-2 opacity-0 invisible transition">
105
+ Add Keyframe
106
+ </span>
107
+ </button>
108
+ <button class="bg-gray-800 hover:bg-gray-700 p-3 rounded-lg transition tooltip">
109
+ <i data-feather="camera"></i>
110
+ <span class="tooltip-text absolute bg-gray-800 text-white px-3 py-2 rounded-lg text-sm mt-2 opacity-0 invisible transition">
111
+ Render Scene
112
+ </span>
113
+ </button>
114
+ </div>
115
+ <div>
116
+ <button class="bg-primary-500 hover:bg-primary-600 text-white px-6 py-3 rounded-lg font-medium transition flex items-center">
117
+ <i data-feather="code" class="mr-2"></i> Script Editor
118
+ </button>
119
+ </div>
120
+ </div>
121
+ </section>
122
+
123
+ <!-- Features -->
124
+ <section class="mb-16">
125
+ <h2 class="text-3xl font-bold mb-8 text-center">Powerful Animation Features</h2>
126
+ <div class="grid md:grid-cols-3 gap-8">
127
+ <div class="bg-gray-800 p-6 rounded-xl hover:bg-gray-700 transition">
128
+ <div class="bg-primary-500 bg-opacity-20 w-12 h-12 rounded-lg flex items-center justify-center mb-4">
129
+ <i data-feather="cpu" class="text-primary-500"></i>
130
+ </div>
131
+ <h3 class="text-xl font-bold mb-2">Real-time Rendering</h3>
132
+ <p class="text-gray-400">See changes instantly with our powerful WebGL renderer.</p>
133
+ </div>
134
+ <div class="bg-gray-800 p-6 rounded-xl hover:bg-gray-700 transition">
135
+ <div class="bg-primary-500 bg-opacity-20 w-12 h-12 rounded-lg flex items-center justify-center mb-4">
136
+ <i data-feather="layers" class="text-primary-500"></i>
137
+ </div>
138
+ <h3 class="text-xl font-bold mb-2">Scene Management</h3>
139
+ <p class="text-gray-400">Organize complex projects with our hierarchical scene system.</p>
140
+ </div>
141
+ <div class="bg-gray-800 p-6 rounded-xl hover:bg-gray-700 transition">
142
+ <div class="bg-primary-500 bg-opacity-20 w-12 h-12 rounded-lg flex items-center justify-center mb-4">
143
+ <i data-feather="cloud" class="text-primary-500"></i>
144
+ </div>
145
+ <h3 class="text-xl font-bold mb-2">Cloud Collaboration</h3>
146
+ <p class="text-gray-400">Work with team members in real-time from anywhere.</p>
147
+ </div>
148
+ </div>
149
+ </section>
150
+
151
+ <!-- Footer -->
152
+ <footer class="pt-8 border-t border-gray-800">
153
+ <div class="flex flex-col md:flex-row justify-between items-center">
154
+ <div class="flex items-center space-x-2 mb-4 md:mb-0">
155
+ <i data-feather="film" class="text-primary-500 w-6 h-6"></i>
156
+ <span class="text-lg font-bold">Animato</span>
157
+ </div>
158
+ <div class="flex space-x-6">
159
+ <a href="#" class="hover:text-primary-500 transition"><i data-feather="github"></i></a>
160
+ <a href="#" class="hover:text-primary-500 transition"><i data-feather="twitter"></i></a>
161
+ <a href="#" class="hover:text-primary-500 transition"><i data-feather="instagram"></i></a>
162
+ <a href="#" class="hover:text-primary-500 transition"><i data-feather="youtube"></i></a>
163
+ </div>
164
+ </div>
165
+ <p class="text-center text-gray-500 mt-8 text-sm">
166
+ © 2023 PixelMotion Studio - Professional 3D Animation. All rights reserved.
167
+ </p>
168
+ </footer>
169
+ </div>
170
+
171
+ <script>
172
+ // Initialize Vanta.js background
173
+ VANTA.GLOBE({
174
+ el: "#vanta-bg",
175
+ mouseControls: true,
176
+ touchControls: true,
177
+ gyroControls: false,
178
+ minHeight: 200.00,
179
+ minWidth: 200.00,
180
+ scale: 1.00,
181
+ scaleMobile: 1.00,
182
+ color: "#EF4444",
183
+ backgroundColor: "#111827"
184
+ });
185
+
186
+ // Initialize Three.js for animation preview
187
+ document.addEventListener('DOMContentLoaded', function() {
188
+ feather.replace();
189
+
190
+ // Basic Three.js setup (placeholder for actual animation editor)
191
+ const container = document.getElementById('animation-viewport');
192
+ const scene = new THREE.Scene();
193
+ const camera = new THREE.PerspectiveCamera(75, container.clientWidth / container.clientHeight, 0.1, 1000);
194
+ const renderer = new THREE.WebGLRenderer({ antialias: true, alpha: true });
195
+
196
+ renderer.setSize(container.clientWidth, container.clientHeight);
197
+ container.appendChild(renderer.domElement);
198
+
199
+ // Add a simple cube for demonstration
200
+ const geometry = new THREE.BoxGeometry();
201
+ const material = new THREE.MeshBasicMaterial({ color: 0xEF4444 });
202
+ const cube = new THREE.Mesh(geometry, material);
203
+ scene.add(cube);
204
+
205
+ camera.position.z = 3;
206
+
207
+ // Animation loop
208
+ function animate() {
209
+ requestAnimationFrame(animate);
210
+ cube.rotation.x += 0.01;
211
+ cube.rotation.y += 0.01;
212
+ renderer.render(scene, camera);
213
+ }
214
+ animate();
215
+
216
+ // Handle window resize
217
+ window.addEventListener('resize', function() {
218
+ camera.aspect = container.clientWidth / container.clientHeight;
219
+ camera.updateProjectionMatrix();
220
+ renderer.setSize(container.clientWidth, container.clientHeight);
221
+ });
222
+ });
223
+ </script>
224
+ </body>
225
  </html>