Keep it silly though

    • MrLLM
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago
      Cheat console codes

      Trap boy

      document.getElementById("catboy").src = "https://lemmy.world/pictrs/image/e4c85b56-2b11-4747-a63f-4e9366cb9505.png";
      

      Custom image hack

      let p = document.createElement("input");p.type = "file";p.onchange = () => { var r = new FileReader(); r.onload = (e) => { document.getElementById("catboy").src = e.target.result; }; r.readAsDataURL(p.files[0]); };document.getElementsByClassName("col")[0].appendChild(p);
      

      Endless rotation

      rpm = -3000;
      

      144 FPS unlocker

      for (var i = 1; i < 99999; i++) window.clearInterval(i);setInterval(() => { catboyImage.style.rotate = `${rot}deg`; rot += rpm / 60; while (rot > 360) rot -= 360; }, 1000 / 144);setInterval(() => { if (rpm > 0) rpm -= rpm / 100; rpmIndiCATor.innerHTML = Math.floor(rpm); }, 10);
      

      Autopilot

      setInterval(() => { rpm += parseInt(Math.random() * 100); }, 10);