This commit is contained in:
mileswa1q22 authored and GitHub committed 2023-12-20 15:01:15 +00:00
1 parent 32dd72a8b6
commit 5258397121
2 files changed
+17 -1

No files matched your search

+16 -1
View File
@@ -15,4 +15,19 @@ alert("fun yesss🎅🏼 you found santa congrats you won")
}
function yourmom(){
alert("your mom still in testing")
}
}
var fps = document.getElementById("fps");
var startTime = Date.now();
var frame = 0;
function tick() {
var time = Date.now();
frame++;
if (time - startTime > 1000) {
fps.innerHTML = (frame / ((time - startTime) / 1000)).toFixed(1);
startTime = time;
frame = 0;
}
window.requestAnimationFrame(tick);
}
tick();
+1
View File
@@ -3,6 +3,7 @@
<head>
<title>Home</title>
<span id="fps">--</span> FPS</div>
<script type="text/javascript" src="https://cookieconsent.popupsmart.com/src/js/popper.js"></script><script> window.start.init({Palette:"palette1",Mode:"banner bottom",Theme:"classic",Message:"this wed sit youses cooke to save you progres",ButtonText:"ok ",Time:"10",})</script>
<meta name="viewport" content="width=device-width, initial-scale=1.0"></meta>
<noscript>Your browser does not support JavaScript!</noscript>