Spaces:
Running
Running
File size: 26,253 Bytes
42a45ef |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The Farther Experience</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-20px); }
}
@keyframes shake {
0% { transform: rotate(0deg); }
25% { transform: rotate(5deg); }
50% { transform: rotate(0deg); }
75% { transform: rotate(-5deg); }
100% { transform: rotate(0deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.fart-cloud {
opacity: 0;
transition: all 1s ease-out;
}
.active-fart {
opacity: 1;
transform: scale(1.5);
}
.fart-button:hover {
animation: shake 0.5s infinite;
}
.spinning {
animation: spin 2s linear infinite;
}
.floating {
animation: float 3s ease-in-out infinite;
}
#fartCounter {
transition: all 0.3s;
}
.counter-pop {
transform: scale(1.2);
color: #ff0000;
}
.rainbow-text {
background-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.fart-zone {
background: repeating-linear-gradient(
45deg,
#f0fff0,
#f0fff0 10px,
#e0ffe0 10px,
#e0ffe0 20px
);
}
</style>
</head>
<body class="bg-green-50 fart-zone min-h-screen flex flex-col items-center justify-center p-4">
<div class="max-w-4xl w-full bg-white rounded-xl shadow-2xl overflow-hidden">
<!-- Header -->
<div class="bg-green-800 p-6 text-center relative overflow-hidden">
<div class="absolute top-0 left-0 w-full h-full opacity-20">
<div class="fart-cloud absolute w-20 h-20 bg-yellow-100 rounded-full top-10 left-1/4"></div>
<div class="fart-cloud absolute w-24 h-24 bg-yellow-100 rounded-full top-20 right-1/3"></div>
<div class="fart-cloud absolute w-16 h-16 bg-yellow-100 rounded-full bottom-10 left-1/2"></div>
</div>
<h1 class="text-5xl font-bold text-white mb-2 rainbow-text">The Farther</h1>
<p class="text-yellow-200 italic">"Going the distance... one toot at a time"</p>
</div>
<!-- Main Content -->
<div class="p-8">
<div class="flex flex-col md:flex-row gap-8 items-center">
<!-- Fart Character -->
<div class="relative flex-1 flex justify-center">
<div class="relative">
<img src="https://i.imgur.com/JQl1E7W.png" alt="Farther character" class="w-64 h-64 floating" id="fartCharacter">
<div class="fart-cloud absolute top-0 left-0 w-32 h-32 bg-yellow-100 rounded-full opacity-0" id="fartCloud1"></div>
<div class="fart-cloud absolute top-10 right-0 w-24 h-24 bg-yellow-100 rounded-full opacity-0" id="fartCloud2"></div>
<div class="fart-cloud absolute bottom-0 left-1/4 w-28 h-28 bg-yellow-100 rounded-full opacity-0" id="fartCloud3"></div>
</div>
</div>
<!-- Controls -->
<div class="flex-1 space-y-6">
<div class="bg-yellow-100 p-6 rounded-lg border-2 border-yellow-300">
<h2 class="text-2xl font-bold text-green-800 mb-4">Fart Control Panel</h2>
<div class="mb-6">
<div class="flex justify-between items-center mb-2">
<span class="font-medium text-green-700">Fart Intensity:</span>
<span id="intensityValue" class="font-bold text-green-900">Medium</span>
</div>
<input type="range" min="1" max="5" value="3" class="w-full h-4 bg-green-200 rounded-lg appearance-none cursor-pointer" id="intensitySlider">
<div class="flex justify-between text-xs text-green-600 mt-1">
<span>Whisper</span>
<span>Medium</span>
<span>Earthquake</span>
</div>
</div>
<div class="mb-6">
<div class="flex justify-between items-center mb-2">
<span class="font-medium text-green-700">Fart Type:</span>
<span id="typeValue" class="font-bold text-green-900">Classic</span>
</div>
<div class="grid grid-cols-3 gap-2">
<button class="fart-type-btn py-2 px-3 bg-green-100 hover:bg-green-200 border border-green-300 rounded" data-type="classic">Classic</button>
<button class="fart-type-btn py-2 px-3 bg-green-100 hover:bg-green-200 border border-green-300 rounded" data-type="squeaker">Squeaker</button>
<button class="fart-type-btn py-2 px-3 bg-green-100 hover:bg-green-200 border border-green-300 rounded" data-type="bass">Bass</button>
<button class="fart-type-btn py-2 px-3 bg-green-100 hover:bg-green-200 border border-green-300 rounded" data-type="ripper">Ripper</button>
<button class="fart-type-btn py-2 px-3 bg-green-100 hover:bg-green-200 border border-green-300 rounded" data-type="mystery">Mystery</button>
<button class="fart-type-btn py-2 px-3 bg-green-100 hover:bg-green-200 border border-green-300 rounded" data-type="silent">Silent</button>
</div>
</div>
<div class="flex justify-center">
<button id="fartButton" class="fart-button py-4 px-8 bg-red-500 hover:bg-red-600 text-white font-bold rounded-full text-xl transition-all transform hover:scale-110">
<i class="fas fa-wind mr-2"></i> RELEASE THE FART
</button>
</div>
</div>
</div>
</div>
<!-- Stats -->
<div class="mt-12 bg-gray-100 p-6 rounded-lg border border-gray-200">
<h2 class="text-2xl font-bold text-gray-800 mb-4">Fart Statistics</h2>
<div class="grid grid-cols-2 md:grid-cols-4 gap-4 text-center">
<div class="bg-white p-4 rounded-lg shadow">
<div class="text-4xl font-bold text-green-600" id="fartCounter">0</div>
<div class="text-gray-600">Total Farts</div>
</div>
<div class="bg-white p-4 rounded-lg shadow">
<div class="text-4xl font-bold text-blue-600" id="powerLevel">0</div>
<div class="text-gray-600">Power Level</div>
</div>
<div class="bg-white p-4 rounded-lg shadow">
<div class="text-4xl font-bold text-purple-600" id="distance">0</div>
<div class="text-gray-600">Distance (ft)</div>
</div>
<div class="bg-white p-4 rounded-lg shadow">
<div class="text-4xl font-bold text-red-600" id="clearance">100%</div>
<div class="text-gray-600">Air Clearance</div>
</div>
</div>
</div>
<!-- Achievements -->
<div class="mt-8">
<h2 class="text-2xl font-bold text-gray-800 mb-4">Fart Achievements</h2>
<div class="grid grid-cols-2 md:grid-cols-3 gap-4" id="achievements">
<div class="bg-yellow-50 border border-yellow-200 p-3 rounded-lg opacity-50 achievement" data-count="1">
<div class="flex items-center">
<div class="bg-yellow-100 p-2 rounded-full mr-3">
<i class="fas fa-medal text-yellow-500"></i>
</div>
<div>
<h3 class="font-bold">First Toot</h3>
<p class="text-sm text-gray-600">Release your first fart</p>
</div>
</div>
</div>
<div class="bg-yellow-50 border border-yellow-200 p-3 rounded-lg opacity-50 achievement" data-count="5">
<div class="flex items-center">
<div class="bg-yellow-100 p-2 rounded-full mr-3">
<i class="fas fa-biohazard text-green-500"></i>
</div>
<div>
<h3 class="font-bold">Gas Chamber</h3>
<p class="text-sm text-gray-600">5 farts released</p>
</div>
</div>
</div>
<div class="bg-yellow-50 border border-yellow-200 p-3 rounded-lg opacity-50 achievement" data-count="10">
<div class="flex items-center">
<div class="bg-yellow-100 p-2 rounded-full mr-3">
<i class="fas fa-cloud-meatball text-red-500"></i>
</div>
<div>
<h3 class="font-bold">Toxic Cloud</h3>
<p class="text-sm text-gray-600">10 farts released</p>
</div>
</div>
</div>
<div class="bg-yellow-50 border border-yellow-200 p-3 rounded-lg opacity-50 achievement" data-count="25">
<div class="flex items-center">
<div class="bg-yellow-100 p-2 rounded-full mr-3">
<i class="fas fa-skull-crossbones text-purple-500"></i>
</div>
<div>
<h3 class="font-bold">Biological Hazard</h3>
<p class="text-sm text-gray-600">25 farts released</p>
</div>
</div>
</div>
<div class="bg-yellow-50 border border-yellow-200 p-3 rounded-lg opacity-50 achievement" data-count="50">
<div class="flex items-center">
<div class="bg-yellow-100 p-2 rounded-full mr-3">
<i class="fas fa-atom text-blue-500"></i>
</div>
<div>
<h3 class="font-bold">Nuclear Winter</h3>
<p class="text-sm text-gray-600">50 farts released</p>
</div>
</div>
</div>
<div class="bg-yellow-50 border border-yellow-200 p-3 rounded-lg opacity-50 achievement" data-count="100">
<div class="flex items-center">
<div class="bg-yellow-100 p-2 rounded-full mr-3">
<i class="fas fa-meteor text-orange-500"></i>
</div>
<div>
<h3 class="font-bold">Extinction Event</h3>
<p class="text-sm text-gray-600">100 farts released</p>
</div>
</div>
</div>
</div>
</div>
<!-- Fart Science -->
<div class="mt-12 bg-blue-50 p-6 rounded-lg border border-blue-200">
<h2 class="text-2xl font-bold text-blue-800 mb-4">Fart Science Corner</h2>
<div class="space-y-4">
<div class="bg-white p-4 rounded-lg shadow">
<h3 class="font-bold text-blue-700 mb-2">Did you know?</h3>
<p class="text-gray-700">The average person passes gas between 13-21 times a day. That's enough to fill a small balloon!</p>
</div>
<div class="bg-white p-4 rounded-lg shadow">
<h3 class="font-bold text-blue-700 mb-2">Fart Facts</h3>
<ul class="list-disc pl-5 text-gray-700 space-y-1">
<li>Farts are composed of about 59% nitrogen, 21% hydrogen, 9% carbon dioxide, 7% methane, and 4% oxygen</li>
<li>The speed of a fart is about 10 feet per second (3 meters per second)</li>
<li>Termites produce more methane (from farting) than cows and other animals</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Footer -->
<div class="bg-green-900 p-4 text-center text-green-200 text-sm">
<p>The Farther Experience © 2023 | Warning: Excessive farting may cause social distancing</p>
</div>
</div>
<!-- Audio Elements -->
<audio id="fartSound1" src="https://www.soundjay.com/human/sounds/fart-01.mp3" preload="auto"></audio>
<audio id="fartSound2" src="https://www.soundjay.com/human/sounds/fart-02.mp3" preload="auto"></audio>
<audio id="fartSound3" src="https://www.soundjay.com/human/sounds/fart-03.mp3" preload="auto"></audio>
<audio id="fartSound4" src="https://www.soundjay.com/human/sounds/fart-04.mp3" preload="auto"></audio>
<audio id="fartSound5" src="https://www.soundjay.com/human/sounds/fart-05.mp3" preload="auto"></audio>
<audio id="fartSound6" src="https://www.soundjay.com/human/sounds/fart-06.mp3" preload="auto"></audio>
<script>
document.addEventListener('DOMContentLoaded', function() {
// DOM Elements
const fartButton = document.getElementById('fartButton');
const fartCharacter = document.getElementById('fartCharacter');
const fartCloud1 = document.getElementById('fartCloud1');
const fartCloud2 = document.getElementById('fartCloud2');
const fartCloud3 = document.getElementById('fartCloud3');
const intensitySlider = document.getElementById('intensitySlider');
const intensityValue = document.getElementById('intensityValue');
const typeValue = document.getElementById('typeValue');
const fartCounter = document.getElementById('fartCounter');
const powerLevel = document.getElementById('powerLevel');
const distance = document.getElementById('distance');
const clearance = document.getElementById('clearance');
const achievements = document.querySelectorAll('.achievement');
// Audio Elements
const fartSounds = [
document.getElementById('fartSound1'),
document.getElementById('fartSound2'),
document.getElementById('fartSound3'),
document.getElementById('fartSound4'),
document.getElementById('fartSound5'),
document.getElementById('fartSound6')
];
// Game State
let fartCount = 0;
let currentIntensity = 3;
let currentType = 'classic';
let power = 0;
let totalDistance = 0;
let airClearance = 100;
// Intensity Slider
intensitySlider.addEventListener('input', function() {
currentIntensity = parseInt(this.value);
const intensityLabels = ['Whisper', 'Gentle', 'Medium', 'Strong', 'Earthquake'];
intensityValue.textContent = intensityLabels[currentIntensity - 1];
});
// Fart Type Buttons
document.querySelectorAll('.fart-type-btn').forEach(button => {
button.addEventListener('click', function() {
currentType = this.dataset.type;
typeValue.textContent = this.textContent;
// Update active button
document.querySelectorAll('.fart-type-btn').forEach(btn => {
btn.classList.remove('bg-green-300', 'border-green-500');
});
this.classList.add('bg-green-300', 'border-green-500');
});
});
// Fart Button
fartButton.addEventListener('click', function() {
// Play fart sound based on type
playFartSound();
// Show fart clouds
showFartClouds();
// Update counters
updateCounters();
// Check achievements
checkAchievements();
// Animate character
animateCharacter();
});
function playFartSound() {
let soundIndex;
let volume = currentIntensity / 5;
switch(currentType) {
case 'squeaker':
soundIndex = 1; // High pitch
break;
case 'bass':
soundIndex = 2; // Low pitch
break;
case 'ripper':
soundIndex = 3; // Long
break;
case 'mystery':
soundIndex = Math.floor(Math.random() * fartSounds.length);
break;
case 'silent':
volume = 0.1; // Almost silent
soundIndex = 4;
break;
default: // classic
soundIndex = 0;
}
// Play sound
const sound = fartSounds[soundIndex].cloneNode();
sound.volume = volume;
sound.play();
}
function showFartClouds() {
// Reset clouds
fartCloud1.classList.remove('active-fart');
fartCloud2.classList.remove('active-fart');
fartCloud3.classList.remove('active-fart');
// Trigger reflow
void fartCloud1.offsetWidth;
// Activate clouds with delay
setTimeout(() => {
fartCloud1.classList.add('active-fart');
}, 100);
setTimeout(() => {
fartCloud2.classList.add('active-fart');
}, 300);
setTimeout(() => {
fartCloud3.classList.add('active-fart');
}, 500);
// Remove clouds after animation
setTimeout(() => {
fartCloud1.classList.remove('active-fart');
fartCloud2.classList.remove('active-fart');
fartCloud3.classList.remove('active-fart');
}, 2000);
}
function updateCounters() {
// Increment fart count
fartCount++;
fartCounter.textContent = fartCount;
// Animate counter
fartCounter.classList.add('counter-pop');
setTimeout(() => {
fartCounter.classList.remove('counter-pop');
}, 300);
// Calculate power (intensity * type multiplier)
let typeMultiplier = 1;
if (currentType === 'bass') typeMultiplier = 1.5;
if (currentType === 'ripper') typeMultiplier = 2;
if (currentType === 'mystery') typeMultiplier = Math.random() * 3;
power += currentIntensity * typeMultiplier;
powerLevel.textContent = Math.round(power);
// Calculate distance (random based on intensity)
totalDistance += Math.random() * currentIntensity * 5;
distance.textContent = Math.round(totalDistance);
// Decrease air clearance
airClearance = Math.max(0, airClearance - (currentIntensity * 2));
clearance.textContent = airClearance + '%';
// Change clearance color based on level
if (airClearance < 30) {
clearance.classList.add('text-red-600');
clearance.classList.remove('text-yellow-600', 'text-green-600');
} else if (airClearance < 70) {
clearance.classList.add('text-yellow-600');
clearance.classList.remove('text-red-600', 'text-green-600');
} else {
clearance.classList.add('text-green-600');
clearance.classList.remove('text-red-600', 'text-yellow-600');
}
}
function checkAchievements() {
achievements.forEach(achievement => {
const requiredCount = parseInt(achievement.dataset.count);
if (fartCount >= requiredCount) {
achievement.classList.remove('opacity-50');
}
});
}
function animateCharacter() {
// Add animation class
fartCharacter.classList.add('spinning');
// Remove after animation
setTimeout(() => {
fartCharacter.classList.remove('spinning');
}, 1000);
// Change face based on intensity
const faceUrls = [
'https://i.imgur.com/JQl1E7W.png', // normal
'https://i.imgur.com/3QmZr7P.png', // happy
'https://i.imgur.com/8zLXq7G.png', // strain
'https://i.imgur.com/VvV4Z9h.png' // relief
];
// Strain face during fart
fartCharacter.src = faceUrls[2];
// Return to normal or happy face after
setTimeout(() => {
fartCharacter.src = Math.random() > 0.5 ? faceUrls[1] : faceUrls[0];
}, 800);
// Sometimes show relief face
if (Math.random() > 0.7) {
setTimeout(() => {
fartCharacter.src = faceUrls[3];
}, 1200);
setTimeout(() => {
fartCharacter.src = faceUrls[0];
}, 2000);
}
}
// Easter egg - keyboard controls
document.addEventListener('keydown', function(e) {
if (e.code === 'Space') {
e.preventDefault();
fartButton.click();
fartButton.classList.add('animate-ping');
setTimeout(() => {
fartButton.classList.remove('animate-ping');
}, 300);
}
// Secret turbo mode
if (e.code === 'KeyT' && e.ctrlKey) {
alert('Turbo fart mode activated! Hold space to rapid fire!');
document.addEventListener('keydown', turboFart);
document.addEventListener('keyup', stopTurboFart);
}
});
let turboInterval;
function turboFart(e) {
if (e.code === 'Space' && !turboInterval) {
turboInterval = setInterval(() => {
fartButton.click();
}, 200);
}
}
function stopTurboFart() {
clearInterval(turboInterval);
turboInterval = null;
}
// Initialize
document.querySelector('.fart-type-btn[data-type="classic"]').classList.add('bg-green-300', 'border-green-500');
});
</script>
<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=Boobs00/raspberry-fart" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |