this post was submitted on 04 Oct 2024
478 points (99.0% liked)

196

16508 readers
2345 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
478
compruleter (lemmy.ml)
submitted 1 month ago* (last edited 1 month ago) by lelgenio@lemmy.ml to c/196@lemmy.blahaj.zone
 

Keep it silly though

you are viewing a single comment's thread
view the rest of the comments
[–] MrLLM@ani.social 2 points 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);