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

196

16721 readers
1887 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 2 years ago
MODERATORS
473
compruleter (lemmy.ml)
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 

Keep it silly though

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 months 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);