catalinulwu1234 commited on
Commit
a2f2f05
·
verified ·
1 Parent(s): bd594aa

salut vorbeste romana si fami un cod python cool frumos animat design cu hack tool meu BlockSity Tool . simplu doar vizual tot codl cool frumos animat design sa fie animatie cool frumos animat design cam atat ..

Browse files
Files changed (2) hide show
  1. README.md +8 -5
  2. index.html +184 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Blocksity Visual Code Wizard
3
- emoji: 🏃
4
- colorFrom: indigo
5
- colorTo: indigo
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: BlockSity Visual Code Wizard ✨
3
+ colorFrom: red
4
+ colorTo: blue
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).
index.html CHANGED
@@ -1,19 +1,185 @@
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>BlockSity Visual Code Wizard</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/vanta@latest/dist/vanta.globe.min.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
11
+ <style>
12
+ @keyframes float {
13
+ 0%, 100% { transform: translateY(0); }
14
+ 50% { transform: translateY(-20px); }
15
+ }
16
+ .code-block {
17
+ background: linear-gradient(145deg, #1a1a2e, #16213e);
18
+ box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
19
+ }
20
+ .btn-glow:hover {
21
+ box-shadow: 0 0 15px rgba(100, 255, 218, 0.6);
22
+ }
23
+ .undefined-bg {
24
+ background: linear-gradient(135deg, #6e8efb, #a777e3);
25
+ }
26
+ </style>
27
+ </head>
28
+ <body class="bg-gray-900 text-gray-100 min-h-screen overflow-x-hidden">
29
+ <div id="vanta-bg" class="fixed inset-0 z-0"></div>
30
+
31
+ <div class="relative z-10 container mx-auto px-4 py-16">
32
+ <header class="text-center mb-16">
33
+ <h1 class="text-5xl md:text-7xl font-bold mb-6 bg-clip-text text-transparent undefined-bg animate-float">
34
+ BlockSity <span class="text-indigo-300">Visual</span> Wizard
35
+ </h1>
36
+ <p class="text-xl text-gray-300 max-w-2xl mx-auto">
37
+ Transform your Python code into a visual masterpiece with stunning animations and modern design
38
+ </p>
39
+ </header>
40
+
41
+ <div class="grid md:grid-cols-2 gap-8 mb-16">
42
+ <div class="code-block rounded-xl p-8 transform transition-all duration-500 hover:scale-105">
43
+ <div class="flex items-center mb-6">
44
+ <div class="w-3 h-3 rounded-full bg-red-500 mr-2"></div>
45
+ <div class="w-3 h-3 rounded-full bg-yellow-500 mr-2"></div>
46
+ <div class="w-3 h-3 rounded-full bg-green-500 mr-2"></div>
47
+ <span class="text-gray-400 ml-4">visual_code.py</span>
48
+ </div>
49
+ <pre class="text-green-400 font-mono text-sm overflow-x-auto">
50
+ <span class="text-purple-300">import</span> <span class="text-blue-300">pygame</span>
51
+ <span class="text-purple-300">import</span> <span class="text-blue-300">random</span>
52
+ <span class="text-purple-300">import</span> <span class="text-blue-300">math</span>
53
+
54
+ <span class="text-yellow-300">def</span> <span class="text-blue-300">create_particles</span>(<span class="text-green-300">x</span>, <span class="text-green-300">y</span>):
55
+ <span class="text-gray-500"># Create magical particle effects</span>
56
+ particles = []
57
+ <span class="text-yellow-300">for</span> i <span class="text-yellow-300">in</span> <span class="text-blue-300">range</span>(<span class="text-orange-300">100</span>):
58
+ angle = random.uniform(<span class="text-orange-300">0</span>, math.pi*<span class="text-orange-300">2</span>)
59
+ speed = random.uniform(<span class="text-orange-300">1</span>, <span class="text-orange-300">5</span>)
60
+ particles.append({
61
+ <span class="text-green-300">'x'</span>: x,
62
+ <span class="text-green-300">'y'</span>: y,
63
+ <span class="text-green-300">'vx'</span>: math.cos(angle) * speed,
64
+ <span class="text-green-300">'vy'</span>: math.sin(angle) * speed,
65
+ <span class="text-green-300">'color'</span>: (random.randint(<span class="text-orange-300">100</span>,<span class="text-orange-300">255</span>),
66
+ random.randint(<span class="text-orange-300">100</span>,<span class="text-orange-300">255</span>),
67
+ random.randint(<span class="text-orange-300">100</span>,<span class="text-orange-300">255</span>)),
68
+ <span class="text-green-300">'life'</span>: random.uniform(<span class="text-orange-300">20</span>, <span class="text-orange-300">40</span>)
69
+ })
70
+ <span class="text-yellow-300">return</span> particles</pre>
71
+ </div>
72
+
73
+ <div class="flex flex-col justify-center">
74
+ <h2 class="text-3xl font-bold mb-4 undefined-bg bg-clip-text text-transparent">Visual Python Magic</h2>
75
+ <p class="text-gray-300 mb-6">
76
+ Our tool transforms ordinary Python code into visually stunning experiences with:
77
+ </p>
78
+ <ul class="space-y-3">
79
+ <li class="flex items-center">
80
+ <i data-feather="zap" class="text-yellow-400 mr-3"></i>
81
+ <span>Real-time syntax highlighting</span>
82
+ </li>
83
+ <li class="flex items-center">
84
+ <i data-feather="code" class="text-purple-400 mr-3"></i>
85
+ <span>Interactive code animations</span>
86
+ </li>
87
+ <li class="flex items-center">
88
+ <i data-feather="eye" class="text-blue-400 mr-3"></i>
89
+ <span>3D visualization of data structures</span>
90
+ </li>
91
+ <li class="flex items-center">
92
+ <i data-feather="cpu" class="text-green-400 mr-3"></i>
93
+ <span>Execution flow visualization</span>
94
+ </li>
95
+ </ul>
96
+ </div>
97
+ </div>
98
+
99
+ <div class="text-center mt-16">
100
+ <button class="btn-glow undefined-bg text-white font-bold py-4 px-8 rounded-full text-lg transform transition-all duration-300 hover:scale-110">
101
+ Generate Your Visual Code
102
+ <i data-feather="arrow-right" class="ml-2 inline"></i>
103
+ </button>
104
+ </div>
105
+
106
+ <div class="mt-24 grid md:grid-cols-3 gap-8">
107
+ <div class="bg-gray-800 bg-opacity-50 backdrop-blur-sm p-6 rounded-xl transform transition-all duration-300 hover:-translate-y-2">
108
+ <div class="undefined-bg w-12 h-12 rounded-full flex items-center justify-center mb-4">
109
+ <i data-feather="box" class="text-white"></i>
110
+ </div>
111
+ <h3 class="text-xl font-bold mb-2">Code Blocks</h3>
112
+ <p class="text-gray-300">Beautifully animated code segments that respond to your interactions.</p>
113
+ </div>
114
+ <div class="bg-gray-800 bg-opacity-50 backdrop-blur-sm p-6 rounded-xl transform transition-all duration-300 hover:-translate-y-2">
115
+ <div class="undefined-bg w-12 h-12 rounded-full flex items-center justify-center mb-4">
116
+ <i data-feather="cpu" class="text-white"></i>
117
+ </div>
118
+ <h3 class="text-xl font-bold mb-2">Visual Debugger</h3>
119
+ <p class="text-gray-300">See your code execute step-by-step with stunning visualizations.</p>
120
+ </div>
121
+ <div class="bg-gray-800 bg-opacity-50 backdrop-blur-sm p-6 rounded-xl transform transition-all duration-300 hover:-translate-y-2">
122
+ <div class="undefined-bg w-12 h-12 rounded-full flex items-center justify-center mb-4">
123
+ <i data-feather="sliders" class="text-white"></i>
124
+ </div>
125
+ <h3 class="text-xl font-bold mb-2">Custom Themes</h3>
126
+ <p class="text-gray-300">Choose from dozens of beautiful color schemes for your code.</p>
127
+ </div>
128
+ </div>
129
+ </div>
130
+
131
+ <script>
132
+ // Initialize Vanta.js background
133
+ VANTA.GLOBE({
134
+ el: "#vanta-bg",
135
+ mouseControls: true,
136
+ touchControls: true,
137
+ gyroControls: false,
138
+ minHeight: 200.00,
139
+ minWidth: 200.00,
140
+ scale: 1.00,
141
+ scaleMobile: 1.00,
142
+ color: 0x5e35b1,
143
+ backgroundColor: 0x111827,
144
+ size: 0.8
145
+ });
146
+
147
+ // Animation for code blocks
148
+ document.querySelectorAll('.code-block').forEach((block, index) => {
149
+ block.style.opacity = '0';
150
+ block.style.transform = 'translateY(20px)';
151
+
152
+ anime({
153
+ targets: block,
154
+ opacity: 1,
155
+ translateY: 0,
156
+ delay: index * 100,
157
+ duration: 800,
158
+ easing: 'easeOutExpo'
159
+ });
160
+ });
161
+
162
+ // Hover effect for buttons
163
+ document.querySelectorAll('.btn-glow').forEach(btn => {
164
+ btn.addEventListener('mouseenter', () => {
165
+ anime({
166
+ targets: btn,
167
+ boxShadow: ['0 0 0px rgba(100, 255, 218, 0)', '0 0 20px rgba(100, 255, 218, 0.6)'],
168
+ duration: 300
169
+ });
170
+ });
171
+
172
+ btn.addEventListener('mouseleave', () => {
173
+ anime({
174
+ targets: btn,
175
+ boxShadow: ['0 0 20px rgba(100, 255, 218, 0.6)', '0 0 0px rgba(100, 255, 218, 0)'],
176
+ duration: 300
177
+ });
178
+ });
179
+ });
180
+
181
+ // Initialize feather icons
182
+ feather.replace();
183
+ </script>
184
+ </body>
185
  </html>