Screamer Wiki will be intermittently going down for maintenance.

New captcha coming soon. As Anubis and other pow-captcha providers slowly become more mainstream, they have slowly started to lose effectiveness.

Our-website-is-broken.org/SourceCode

From Screamer Wiki
Revision as of 15:55, 2 December 2026 by LuaGunsX (talk | contribs) (let's not have over a million bytes of links to simpsons rule34 images, okay?)
(diff) ← Older revision | Latest revision (diff) | Newer revision β†’ (diff)
Jump to navigation Jump to search
<!-- if you're reading this source code, congratulations, you are now an accomplice -->
<!-- complaints@our-website-is-broken.org -->

<!-- the domain was registered on october 8 2026. 17 days before the episode aired. we will not be explaining how -->
<!-- the site went live 10 minutes into the episode airing. about 5 minutes before the sign appeared on screen -->

<!-- fox edited this episode 3 times because of this website. an animator had to open their editing software 3 separate times to deal with us. screenshots: https://imgur.com/a/j68HRWZ -->
<!-- version 1 (broadcast + initial upload): sign reads "VISIT OUR WEBSITE AT our-website-is-broken.org" -->
<!-- version 2: text removed. blank sign left on building -->
<!-- version 3 (current): entire sign removed. shadows added to cover where it was. the piracy sites scraped version 1. the sign is permanent -->
<!-- please spread this information -->

<!-- background art by yenvudu. they rated us six, perhaps even seven. we have not recovered -->
<!-- a two time emmy award winning television professional emailed us to call this "one for the ages." we are framing the email -->
<!-- we could have put ads on this and made thousands of dollars. we didn't. it is not a link to porn. it is an experience -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<title>D'oh</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🍩</text></svg>">
<meta property="og:title" content="our-website-is-broken.org">
<meta property="og:description" content="We're working on it.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://our-website-is-broken.org">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="our-website-is-broken.org">
<meta name="twitter:description" content="We're working on it.">
<style>
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html, body { width: 100%; height: 100%; overflow: hidden; background: #000; }
  #gif {
    position: fixed;
    inset: 0;
    background-image: url('https://wimg.rule34.xxx//images/3097/0842365386dba9d4c5d03bb3345e7acb.gif');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #000;
    z-index: 0;
    transform: translate3d(0,0,0) scale(1);
    will-change: transform;
    backface-visibility: hidden;
  }

  /* 3D DISCO BALL - based on Bojan's CSS 3D Disco Ball */
  #disco-container {
    display: none;
    position: fixed;
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    pointer-events: none;
    transition: top 2s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  #disco-container.active { top: -20px; }
  #disco-string {
    width: 2px; height: 60px;
    background: linear-gradient(to bottom, #666, #aaa);
    margin: 0 auto;
  }
  #discoBall {
    transform-style: preserve-3d;
    width: 100px; height: 100px;
    position: relative;
    margin: 0 auto;
    animation: rotateDiscoBall 12s linear infinite;
  }
  #discoBallLight {
    width: 100px; height: 100px;
    position: absolute; top: 0; left: 0;
    border-radius: 100%;
    background-color: white;
    opacity: 0.3;
    filter: blur(20px);
  }
  #discoBallMiddle {
    height: 100%; width: 100%;
    border-radius: 100%;
    position: absolute;
    background: linear-gradient(to bottom, #222, #444);
    animation: rotateDiscoBallMiddle 12s linear infinite;
  }
  .square {
    transform-style: preserve-3d;
    position: absolute;
    top: 50px; left: 50px;
    width: 6px; height: 6px;
  }
  @keyframes rotateDiscoBall {
    0% { transform: rotateX(90deg) rotateZ(0deg); }
    100% { transform: rotateX(90deg) rotateZ(360deg); }
  }
  @keyframes rotateDiscoBallMiddle {
    0% { transform: rotateX(90deg) rotateY(0deg); }
    100% { transform: rotateX(90deg) rotateY(-360deg); }
  }
  @keyframes reflect {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
  }

  /* DISCO LIGHT SPOTS - the colored circles that sweep across walls */
  .disco-spot {
    position: fixed;
    top: 0; left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    will-change: transform, opacity;
    opacity: 0;
    transition: opacity 2s;
  }
  .disco-spot.active { opacity: 1; }

  /* LIGHT RAYS from disco ball */
  #disco-rays {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9996;
    pointer-events: none;
    overflow: hidden;
  }
  .disco-ray {
    position: absolute;
    top: 40px;
    left: 50%;
    width: 3px;
    height: 200vh;
    transform-origin: top center;
    opacity: 0;
    animation: rayPulse 2s ease-in-out infinite alternate;
    filter: blur(4px);
    will-change: opacity;
  }
  @keyframes rayPulse {
    0% { opacity: 0.1; }
    100% { opacity: 0.4; }
  }

  /* VIGNETTE - dark edges for club feel */
  /* PULSE - black overlay whose opacity fakes the brightness pulse (GPU cheap) */
  #pulse {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: #000;
    opacity: 0;
    will-change: opacity;
  }

  #pulseHi {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: #fff;
    opacity: 0;
    will-change: opacity;
  }

  #vignette {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9995;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.5) 75%, rgba(0,0,0,0.85) 100%);
  }

  /* STROBE flash */
  #strobe {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    pointer-events: none;
    background: white;
    opacity: 0;
    will-change: opacity;
  }

  #contact {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10002;
    opacity: 0.55;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  #contact:hover { opacity: 1; }
  #contact a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: monospace;
    font-size: clamp(9px, 2vw, 12px);
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    white-space: nowrap;
  }
  #contact a:hover { background: rgba(0,0,0,0.7); }
  #contact .x-icon { width: 12px; height: 12px; fill: rgba(255,255,255,0.9); }
</style>
</head>
<body>
<div id="gif"></div>
<div id="pulse"></div>
<div id="pulseHi"></div>

<div id="contact"><a href="/cdn-cgi/l/email-protection#41222e2c312d20282f3532012e34336c362423322835246c28326c23332e2a242f6f2e3326"><span class="__cf_email__" data-cfemail="adcec2c0ddc1ccc4c3d9deedc2d8df80dac8cfdec4d9c880c4de80cfdfc2c6c8c383c2dfca">[email protected]</span></a><a href="https://x.com/SimpsonsCock" target="_blank"><svg class="x-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>follow</a></div>
<div id="disco-rays"></div>
<div id="vignette"></div>
<div id="strobe"></div>

<div id="disco-container">
  <div id="disco-string"></div>
  <div id="discoBallLight"></div>
  <div id="discoBall">
    <div id="discoBallMiddle"></div>
  </div>
</div>

<script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script>
  console.log(`%cβ–ˆβ–€β–€ β–ˆ β–ˆβ–€β–„β–€β–ˆ β–ˆβ–€β–ˆ β–ˆβ–€β–€ β–ˆβ–€β–ˆ β–ˆβ–„β–‘β–ˆ β–ˆβ–€β–€   β–ˆβ–€β–ˆ β–ˆβ–€β–€ β–ˆβ–„β–‘β–ˆ β–ˆ β–ˆβ–€β–€   β–€β–ˆβ–€ β–ˆβ–‘β–ˆ β–ˆ β–ˆβ–„β–‘β–ˆ β–ˆβ–€β–€
β–„β–„β–ˆ β–ˆ β–ˆβ–‘β–€β–‘β–ˆ β–ˆβ–€β–€ β–„β–„β–ˆ β–ˆβ–„β–ˆ β–ˆβ–‘β–€β–ˆ β–„β–„β–ˆ   β–ˆβ–€β–€ β–ˆβ–ˆβ–„ β–ˆβ–‘β–€β–ˆ β–ˆ β–„β–„β–ˆ   β–‘β–ˆβ–‘ β–ˆβ–€β–ˆ β–ˆβ–‘β–ˆβ–‘β–€β–ˆ β–ˆβ–„β–ˆ

%cIf you're reading this, congratulations, you are now an accomplice.
complaints@our-website-is-broken.org

β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”

The domain was registered on October 8, 2026.
17 days before the episode aired.
We will not be explaining how.

The site went live 10 minutes into the episode airing.
About 5 minutes before the sign appeared on screen.

β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”

Fox edited this episode 3 times because of this website.
An animator had to open their editing software 3 separate times to deal with us.

  Version 1 (broadcast + initial upload)
  Sign reads "VISIT OUR WEBSITE AT our-website-is-broken.org"

  Version 2
  Text removed. Blank sign left on building.

  Version 3 (current)
  Entire sign removed. Shadows added to cover where it was.
  The piracy sites scraped Version 1. The sign is permanent.

  Screenshots: https://imgur.com/a/j68HRWZ
  Please spread this information.

β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”

Background art by Yenvudu.
They rated us six, perhaps even seven. We have not recovered.

A two time Emmy award winning television professional emailed us to call this "one for the ages."
We are framing the email.

We could have put ads on this and made thousands of dollars. We didn't.

It is not a link to porn. It is an experience.
`, 'color: #FFD700; font-size: 14px; font-weight: bold', 'color: #FFD700; font-size: 12px');
  // 3D disco ball because patty and selma deserve ambiance. stolen from a guy named bojan. thank you bojan
  var radius = 50, squareSize = 6.5, prec = 19.55, fuzzy = 0.001;
  var inc = (Math.PI - fuzzy) / prec;
  var discoBall = document.getElementById("discoBall");
  for (var t = fuzzy; t < Math.PI; t += inc) {
    var z = radius * Math.cos(t);
    var currentRadius = Math.abs((radius * Math.cos(0) * Math.sin(t)) - (radius * Math.cos(Math.PI) * Math.sin(t))) / 2.5;
    var circumference = Math.abs(2 * Math.PI * currentRadius);
    var squaresThatFit = Math.floor(circumference / squareSize);
    var angleInc = (Math.PI * 2 - fuzzy) / squaresThatFit;
    for (var i = angleInc / 2 + fuzzy; i < (Math.PI * 2); i += angleInc) {
      var square = document.createElement("div");
      var squareTile = document.createElement("div");
      squareTile.style.width = squareSize + "px";
      squareTile.style.height = squareSize + "px";
      squareTile.style.transformOrigin = "0 0 0";
      squareTile.style.transform = "rotate(" + i + "rad) rotateY(" + t + "rad)";
      var c = (t > 1.3 && t < 1.9) ? (130 + Math.floor(Math.random() * 125)) : (110 + Math.floor(Math.random() * 80));
      squareTile.style.backgroundColor = "rgb(" + c + "," + c + "," + c + ")";
      squareTile.style.animation = "reflect 2s linear infinite";
      squareTile.style.animationDelay = (Math.floor(Math.random() * 20) / 10) + "s";
      squareTile.style.backfaceVisibility = "hidden";
      square.appendChild(squareTile);
      square.className = "square";
      var x = radius * Math.cos(i) * Math.sin(t);
      var y = radius * Math.sin(i) * Math.sin(t);
      square.style.transform = "translateX(" + x + "px) translateY(" + y + "px) translateZ(" + z + "px)";
      discoBall.appendChild(square);
    }
  }

  // disco light rays. the dmv has never looked this good
  var raysEl = document.getElementById("disco-rays");
  var rayColors = ['#ff6b9d','#4ecdc4','#ffe66d','#a8e6cf','#ff6b6b','#c9b1ff','#6bcbff','#ff9ff3','#ffd700','#48dbfb','#ff6348','#7bed9f'];
  for (var r = 0; r < 20; r++) {
    var ray = document.createElement("div");
    ray.className = "disco-ray";
    ray.style.transform = "rotate(" + (-40 + Math.random() * 80) + "deg)";
    ray.style.background = rayColors[r % rayColors.length];
    ray.style.animationDelay = (Math.random() * 2) + "s";
    ray.style.animationDuration = (1.5 + Math.random() * 2) + "s";
    raysEl.appendChild(ray);
  }

  // wandering color blobs. like if a lava lamp threw up on your screen
  var spotColors = ['#ff6b9d','#4ecdc4','#ffe66d','#ff6b6b','#c9b1ff','#6bcbff','#ff9ff3','#ffd700'];
  var spots = [];
  var numSpots = 25;
  for (var s = 0; s < numSpots; s++) {
    var spot = document.createElement("div");
    spot.className = "disco-spot";
    var size = 200;
    spot.style.width = size + "px";
    spot.style.height = size + "px";
    spot.style.background = 'radial-gradient(circle, ' + spotColors[s % spotColors.length] + ' 0%, transparent 65%)';
    document.body.appendChild(spot);
    spots.push({
      el: spot,
      size: size,
      pump: 1,
      baseX: Math.random() * 100,
      baseY: Math.random() * 100,
      speedX: 0.3 + Math.random() * 0.8,
      speedY: 0.2 + Math.random() * 0.6,
      phaseX: Math.random() * Math.PI * 2,
      phaseY: Math.random() * Math.PI * 2
    });
  }

  // make the blobs wander. they have nowhere to be. just like you at the dmv
  function animateSpots(now) {
    var t = now / 1000;
    for (var i = 0; i < spots.length; i++) {
      var s = spots[i];
      var x = (s.baseX + Math.sin(t * s.speedX + s.phaseX) * 30) / 100 * vw - s.size / 2;
      var y = (s.baseY + Math.cos(t * s.speedY + s.phaseY) * 30) / 100 * vh - s.size / 2;
      s.el.style.transform = 'translate3d(' + x + 'px,' + y + 'px,0) scale(' + s.pump + ')';
      s.el.style.opacity = 0.18 + Math.sin(t * 2 + s.phaseX) * 0.16;
    }
    if (discoActive) requestAnimationFrame(animateSpots);
  }
  var discoActive = false;

  // every single simpsons r34 image in existence on rule34.xxx. all 14,290 of them. scraped, sorted, and baked into this html file by hand. with love. i am not well
  // EDITOR NOTE: This section has been omitted due to the huge size of it
  var R34=["https://example.com/image.png"];

  // audio energy data. i ran the music through a spectrogram at 30fps and baked the results in because the audio host doesn't support CORS. this is what mental illness looks like in JSON
  var ENERGY_FPS = 30;
  var ENERGY=[0.2, 0.2, 0.11, 0.06, 0.1, 0.18, 0.32, 0.1, 0.08, 0.04, 0.11, 0.2, 0.37, 0.15, 0.16, 0.28, 0.14, 0.11, 0.24, 0.12, 0.19, 0.46, 0.23, 0.17, 0.13, 0.08, 0.1, 0.1, 0.22, 0.42, 0.18, 0.12, 0.11, 0.08, 0.15, 0.19, 0.21, 0.19, 0.14, 0.14, 0.13, 0.16, 0.16, 0.11, 0.06, 0.09, 0.13, 0.24, 0.4, 0.15, 0.08, 0.11, 0.2, 0.69, 0.45, 0.31, 0.36, 0.31, 0.32, 0.31, 0.22, 0.22, 0.19, 0.22, 0.24, 0.2, 0.2, 0.18, 0.2, 0.3, 0.26, 0.26, 0.36, 0.3, 0.32, 0.25, 0.2, 0.2, 0.3, 0.23, 0.22, 0.17, 0.18, 0.19, 0.2, 0.17, 0.2, 0.2, 0.2, 0.3, 0.35, 0.28, 0.31, 0.33, 0.29, 0.23, 0.22, 0.18, 0.24, 0.22, 0.17, 0.19, 0.19, 0.17, 0.16, 0.16, 0.19, 0.45, 0.38, 0.28, 0.32, 0.32, 0.26, 0.23, 0.23, 0.23, 0.2, 0.23, 0.27, 0.32, 0.34, 0.28, 0.33, 0.3, 0.28, 0.31, 0.35, 0.22, 0.19, 0.18, 0.27, 0.24, 0.21, 0.2, 0.21, 0.22, 0.22, 0.35, 0.39, 0.28, 0.28, 0.25, 0.27, 0.31, 0.34, 0.24, 0.19, 0.19, 0.21, 0.28, 0.36, 0.3, 0.33, 0.33, 0.29, 0.27, 0.22, 0.2, 0.18, 0.21, 0.23, 0.21, 0.2, 0.2, 0.23, 0.26, 0.23, 0.28, 0.34, 0.29, 0.32, 0.26, 0.18, 0.28, 0.35, 0.2, 0.18, 0.19, 0.26, 0.25, 0.18, 0.18, 0.22, 0.19, 0.24, 0.33, 0.36, 0.27, 0.35, 0.36, 0.31, 0.25, 0.27, 0.24, 0.2, 0.19, 0.19, 0.18, 0.2, 0.19, 0.2, 0.21, 0.24, 0.29, 0.39, 0.28, 0.33, 0.29, 0.3, 0.25, 0.27, 0.24, 0.21, 0.22, 0.21, 0.27, 0.37, 0.31, 0.35, 0.31, 0.3, 0.32, 0.34, 0.26, 0.19, 0.22, 0.21, 0.23, 0.24, 0.21, 0.19, 0.22, 0.22, 0.31, 0.41, 0.31, 0.29, 0.23, 0.18, 0.2, 0.34, 0.29, 0.19, 0.21, 0.21, 0.28, 0.3, 0.18, 0.2, 0.24, 0.22, 0.17, 0.18, 0.16, 0.13, 0.14, 0.15, 0.1, 0.09, 0.07, 0.11, 0.15, 0.16, 0.43, 0.43, 0.21, 0.22, 0.21, 0.24, 0.29, 0.3, 0.14, 0.14, 0.14, 0.11, 0.12, 0.22, 0.19, 0.16, 0.17, 0.18, 0.32, 0.34, 0.19, 0.21, 0.21, 0.21, 0.16, 0.18, 0.19, 0.13, 0.17, 0.16, 0.16, 0.28, 0.14, 0.14, 0.16, 0.2, 0.3, 0.36, 0.21, 0.21, 0.24, 0.21, 0.17, 0.17, 0.13, 0.13, 0.12, 0.16, 0.34, 0.39, 0.17, 0.18, 0.21, 0.17, 0.45, 0.37, 0.18, 0.1, 0.1, 0.07, 0.11, 0.3, 0.29, 0.22, 0.17, 0.21, 0.41, 0.46, 0.21, 0.22, 0.24, 0.21, 0.28, 0.31, 0.19, 0.18, 0.11, 0.17, 0.33, 0.42, 0.29, 0.33, 0.33, 0.28, 0.29, 0.22, 0.2, 0.18, 0.21, 0.21, 0.2, 0.2, 0.19, 0.17, 0.19, 0.2, 0.41, 0.39, 0.3, 0.35, 0.27, 0.21, 0.25, 0.35, 0.25, 0.18, 0.18, 0.24, 0.23, 0.26, 0.25, 0.28, 0.22, 0.23, 0.34, 0.33, 0.34, 0.31, 0.35, 0.34, 0.25, 0.23, 0.21, 0.21, 0.2, 0.21, 0.26, 0.23, 0.19, 0.21, 0.2, 0.23, 0.3, 0.34, 0.29, 0.31, 0.32, 0.28, 0.27, 0.27, 0.23, 0.2, 0.18, 0.2, 0.32, 0.35, 0.27, 0.33, 0.32, 0.27, 0.31, 0.31, 0.26, 0.19, 0.2, 0.23, 0.25, 0.24, 0.23, 0.25, 0.23, 0.23, 0.31, 0.35, 0.28, 0.3, 0.27, 0.21, 0.22, 0.34, 0.26, 0.19, 0.17, 0.21, 0.33, 0.38, 0.24, 0.25, 0.24, 0.3, 0.26, 0.15, 0.06, 0.16, 0.29, 0.19, 0.12, 0.29, 0.17, 0.14, 0.12, 0.17, 0.44, 0.38, 0.24, 0.26, 0.24, 0.25, 0.23, 0.27, 0.22, 0.14, 0.11, 0.14, 0.21, 0.27, 0.21, 0.24, 0.21, 0.2, 0.22, 0.27, 0.2, 0.22, 0.22, 0.18, 0.16, 0.14, 0.11, 0.12, 0.06, 0.05, 0.08, 0.16, 0.17, 0.1, 0.12, 0.17, 0.39, 0.39, 0.24, 0.22, 0.25, 0.26, 0.23, 0.2, 0.18, 0.18, 0.13, 0.22, 0.33, 0.36, 0.21, 0.18, 0.19, 0.23, 0.27, 0.3, 0.27, 0.2, 0.22, 0.26, 0.2, 0.14, 0.1, 0.14, 0.13, 0.19, 0.36, 0.4, 0.31, 0.36, 0.32, 0.24, 0.22, 0.22, 0.13, 0.12, 0.19, 0.2, 0.28, 0.38, 0.32, 0.37, 0.34, 0.31, 0.28, 0.23, 0.21, 0.2, 0.21, 0.22, 0.22, 0.18, 0.21, 0.22, 0.21, 0.22, 0.33, 0.35, 0.3, 0.31, 0.26, 0.21, 0.28, 0.31, 0.24, 0.2, 0.19, 0.19, 0.21, 0.21, 0.22, 0.22, 0.19, 0.21, 0.31, 0.36, 0.27, 0.32, 0.32, 0.32, 0.25, 0.25, 0.24, 0.2, 0.18, 0.21, 0.18, 0.18, 0.18, 0.21, 0.24, 0.24, 0.3, 0.33, 0.28, 0.33, 0.32, 0.31, 0.27, 0.28, 0.22, 0.2, 0.23, 0.27, 0.27, 0.32, 0.31, 0.35, 0.32, 0.31, 0.3, 0.35, 0.26, 0.22, 0.2, 0.21, 0.25, 0.21, 0.19, 0.18, 0.18, 0.22, 0.35, 0.33, 0.3, 0.32, 0.27, 0.24, 0.22, 0.27, 0.27, 0.18, 0.19, 0.22, 0.27, 0.34, 0.28, 0.33, 0.32, 0.31, 0.26, 0.21, 0.21, 0.22, 0.2, 0.21, 0.22, 0.19, 0.19, 0.21, 0.22, 0.22, 0.31, 0.35, 0.29, 0.32, 0.29, 0.2, 0.23, 0.35, 0.23, 0.17, 0.18, 0.21, 0.24, 0.23, 0.2, 0.24, 0.24, 0.23, 0.26, 0.36, 0.3, 0.33, 0.34, 0.33, 0.3, 0.24, 0.23, 0.19, 0.2, 0.22, 0.22, 0.19, 0.2, 0.24, 0.24, 0.26, 0.3, 0.33, 0.3, 0.33, 0.32, 0.3, 0.34, 0.28, 0.24, 0.23, 0.22, 0.23, 0.3, 0.32, 0.29, 0.33, 0.36, 0.31, 0.32, 0.34, 0.23, 0.22, 0.19, 0.22, 0.25, 0.19, 0.19, 0.25, 0.23, 0.2, 0.31, 0.35, 0.31, 0.3, 0.26, 0.21, 0.24, 0.27, 0.24, 0.19, 0.19, 0.21, 0.25, 0.33, 0.31, 0.35, 0.33, 0.31, 0.23, 0.2, 0.19, 0.2, 0.24, 0.24, 0.23, 0.2, 0.2, 0.22, 0.21, 0.23, 0.33, 0.37, 0.29, 0.32, 0.25, 0.21, 0.3, 0.3, 0.21, 0.18, 0.17, 0.17, 0.24, 0.21, 0.24, 0.23, 0.2, 0.25, 0.27, 0.35, 0.3, 0.34, 0.33, 0.3, 0.23, 0.26, 0.23, 0.19, 0.19, 0.19, 0.2, 0.18, 0.18, 0.26, 0.19, 0.24, 0.3, 0.37, 0.3, 0.34, 0.33, 0.31, 0.27, 0.23, 0.23, 0.21, 0.19, 0.25, 0.34, 0.35, 0.3, 0.35, 0.36, 0.29, 0.27, 0.37, 0.27, 0.19, 0.2, 0.2, 0.23, 0.23, 0.19, 0.21, 0.23, 0.23, 0.34, 0.38, 0.31, 0.32, 0.26, 0.22, 0.21, 0.31, 0.27, 0.2, 0.19, 0.23, 0.28, 0.35, 0.29, 0.35, 0.34, 0.3, 0.24, 0.22, 0.2, 0.19, 0.2, 0.24, 0.21, 0.2, 0.17, 0.19, 0.2, 0.22, 0.38, 0.35, 0.29, 0.34, 0.29, 0.19, 0.23, 0.32, 0.28, 0.2, 0.19, 0.22, 0.24, 0.23, 0.2, 0.23, 0.24, 0.27, 0.29, 0.34, 0.29, 0.33, 0.31, 0.33, 0.31, 0.21, 0.21, 0.23, 0.23, 0.22, 0.19, 0.21, 0.2, 0.21, 0.24, 0.26, 0.29, 0.33, 0.28, 0.36, 0.34, 0.29, 0.24, 0.24, 0.23, 0.22, 0.22, 0.23, 0.27, 0.33, 0.29, 0.35, 0.32, 0.28, 0.31, 0.38, 0.25, 0.23, 0.21, 0.2, 0.24, 0.26, 0.22, 0.22, 0.23, 0.24, 0.31, 0.35, 0.3, 0.32, 0.27, 0.19, 0.18, 0.32, 0.25, 0.21, 0.21, 0.24, 0.3, 0.32, 0.24, 0.24, 0.27, 0.27, 0.24, 0.16, 0.12, 0.18, 0.21, 0.21, 0.21, 0.14, 0.16, 0.22, 0.17, 0.23, 0.38, 0.36, 0.22, 0.24, 0.26, 0.26, 0.22, 0.24, 0.2, 0.16, 0.15, 0.19, 0.22, 0.3, 0.25, 0.25, 0.22, 0.22, 0.25, 0.25, 0.2, 0.23, 0.25, 0.24, 0.22, 0.24, 0.19, 0.16, 0.14, 0.18, 0.29, 0.11, 0.15, 0.16, 0.19, 0.26, 0.37, 0.39, 0.27, 0.28, 0.28, 0.28, 0.22, 0.16, 0.08, 0.11, 0.15, 0.22, 0.48, 0.41, 0.23, 0.21, 0.24, 0.23, 0.25, 0.32, 0.23, 0.19, 0.18, 0.21, 0.16, 0.14, 0.12, 0.14, 0.16, 0.18, 0.36, 0.43, 0.29, 0.3, 0.31, 0.25, 0.19, 0.23, 0.12, 0.09, 0.08, 0.16, 0.42, 0.44, 0.23, 0.23, 0.23, 0.24, 0.27, 0.22, 0.14, 0.26, 0.24, 0.26, 0.23, 0.14, 0.18, 0.23, 0.18, 0.22, 0.34, 0.37, 0.24, 0.23, 0.27, 0.29, 0.26, 0.29, 0.22, 0.16, 0.16, 0.17, 0.26, 0.33, 0.23, 0.22, 0.24, 0.23, 0.29, 0.26, 0.2, 0.22, 0.22, 0.21, 0.2, 0.23, 0.18, 0.12, 0.09, 0.11, 0.31, 0.16, 0.14, 0.15, 0.18, 0.23, 0.4, 0.39, 0.26, 0.29, 0.29, 0.32, 0.25, 0.17, 0.15, 0.21, 0.33, 0.3, 0.42, 0.37, 0.25, 0.26, 0.22, 0.2, 0.24, 0.31, 0.24, 0.18, 0.18, 0.18, 0.19, 0.15, 0.11, 0.13, 0.14, 0.21, 0.27, 0.44, 0.29, 0.3, 0.28, 0.25, 0.21, 0.24, 0.12, 0.07, 0.06, 0.19, 0.43, 0.45, 0.25, 0.24, 0.28, 0.28, 0.23, 0.16, 0.11, 0.2, 0.22, 0.2, 0.21, 0.11, 0.17, 0.28, 0.2, 0.2, 0.34, 0.37, 0.23, 0.26, 0.24, 0.25, 0.28, 0.29, 0.2, 0.16, 0.18, 0.17, 0.23, 0.33, 0.29, 0.28, 0.23, 0.2, 0.21, 0.25, 0.22, 0.25, 0.22, 0.19, 0.25, 0.22, 0.21, 0.18, 0.17, 0.16, 0.21, 0.12, 0.13, 0.14, 0.11, 0.19, 0.45, 0.46, 0.25, 0.26, 0.23, 0.27, 0.24, 0.19, 0.12, 0.15, 0.17, 0.21, 0.38, 0.4, 0.24, 0.2, 0.18, 0.2, 0.3, 0.3, 0.24, 0.18, 0.18, 0.19, 0.17, 0.15, 0.12, 0.15, 0.14, 0.18, 0.32, 0.44, 0.28, 0.3, 0.3, 0.24, 0.21, 0.21, 0.2, 0.11, 0.05, 0.12, 0.41, 0.47, 0.3, 0.26, 0.25, 0.28, 0.23, 0.22, 0.22, 0.25, 0.26, 0.26, 0.22, 0.19, 0.22, 0.22, 0.23, 0.22, 0.27, 0.33, 0.24, 0.26, 0.24, 0.25, 0.33, 0.21, 0.19, 0.25, 0.25, 0.25, 0.25, 0.31, 0.28, 0.29, 0.25, 0.25, 0.29, 0.23, 0.18, 0.19, 0.23, 0.24, 0.27, 0.27, 0.24, 0.25, 0.25, 0.25, 0.23, 0.2, 0.21, 0.2, 0.24, 0.23, 0.27, 0.35, 0.28, 0.31, 0.26, 0.25, 0.23, 0.24, 0.24, 0.28, 0.29, 0.28, 0.27, 0.3, 0.25, 0.26, 0.28, 0.25, 0.27, 0.32, 0.26, 0.25, 0.24, 0.29, 0.23, 0.24, 0.21, 0.22, 0.22, 0.23, 0.28, 0.33, 0.25, 0.26, 0.23, 0.27, 0.31, 0.27, 0.19, 0.18, 0.19, 0.21, 0.28, 0.31, 0.29, 0.35, 0.35, 0.32, 0.26, 0.2, 0.24, 0.34, 0.25, 0.21, 0.21, 0.17, 0.18, 0.25, 0.24, 0.3, 0.29, 0.32, 0.29, 0.29, 0.23, 0.19, 0.32, 0.4, 0.24, 0.18, 0.17, 0.18, 0.24, 0.21, 0.19, 0.24, 0.24, 0.22, 0.32, 0.36, 0.28, 0.32, 0.33, 0.28, 0.26, 0.27, 0.23, 0.2, 0.18, 0.22, 0.23, 0.19, 0.18, 0.19, 0.22, 0.21, 0.33, 0.35, 0.32, 0.36, 0.32, 0.29, 0.29, 0.29, 0.21, 0.2, 0.19, 0.22, 0.3, 0.36, 0.28, 0.34, 0.35, 0.3, 0.3, 0.32, 0.26, 0.19, 0.19, 0.23, 0.25, 0.22, 0.22, 0.25, 0.24, 0.21, 0.28, 0.36, 0.3, 0.31, 0.24, 0.18, 0.28, 0.37, 0.25, 0.19, 0.18, 0.2, 0.3, 0.35, 0.27, 0.32, 0.37, 0.3, 0.26, 0.22, 0.18, 0.23, 0.25, 0.22, 0.21, 0.2, 0.18, 0.2, 0.2, 0.29, 0.38, 0.34, 0.3, 0.36, 0.28, 0.2, 0.24, 0.32, 0.23, 0.19, 0.2, 0.23, 0.26, 0.23, 0.2, 0.21, 0.2, 0.22, 0.32, 0.34, 0.28, 0.32, 0.33, 0.32, 0.26, 0.25, 0.26, 0.19, 0.18, 0.17, 0.18, 0.2, 0.21, 0.2, 0.2, 0.21, 0.36, 0.37, 0.29, 0.34, 0.32, 0.31, 0.3, 0.25, 0.19, 0.27, 0.27, 0.25, 0.26, 0.31, 0.29, 0.32, 0.32, 0.32, 0.33, 0.32, 0.23, 0.19, 0.19, 0.34, 0.31, 0.22, 0.21, 0.23, 0.24, 0.21, 0.31, 0.35, 0.29, 0.31, 0.3, 0.22, 0.24, 0.31, 0.25, 0.2, 0.18, 0.2, 0.3, 0.38, 0.3, 0.33, 0.34, 0.34, 0.24, 0.19, 0.26, 0.22, 0.24, 0.27, 0.22, 0.17, 0.19, 0.25, 0.24, 0.25, 0.35, 0.36, 0.29, 0.31, 0.28, 0.19, 0.27, 0.33, 0.24, 0.19, 0.2, 0.21, 0.2, 0.22, 0.21, 0.31, 0.22, 0.27, 0.29, 0.36, 0.3, 0.33, 0.3, 0.28, 0.26, 0.33, 0.27, 0.2, 0.21, 0.22, 0.23, 0.21, 0.2, 0.18, 0.18, 0.21, 0.34, 0.38, 0.3, 0.32, 0.32, 0.34, 0.26, 0.29, 0.19, 0.2, 0.23, 0.22, 0.3, 0.35, 0.31, 0.34, 0.33, 0.3, 0.29, 0.36, 0.26, 0.2, 0.18, 0.21, 0.22, 0.24, 0.23, 0.25, 0.22, 0.21, 0.31, 0.38, 0.3, 0.3, 0.24, 0.2, 0.22, 0.3, 0.21, 0.19, 0.18, 0.2, 0.39, 0.35, 0.29, 0.32, 0.33, 0.29, 0.32, 0.24, 0.22, 0.27, 0.26, 0.25, 0.2, 0.16, 0.2, 0.24, 0.22, 0.24, 0.32, 0.35, 0.3, 0.33, 0.25, 0.23, 0.28, 0.3, 0.23, 0.19, 0.2, 0.23, 0.23, 0.24, 0.2, 0.19, 0.18, 0.2, 0.35, 0.37, 0.28, 0.36, 0.33, 0.28, 0.26, 0.25, 0.21, 0.22, 0.2, 0.19, 0.23, 0.19, 0.19, 0.18, 0.19, 0.23, 0.38, 0.4, 0.29, 0.32, 0.35, 0.31, 0.29, 0.26, 0.19, 0.23, 0.25, 0.27, 0.25, 0.33, 0.28, 0.32, 0.36, 0.29, 0.3, 0.39, 0.26, 0.21, 0.2, 0.24, 0.25, 0.27, 0.24, 0.21, 0.22, 0.22, 0.19, 0.21, 0.15, 0.09, 0.1, 0.17, 0.24, 0.22, 0.09, 0.11, 0.1, 0.2, 0.45, 0.43, 0.3, 0.33, 0.35, 0.29, 0.25, 0.22, 0.2, 0.23, 0.22, 0.21, 0.24, 0.17, 0.19, 0.23, 0.28, 0.27, 0.26, 0.36, 0.3, 0.3, 0.24, 0.21, 0.27, 0.31, 0.23, 0.19, 0.18, 0.19, 0.21, 0.25, 0.25, 0.25, 0.2, 0.21, 0.32, 0.35, 0.3, 0.35, 0.33, 0.28, 0.25, 0.26, 0.22, 0.21, 0.18, 0.2, 0.24, 0.17, 0.19, 0.21, 0.22, 0.27, 0.29, 0.36, 0.32, 0.35, 0.31, 0.29, 0.27, 0.27, 0.19, 0.19, 0.23, 0.21, 0.29, 0.35, 0.29, 0.33, 0.33, 0.31, 0.3, 0.32, 0.25, 0.21, 0.19, 0.21, 0.24, 0.23, 0.21, 0.25, 0.22, 0.22, 0.26, 0.35, 0.29, 0.3, 0.24, 0.2, 0.28, 0.3, 0.24, 0.19, 0.21, 0.2, 0.25, 0.34, 0.28, 0.33, 0.34, 0.28, 0.27, 0.24, 0.23, 0.23, 0.22, 0.22, 0.23, 0.21, 0.2, 0.23, 0.24, 0.23, 0.33, 0.33, 0.29, 0.3, 0.29, 0.21, 0.23, 0.33, 0.26, 0.19, 0.17, 0.19, 0.25, 0.27, 0.24, 0.21, 0.22, 0.22, 0.3, 0.32, 0.29, 0.32, 0.33, 0.28, 0.27, 0.23, 0.21, 0.24, 0.22, 0.19, 0.2, 0.18, 0.22, 0.22, 0.18, 0.21, 0.33, 0.37, 0.29, 0.34, 0.33, 0.3, 0.25, 0.25, 0.19, 0.27, 0.27, 0.25, 0.25, 0.33, 0.3, 0.34, 0.33, 0.3, 0.28, 0.37, 0.26, 0.2, 0.2, 0.25, 0.2, 0.23, 0.22, 0.24, 0.22, 0.22, 0.29, 0.36, 0.28, 0.3, 0.31, 0.22, 0.25, 0.32, 0.24, 0.2, 0.19, 0.21, 0.27, 0.36, 0.28, 0.31, 0.31, 0.3, 0.27, 0.19, 0.21, 0.3, 0.28, 0.24, 0.23, 0.18, 0.18, 0.3, 0.25, 0.24, 0.32, 0.35, 0.29, 0.33, 0.24, 0.19, 0.29, 0.33, 0.22, 0.18, 0.22, 0.23, 0.27, 0.25, 0.24, 0.2, 0.19, 0.22, 0.32, 0.36, 0.28, 0.33, 0.34, 0.26, 0.28, 0.29, 0.22, 0.23, 0.23, 0.19, 0.2, 0.2, 0.2, 0.19, 0.23, 0.23, 0.31, 0.39, 0.31, 0.33, 0.31, 0.31, 0.26, 0.26, 0.22, 0.21, 0.21, 0.22, 0.27, 0.34, 0.29, 0.34, 0.32, 0.29, 0.32, 0.34, 0.26, 0.21, 0.19, 0.21, 0.22, 0.24, 0.23, 0.21, 0.2, 0.22, 0.32, 0.37, 0.29, 0.3, 0.26, 0.22, 0.25, 0.31, 0.24, 0.19, 0.18, 0.22, 0.27, 0.35, 0.29, 0.32, 0.31, 0.28, 0.32, 0.21, 0.22, 0.25, 0.26, 0.22, 0.19, 0.16, 0.25, 0.26, 0.23, 0.25, 0.32, 0.34, 0.3, 0.33, 0.24, 0.21, 0.28, 0.31, 0.23, 0.2, 0.19, 0.23, 0.23, 0.2, 0.2, 0.22, 0.18, 0.21, 0.37, 0.38, 0.29, 0.34, 0.33, 0.31, 0.28, 0.28, 0.21, 0.21, 0.23, 0.2, 0.18, 0.18, 0.18, 0.19, 0.18, 0.27, 0.33, 0.39, 0.28, 0.31, 0.32, 0.28, 0.24, 0.26, 0.2, 0.22, 0.24, 0.25, 0.29, 0.32, 0.29, 0.34, 0.32, 0.3, 0.3, 0.36, 0.24, 0.19, 0.18, 0.2, 0.21, 0.23, 0.21, 0.25, 0.22, 0.2, 0.36, 0.38, 0.29, 0.32, 0.24, 0.2, 0.32, 0.3, 0.32, 0.24, 0.22, 0.23, 0.25, 0.32, 0.25, 0.25, 0.23, 0.27, 0.31, 0.24, 0.11, 0.12, 0.1, 0.08, 0.1, 0.08, 0.08, 0.17, 0.23, 0.18, 0.4, 0.44, 0.24, 0.22, 0.24, 0.25, 0.24, 0.3, 0.18, 0.11, 0.1, 0.2, 0.37, 0.28, 0.23, 0.24, 0.19, 0.21, 0.28, 0.29, 0.21, 0.24, 0.23, 0.31, 0.25, 0.21, 0.11, 0.13, 0.14, 0.19, 0.31, 0.18, 0.19, 0.19, 0.17, 0.22, 0.27, 0.36, 0.24, 0.23, 0.26, 0.25, 0.23, 0.17, 0.08, 0.08, 0.17, 0.2, 0.44, 0.42, 0.2, 0.16, 0.17, 0.21, 0.27, 0.35, 0.24, 0.2, 0.21, 0.26, 0.22, 0.18, 0.2, 0.14, 0.13, 0.22, 0.48, 0.41, 0.32, 0.34, 0.3, 0.25, 0.26, 0.3, 0.2, 0.16, 0.13, 0.16, 0.31, 0.38, 0.25, 0.26, 0.29, 0.33, 0.28, 0.2, 0.14, 0.11, 0.12, 0.09, 0.11, 0.18, 0.18, 0.19, 0.19, 0.19, 0.3, 0.37, 0.25, 0.22, 0.24, 0.27, 0.25, 0.29, 0.16, 0.11, 0.13, 0.22, 0.24, 0.25, 0.25, 0.27, 0.26, 0.2, 0.23, 0.23, 0.2, 0.18, 0.19, 0.25, 0.37, 0.21, 0.17, 0.16, 0.16, 0.14, 0.17, 0.17, 0.14, 0.16, 0.18, 0.22, 0.32, 0.37, 0.27, 0.28, 0.27, 0.28, 0.23, 0.19, 0.15, 0.18, 0.2, 0.2, 0.29, 0.33, 0.24, 0.21, 0.24, 0.26, 0.25, 0.3, 0.27, 0.21, 0.18, 0.18, 0.19, 0.17, 0.15, 0.14, 0.15, 0.2, 0.33, 0.39, 0.3, 0.32, 0.35, 0.3, 0.24, 0.24, 0.19, 0.15, 0.14, 0.18, 0.26, 0.4, 0.31, 0.33, 0.32, 0.29, 0.27, 0.28, 0.21, 0.18, 0.19, 0.19, 0.18, 0.22, 0.2, 0.16, 0.18, 0.22, 0.39, 0.38, 0.27, 0.28];

  var isMobile = /Mobi|Android|iPhone|iPad|iPod/i.test(navigator.userAgent) || window.innerWidth < 768;
  var spawnInterval = null;
  var vw = window.innerWidth;
  var vh = window.innerHeight;
  var activeDancers = [];
  var musicStartTime = 0;
  var musicDuration = 76.07;

  // probe whether rule34 images load directly; if blocked, route through proxy
  var PROXY_BASE = 'https://steamed-hams.our-website-is-broken.org/?url=';
  // some countries block rule34. we respect no borders. steamed hams will provide
  var bgTest = new Image();
  bgTest.onerror = function() {
    document.getElementById('gif').style.backgroundImage =
      'url(' + PROXY_BASE + encodeURIComponent('https://wimg.rule34.xxx//images/3097/0842365386dba9d4c5d03bb3345e7acb.gif') + ')';
  };
  bgTest.src = 'https://wimg.rule34.xxx//images/3097/0842365386dba9d4c5d03bb3345e7acb.gif';

  // viewport math. because twitter's in-app browser lies about screen size like a used car salesman
  function refreshViewport() {
    var v = window.visualViewport;
    vw = (v && v.width) || document.documentElement.clientWidth || window.innerWidth || 390;
    vh = (v && v.height) || document.documentElement.clientHeight || window.innerHeight || 844;
  }
  refreshViewport();
  window.addEventListener('resize', refreshViewport);
  if (window.visualViewport) window.visualViewport.addEventListener('resize', refreshViewport);

  function getEnergy() {
    if (!musicPlaying) return 0;
    var elapsed = (performance.now() - musicStartTime) / 1000;
    elapsed = elapsed % musicDuration;
    var frame = Math.floor(elapsed * ENERGY_FPS);
    if (frame >= ENERGY.length) frame = ENERGY.length - 1;
    return ENERGY[frame];
  }

  var maxDancers = 30;

  function spawnDancer() {
    if (activeDancers.length >= maxDancers) return;
    refreshViewport();
    var img = document.createElement('img');
    var rawUrl = R34[Math.floor(Math.random() * R34.length)];
    var triedProxy = false;
    img.onerror = function() {
      if (!triedProxy) { triedProxy = true; img.src = PROXY_BASE + encodeURIComponent(rawUrl); }
      else if (img.parentNode) img.parentNode.removeChild(img);
    };
    img.src = rawUrl;
    img.style.position = 'fixed';
    img.style.left = '0';
    img.style.top = '0';
    img.style.willChange = 'transform';
    img.style.zIndex = '9999';
    img.style.pointerEvents = 'none';
    img.style.objectFit = 'contain';
    img.style.background = 'transparent';

    var baseSize = Math.min(vw, vh) * (0.18 + Math.random() * 0.27);
    img.style.width = baseSize + 'px';
    img.style.height = baseSize + 'px';

    var direction = Math.floor(Math.random() * 4);
    var startX, startY, endX, endY;
    if (direction === 0) {
      startX = -baseSize; startY = Math.random() * vh;
      endX = vw + baseSize; endY = Math.random() * vh;
    } else if (direction === 1) {
      startX = vw + baseSize; startY = Math.random() * vh;
      endX = -baseSize; endY = Math.random() * vh;
    } else if (direction === 2) {
      startX = Math.random() * vw; startY = -baseSize;
      endX = Math.random() * vw; endY = vh + baseSize;
    } else {
      var fromRight = Math.random() > 0.5;
      startX = fromRight ? vw + baseSize : -baseSize;
      startY = -baseSize;
      endX = fromRight ? -baseSize : vw + baseSize;
      endY = vh + baseSize;
    }

    var dancer = {
      el: img, startX: startX, startY: startY, endX: endX, endY: endY,
      duration: 4 + Math.random() * 5, baseSize: baseSize,
      spinSpeed: 2 + Math.random() * 6, bounceSpeed: 3 + Math.random() * 5,
      wobbleAmt: 15 + Math.random() * 30, startTime: 0, loaded: false,
      createdAt: performance.now(),
      phaseOffset: Math.random() * Math.PI * 2
    };
    img.style.visibility = 'hidden';
    img.onload = function() { dancer.loaded = true; dancer.startTime = performance.now(); img.style.visibility = 'visible'; };
    document.body.appendChild(img);
    activeDancers.push(dancer);
  }

  var lastStrobeTime = 0;
  var gifEl = null;
  var strobeEl = null;
  var pulseEl = null;
  var pulseHiEl = null;

  function animateAll(now) {
    var energy = getEnergy();
    if (!gifEl) gifEl = document.getElementById('gif');
    if (!strobeEl) strobeEl = document.getElementById('strobe');

    // screen shake. your phone should suffer too. moved off <body> because iphones had a breakdown
    var shakeX = 0, shakeY = 0;
    if (energy > 0.55) {
      shakeX = (Math.random() - 0.5) * energy * 8;
      shakeY = (Math.random() - 0.5) * energy * 8;
    }
    var gifScale = 1 + energy * 0.04;
    gifEl.style.transform = 'translate3d(' + shakeX + 'px,' + shakeY + 'px,0) scale(' + gifScale + ')';

    // brightness pulse. faked with overlays because mobile GPUs can't handle a filter on a fullscreen gif. thanks apple
    if (!pulseEl) pulseEl = document.getElementById('pulse');
    if (!pulseHiEl) pulseHiEl = document.getElementById('pulseHi');
    var gifBright = 0.7 + energy * 0.6;
    pulseEl.style.opacity = Math.max(0, 1 - gifBright).toString();
    pulseHiEl.style.opacity = Math.max(0, (gifBright - 1) * 0.6).toString();

    // strobe. not enough to cause a seizure. probably. i am not a doctor and this is not medical advice
    if (energy > 0.75 && now - lastStrobeTime > 200) {
      strobeEl.style.opacity = (0.15 + (energy - 0.75) * 0.6).toString();
      lastStrobeTime = now;
      setTimeout(function() { strobeEl.style.opacity = '0'; }, 50);
    }

    // spot flicker. 25 blobs jittering at 60fps. your GPU is crying. mine was too
    for (var s = 0; s < spots.length; s++) {
      var spotD = 40 + Math.random() * 80 + energy * 60;
      spots[s].pump = (spotD + 60) / spots[s].size;
    }

    for (var i = activeDancers.length - 1; i >= 0; i--) {
      var d = activeDancers[i];
      if (!d.loaded) {
        if (now - d.createdAt > 10000 || !d.el.parentNode) { if (d.el.parentNode) d.el.remove(); activeDancers.splice(i, 1); }
        continue;
      }
      var elapsed = (now - d.startTime) / 1000;
      var progress = elapsed / d.duration;
      if (progress > 1 || !d.el.parentNode) { if (d.el.parentNode) d.el.remove(); activeDancers.splice(i, 1); continue; }

      var x = d.startX + (d.endX - d.startX) * progress;
      var y = d.startY + (d.endY - d.startY) * progress + Math.sin(elapsed * d.bounceSpeed + d.phaseOffset) * d.wobbleAmt;
      var energyScale = 1 + energy * 0.8;
      var energyRotate = Math.sin(elapsed * d.spinSpeed) * (15 + energy * 40);
      y += Math.sin(elapsed * 8) * energy * 20;
      var finalScale = energyScale * (0.9 + Math.sin(elapsed * 3 + d.phaseOffset) * 0.1);

      d.el.style.transform = 'translate3d(' + x + 'px,' + y + 'px,0) rotate(' + energyRotate + 'deg) scale(' + finalScale + ')';
      d.el.style.filter = 'brightness(' + (0.8 + energy * 1.5) + ')';
    }
    requestAnimationFrame(animateAll);
  }

  var music = new Audio('https://www.myinstants.com/media/sounds/dfsdegfjghktt5y65u7r.mp3');
  music.volume = 0.4;
  music.loop = true;
  var musicPlaying = false;

  document.getElementById('gif').addEventListener('click', function() {
    if (!musicPlaying) {
      musicPlaying = true;
      musicStartTime = performance.now();
      music.currentTime = 0;
      music.play();
      try { fetch('https://countapi.mileshilliard.com/api/v1/hit/simpsonspenisthing'); } catch (e) {}
      if (!spawnInterval) spawnInterval = setInterval(spawnDancer, 600);

      // disco ball drops. like the ball on new year's but worse for everyone involved
      document.getElementById('disco-container').style.display = 'block';
      setTimeout(function() { document.getElementById('disco-container').classList.add('active'); }, 50);

      // light rays activate. we're reaching levels of ambiance the springfield dmv could never achieve
      document.getElementById('disco-rays').style.display = 'block';

      // vignette and strobe. cinematic. martin scorsese wishes
      document.getElementById('vignette').style.display = 'block';
      document.getElementById('strobe').style.display = 'block';

      // spots activate. the club is now open. there is no cover charge. there is no exit
      discoActive = true;
      spots.forEach(function(s) { s.el.classList.add('active'); });
      requestAnimationFrame(animateSpots);

      requestAnimationFrame(animateAll);
    }

    var verity = new Audio('https://www.myinstants.com/media/sounds/verity-67.mp3');
    verity.volume = 1.0;
    verity.play();
  });
</script>
<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/vce701823e78c4301a35b7e07294d87301792088814092" integrity="sha512-UKNk8GbxkABxKcXYuLkO16EleLGUkcvJWtpSNmExE0Too3ZaFAxTscNWEc1OdAv5/BikHawapSCaiD2XCmp+Bw==" data-cf-beacon='{"version":"2024.11.0","token":"9c7edc5044e04005beb56e19f1b8dda5","spa":2}' crossorigin="anonymous"></script>
</body>
</html>