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 ..
a2f2f05 verified Download index.html from catalinulwu1234/blocksity-visual-code-wizard: direct link, hf CLI and curl.
- Browser
- Download file 9.24 kB
-
https://huggingface.co/spaces/catalinulwu1234/blocksity-visual-code-wizard/resolve/main/index.html
- Command line
-
hf download hf://spaces/catalinulwu1234/blocksity-visual-code-wizard/index.html
-
curl -L -o index.html https://huggingface.co/spaces/catalinulwu1234/blocksity-visual-code-wizard/resolve/main/index.html
9.24 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>BlockSity Visual Code Wizard</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script> | |
| <style> | |
| @keyframes float { | |
| 0%, 100% { transform: translateY(0); } | |
| 50% { transform: translateY(-20px); } | |
| } | |
| .code-block { | |
| background: linear-gradient(145deg, #1a1a2e, #16213e); | |
| box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3); | |
| } | |
| .btn-glow:hover { | |
| box-shadow: 0 0 15px rgba(100, 255, 218, 0.6); | |
| } | |
| .undefined-bg { | |
| background: linear-gradient(135deg, #6e8efb, #a777e3); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-900 text-gray-100 min-h-screen overflow-x-hidden"> | |
| <div id="vanta-bg" class="fixed inset-0 z-0"></div> | |
| <div class="relative z-10 container mx-auto px-4 py-16"> | |
| <header class="text-center mb-16"> | |
| <h1 class="text-5xl md:text-7xl font-bold mb-6 bg-clip-text text-transparent undefined-bg animate-float"> | |
| BlockSity <span class="text-indigo-300">Visual</span> Wizard | |
| </h1> | |
| <p class="text-xl text-gray-300 max-w-2xl mx-auto"> | |
| Transform your Python code into a visual masterpiece with stunning animations and modern design | |
| </p> | |
| </header> | |
| <div class="grid md:grid-cols-2 gap-8 mb-16"> | |
| <div class="code-block rounded-xl p-8 transform transition-all duration-500 hover:scale-105"> | |
| <div class="flex items-center mb-6"> | |
| <div class="w-3 h-3 rounded-full bg-red-500 mr-2"></div> | |
| <div class="w-3 h-3 rounded-full bg-yellow-500 mr-2"></div> | |
| <div class="w-3 h-3 rounded-full bg-green-500 mr-2"></div> | |
| <span class="text-gray-400 ml-4">visual_code.py</span> | |
| </div> | |
| <pre class="text-green-400 font-mono text-sm overflow-x-auto"> | |
| <span class="text-purple-300">import</span> <span class="text-blue-300">pygame</span> | |
| <span class="text-purple-300">import</span> <span class="text-blue-300">random</span> | |
| <span class="text-purple-300">import</span> <span class="text-blue-300">math</span> | |
| <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>): | |
| <span class="text-gray-500"># Create magical particle effects</span> | |
| particles = [] | |
| <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>): | |
| angle = random.uniform(<span class="text-orange-300">0</span>, math.pi*<span class="text-orange-300">2</span>) | |
| speed = random.uniform(<span class="text-orange-300">1</span>, <span class="text-orange-300">5</span>) | |
| particles.append({ | |
| <span class="text-green-300">'x'</span>: x, | |
| <span class="text-green-300">'y'</span>: y, | |
| <span class="text-green-300">'vx'</span>: math.cos(angle) * speed, | |
| <span class="text-green-300">'vy'</span>: math.sin(angle) * speed, | |
| <span class="text-green-300">'color'</span>: (random.randint(<span class="text-orange-300">100</span>,<span class="text-orange-300">255</span>), | |
| random.randint(<span class="text-orange-300">100</span>,<span class="text-orange-300">255</span>), | |
| random.randint(<span class="text-orange-300">100</span>,<span class="text-orange-300">255</span>)), | |
| <span class="text-green-300">'life'</span>: random.uniform(<span class="text-orange-300">20</span>, <span class="text-orange-300">40</span>) | |
| }) | |
| <span class="text-yellow-300">return</span> particles</pre> | |
| </div> | |
| <div class="flex flex-col justify-center"> | |
| <h2 class="text-3xl font-bold mb-4 undefined-bg bg-clip-text text-transparent">Visual Python Magic</h2> | |
| <p class="text-gray-300 mb-6"> | |
| Our tool transforms ordinary Python code into visually stunning experiences with: | |
| </p> | |
| <ul class="space-y-3"> | |
| <li class="flex items-center"> | |
| <i data-feather="zap" class="text-yellow-400 mr-3"></i> | |
| <span>Real-time syntax highlighting</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i data-feather="code" class="text-purple-400 mr-3"></i> | |
| <span>Interactive code animations</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i data-feather="eye" class="text-blue-400 mr-3"></i> | |
| <span>3D visualization of data structures</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i data-feather="cpu" class="text-green-400 mr-3"></i> | |
| <span>Execution flow visualization</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="text-center mt-16"> | |
| <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"> | |
| Generate Your Visual Code | |
| <i data-feather="arrow-right" class="ml-2 inline"></i> | |
| </button> | |
| </div> | |
| <div class="mt-24 grid md:grid-cols-3 gap-8"> | |
| <div class="bg-gray-800 bg-opacity-50 backdrop-blur-sm p-6 rounded-xl transform transition-all duration-300 hover:-translate-y-2"> | |
| <div class="undefined-bg w-12 h-12 rounded-full flex items-center justify-center mb-4"> | |
| <i data-feather="box" class="text-white"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Code Blocks</h3> | |
| <p class="text-gray-300">Beautifully animated code segments that respond to your interactions.</p> | |
| </div> | |
| <div class="bg-gray-800 bg-opacity-50 backdrop-blur-sm p-6 rounded-xl transform transition-all duration-300 hover:-translate-y-2"> | |
| <div class="undefined-bg w-12 h-12 rounded-full flex items-center justify-center mb-4"> | |
| <i data-feather="cpu" class="text-white"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Visual Debugger</h3> | |
| <p class="text-gray-300">See your code execute step-by-step with stunning visualizations.</p> | |
| </div> | |
| <div class="bg-gray-800 bg-opacity-50 backdrop-blur-sm p-6 rounded-xl transform transition-all duration-300 hover:-translate-y-2"> | |
| <div class="undefined-bg w-12 h-12 rounded-full flex items-center justify-center mb-4"> | |
| <i data-feather="sliders" class="text-white"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Custom Themes</h3> | |
| <p class="text-gray-300">Choose from dozens of beautiful color schemes for your code.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Initialize Vanta.js background | |
| VANTA.GLOBE({ | |
| el: "#vanta-bg", | |
| mouseControls: true, | |
| touchControls: true, | |
| gyroControls: false, | |
| minHeight: 200.00, | |
| minWidth: 200.00, | |
| scale: 1.00, | |
| scaleMobile: 1.00, | |
| color: 0x5e35b1, | |
| backgroundColor: 0x111827, | |
| size: 0.8 | |
| }); | |
| // Animation for code blocks | |
| document.querySelectorAll('.code-block').forEach((block, index) => { | |
| block.style.opacity = '0'; | |
| block.style.transform = 'translateY(20px)'; | |
| anime({ | |
| targets: block, | |
| opacity: 1, | |
| translateY: 0, | |
| delay: index * 100, | |
| duration: 800, | |
| easing: 'easeOutExpo' | |
| }); | |
| }); | |
| // Hover effect for buttons | |
| document.querySelectorAll('.btn-glow').forEach(btn => { | |
| btn.addEventListener('mouseenter', () => { | |
| anime({ | |
| targets: btn, | |
| boxShadow: ['0 0 0px rgba(100, 255, 218, 0)', '0 0 20px rgba(100, 255, 218, 0.6)'], | |
| duration: 300 | |
| }); | |
| }); | |
| btn.addEventListener('mouseleave', () => { | |
| anime({ | |
| targets: btn, | |
| boxShadow: ['0 0 20px rgba(100, 255, 218, 0.6)', '0 0 0px rgba(100, 255, 218, 0)'], | |
| duration: 300 | |
| }); | |
| }); | |
| }); | |
| // Initialize feather icons | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |