Add 3 files
Browse files- README.md +7 -5
- index.html +257 -19
- prompts.txt +1 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 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: mdl
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: red
|
| 5 |
+
colorTo: yellow
|
| 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,257 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>MDLov - Pixel Style Logo</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<style>
|
| 9 |
+
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
|
| 10 |
+
|
| 11 |
+
.pixel-font {
|
| 12 |
+
font-family: 'Press Start 2P', cursive;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
.logo-container {
|
| 16 |
+
width: 800px;
|
| 17 |
+
height: 200px;
|
| 18 |
+
background-color: #000;
|
| 19 |
+
position: relative;
|
| 20 |
+
overflow: hidden;
|
| 21 |
+
border: 8px solid #4a044e;
|
| 22 |
+
box-shadow: 0 0 20px rgba(186, 14, 72, 0.7);
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
.pixel {
|
| 26 |
+
position: absolute;
|
| 27 |
+
width: 10px;
|
| 28 |
+
height: 10px;
|
| 29 |
+
background-color: #ba0e48;
|
| 30 |
+
opacity: 0;
|
| 31 |
+
transition: opacity 0.3s, transform 0.3s;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
.heart-visualizer {
|
| 35 |
+
position: relative;
|
| 36 |
+
width: 60px;
|
| 37 |
+
height: 60px;
|
| 38 |
+
display: inline-block;
|
| 39 |
+
vertical-align: middle;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.heart {
|
| 43 |
+
position: absolute;
|
| 44 |
+
width: 60px;
|
| 45 |
+
height: 60px;
|
| 46 |
+
background-color: #ba0e48;
|
| 47 |
+
transform: rotate(45deg);
|
| 48 |
+
left: 0;
|
| 49 |
+
top: 0;
|
| 50 |
+
box-shadow: 0 0 15px rgba(186, 14, 72, 0.8);
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
.heart:before,
|
| 54 |
+
.heart:after {
|
| 55 |
+
content: '';
|
| 56 |
+
position: absolute;
|
| 57 |
+
width: 60px;
|
| 58 |
+
height: 60px;
|
| 59 |
+
background-color: #ba0e48;
|
| 60 |
+
border-radius: 50%;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.heart:before {
|
| 64 |
+
top: -30px;
|
| 65 |
+
left: 0;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
.heart:after {
|
| 69 |
+
top: 0;
|
| 70 |
+
left: -30px;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
.bar {
|
| 74 |
+
position: absolute;
|
| 75 |
+
bottom: 0;
|
| 76 |
+
background-color: #fff;
|
| 77 |
+
width: 4px;
|
| 78 |
+
transition: height 0.1s;
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
.glow {
|
| 82 |
+
text-shadow: 0 0 10px #ba0e48, 0 0 20px #ba0e48;
|
| 83 |
+
animation: flicker 2s infinite alternate;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
@keyframes flicker {
|
| 87 |
+
0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
|
| 88 |
+
text-shadow: 0 0 10px #ba0e48, 0 0 20px #ba0e48;
|
| 89 |
+
}
|
| 90 |
+
20%, 24%, 55% {
|
| 91 |
+
text-shadow: 0 0 5px #ba0e48, 0 0 10px #ba0e48;
|
| 92 |
+
}
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
.scanline {
|
| 96 |
+
position: absolute;
|
| 97 |
+
top: 0;
|
| 98 |
+
left: 0;
|
| 99 |
+
width: 100%;
|
| 100 |
+
height: 2px;
|
| 101 |
+
background: rgba(255, 255, 255, 0.1);
|
| 102 |
+
box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
|
| 103 |
+
animation: scan 8s linear infinite;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
@keyframes scan {
|
| 107 |
+
0% { top: 0; }
|
| 108 |
+
100% { top: 100%; }
|
| 109 |
+
}
|
| 110 |
+
</style>
|
| 111 |
+
</head>
|
| 112 |
+
<body class="bg-black flex items-center justify-center min-h-screen">
|
| 113 |
+
<div class="logo-container relative">
|
| 114 |
+
<!-- Scanline effect -->
|
| 115 |
+
<div class="scanline"></div>
|
| 116 |
+
|
| 117 |
+
<!-- Pixel particles that will animate -->
|
| 118 |
+
<div id="particles"></div>
|
| 119 |
+
|
| 120 |
+
<!-- Logo text -->
|
| 121 |
+
<div class="absolute inset-0 flex items-center justify-center">
|
| 122 |
+
<div class="text-center">
|
| 123 |
+
<span class="pixel-font text-6xl text-purple-800">MDL</span>
|
| 124 |
+
<div class="heart-visualizer inline-block mx-2" id="heartVisualizer">
|
| 125 |
+
<div class="heart"></div>
|
| 126 |
+
<div id="bars"></div>
|
| 127 |
+
</div>
|
| 128 |
+
<span class="pixel-font text-6xl text-purple-800 glow">v</span>
|
| 129 |
+
</div>
|
| 130 |
+
</div>
|
| 131 |
+
|
| 132 |
+
<!-- CRT screen effect -->
|
| 133 |
+
<div class="absolute inset-0 pointer-events-none" style="background:
|
| 134 |
+
linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
|
| 135 |
+
linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
|
| 136 |
+
background-size: 100% 4px, 6px 100%;
|
| 137 |
+
opacity: 0.7;"></div>
|
| 138 |
+
</div>
|
| 139 |
+
|
| 140 |
+
<!-- Audio element (hidden) -->
|
| 141 |
+
<audio id="audioElement" loop>
|
| 142 |
+
<source src="https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3" type="audio/mpeg">
|
| 143 |
+
</audio>
|
| 144 |
+
|
| 145 |
+
<script>
|
| 146 |
+
// Create audio context for visualizer
|
| 147 |
+
const audioContext = new (window.AudioContext || window.webkitAudioContext)();
|
| 148 |
+
let analyser, dataArray;
|
| 149 |
+
|
| 150 |
+
// Setup audio analyzer
|
| 151 |
+
function setupAudioAnalyzer() {
|
| 152 |
+
const audio = document.getElementById('audioElement');
|
| 153 |
+
const source = audioContext.createMediaElementSource(audio);
|
| 154 |
+
|
| 155 |
+
analyser = audioContext.createAnalyser();
|
| 156 |
+
analyser.fftSize = 64;
|
| 157 |
+
source.connect(analyser);
|
| 158 |
+
analyser.connect(audioContext.destination);
|
| 159 |
+
|
| 160 |
+
dataArray = new Uint8Array(analyser.frequencyBinCount);
|
| 161 |
+
|
| 162 |
+
// Start audio (muted by default to avoid sudden sounds)
|
| 163 |
+
audio.volume = 0.3;
|
| 164 |
+
audio.play().catch(e => console.log("Audio play failed:", e));
|
| 165 |
+
}
|
| 166 |
+
|
| 167 |
+
// Create visualizer bars
|
| 168 |
+
function createBars() {
|
| 169 |
+
const barsContainer = document.getElementById('bars');
|
| 170 |
+
const barCount = 16;
|
| 171 |
+
|
| 172 |
+
for (let i = 0; i < barCount; i++) {
|
| 173 |
+
const bar = document.createElement('div');
|
| 174 |
+
bar.className = 'bar';
|
| 175 |
+
bar.style.left = `${(i * 4) + 2}px`;
|
| 176 |
+
bar.style.height = '0px';
|
| 177 |
+
barsContainer.appendChild(bar);
|
| 178 |
+
}
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
// Animate visualizer
|
| 182 |
+
function animateVisualizer() {
|
| 183 |
+
if (!analyser) return;
|
| 184 |
+
|
| 185 |
+
analyser.getByteFrequencyData(dataArray);
|
| 186 |
+
const bars = document.querySelectorAll('.bar');
|
| 187 |
+
|
| 188 |
+
bars.forEach((bar, i) => {
|
| 189 |
+
const index = Math.floor(i * (dataArray.length / bars.length));
|
| 190 |
+
const value = dataArray[index] / 2;
|
| 191 |
+
bar.style.height = `${value}px`;
|
| 192 |
+
bar.style.backgroundColor = `hsl(${value + 300}, 100%, 50%)`;
|
| 193 |
+
});
|
| 194 |
+
|
| 195 |
+
// Create particles based on audio data
|
| 196 |
+
createParticles(dataArray);
|
| 197 |
+
|
| 198 |
+
requestAnimationFrame(animateVisualizer);
|
| 199 |
+
}
|
| 200 |
+
|
| 201 |
+
// Create pixel particles
|
| 202 |
+
function createParticles(data) {
|
| 203 |
+
const particlesContainer = document.getElementById('particles');
|
| 204 |
+
const intensity = data[10] / 255;
|
| 205 |
+
|
| 206 |
+
// Clear old particles
|
| 207 |
+
particlesContainer.innerHTML = '';
|
| 208 |
+
|
| 209 |
+
// Create new particles
|
| 210 |
+
const particleCount = Math.floor(intensity * 30);
|
| 211 |
+
|
| 212 |
+
for (let i = 0; i < particleCount; i++) {
|
| 213 |
+
const particle = document.createElement('div');
|
| 214 |
+
particle.className = 'pixel';
|
| 215 |
+
|
| 216 |
+
// Random position around the heart
|
| 217 |
+
const angle = Math.random() * Math.PI * 2;
|
| 218 |
+
const distance = 30 + Math.random() * 50;
|
| 219 |
+
const x = 400 + Math.cos(angle) * distance;
|
| 220 |
+
const y = 100 + Math.sin(angle) * distance;
|
| 221 |
+
|
| 222 |
+
particle.style.left = `${x}px`;
|
| 223 |
+
particle.style.top = `${y}px`;
|
| 224 |
+
particle.style.opacity = Math.random();
|
| 225 |
+
particle.style.transform = `scale(${0.5 + Math.random()})`;
|
| 226 |
+
particle.style.transitionDuration = `${0.5 + Math.random() * 2}s`;
|
| 227 |
+
|
| 228 |
+
// Random color variation
|
| 229 |
+
const colorVar = Math.floor(Math.random() * 30);
|
| 230 |
+
particle.style.backgroundColor = `rgb(${186 + colorVar}, ${14 + colorVar}, ${72 + colorVar})`;
|
| 231 |
+
|
| 232 |
+
particlesContainer.appendChild(particle);
|
| 233 |
+
|
| 234 |
+
// Animate particle
|
| 235 |
+
setTimeout(() => {
|
| 236 |
+
particle.style.opacity = 0;
|
| 237 |
+
particle.style.transform = `translate(${(Math.random() - 0.5) * 100}px, ${(Math.random() - 0.5) * 100}px) scale(0.2)`;
|
| 238 |
+
}, 10);
|
| 239 |
+
}
|
| 240 |
+
}
|
| 241 |
+
|
| 242 |
+
// Initialize everything
|
| 243 |
+
window.addEventListener('load', () => {
|
| 244 |
+
setupAudioAnalyzer();
|
| 245 |
+
createBars();
|
| 246 |
+
animateVisualizer();
|
| 247 |
+
|
| 248 |
+
// Add click to unmute
|
| 249 |
+
document.querySelector('.logo-container').addEventListener('click', () => {
|
| 250 |
+
const audio = document.getElementById('audioElement');
|
| 251 |
+
audio.volume = 0.3;
|
| 252 |
+
audio.play().catch(e => console.log("Audio play failed:", e));
|
| 253 |
+
});
|
| 254 |
+
});
|
| 255 |
+
</script>
|
| 256 |
+
<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=Diabolov/mdl" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 257 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
the logo is MDLov. in pixel style gives a nostalgic feel to it. the colors are purple black and red wine, 16:4 , the letter "o" in MDLov is a hear, vizualizer style with smooth movements and staic
|