generated from ThanosFisherman/libgdx-bootstrapper
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
01e0189
commit 6d77cfd
Showing
5 changed files
with
278 additions
and
1,872 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,2 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Apollonian Gasket by Thanos!</title> | ||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | ||
<style> | ||
body { | ||
justify-content: center; | ||
align-items: center; | ||
background: #000; | ||
height: 100vh; | ||
margin: 0; | ||
padding: 0; | ||
overflow: hidden | ||
} | ||
#progress { | ||
position: fixed; | ||
display: block; | ||
box-sizing: border-box; | ||
position: absolute; | ||
z-index: 1; | ||
top: 50%; | ||
left: 50%; | ||
width: 500px; | ||
height: 80px; | ||
margin-top: -40px; | ||
margin-left: -250px; | ||
} | ||
#progress-img { | ||
padding-bottom: 5px; | ||
} | ||
#progress-box { | ||
background: rgba(255,255,255,0.1); | ||
justify-content: flex-start; | ||
border: 2px solid #fff; | ||
align-items: center; | ||
position: relative; | ||
padding: 0px 5px; | ||
display: flex; | ||
height: 30px; | ||
width: 487px; | ||
float: left; | ||
clear: both; | ||
} | ||
#progress-bar { | ||
display: block; | ||
box-shadow: 0 10px 30px -10px #fff; | ||
background: #fff; | ||
height: 20px; | ||
width: 0%; | ||
} | ||
</style> | ||
</head> | ||
<body oncontextmenu="return false" onload="main()"> | ||
<div> | ||
<div id="progress"> | ||
<img id="progress-img" src="startup-logo.png"> | ||
<div id="progress-box"> | ||
<div id="progress-bar"></div> | ||
</div> | ||
</div> | ||
<canvas id="canvas" width="900" height="900"></canvas> | ||
</div> | ||
<script> | ||
var maxPercentage = 25; | ||
var delay = 500; | ||
var bar = document.getElementById("progress-bar"); | ||
if (bar) { | ||
var barStyle = bar.style; | ||
barStyle.width = "0%"; | ||
function barUpdater() { | ||
var percentage = parseInt(barStyle.width, 10); | ||
if (percentage < maxPercentage) { | ||
percentage++; | ||
barStyle.width = percentage + "%"; | ||
delay += 25; | ||
setTimeout(barUpdater, delay); | ||
} | ||
} | ||
} | ||
setTimeout(barUpdater, delay); | ||
</script> | ||
<script type="text/javascript" charset="utf-8" src="teavm/app.js"></script> | ||
</body> | ||
</html> | ||
<!doctype html><title>Apollonian Gasket by Thanos!</title> | ||
<meta charset=utf-8><style>body{justify-content:center;align-items:center;background:#000;height:100vh;margin:0;padding:0;overflow:hidden}#progress{position:fixed;display:block;box-sizing:border-box;position:absolute;z-index:1;top:50%;left:50%;width:500px;height:80px;margin-top:-40px;margin-left:-250px}#progress-img{padding-bottom:5px}#progress-box{background:rgba(255,255,255,.1);justify-content:flex-start;border:2px solid #fff;align-items:center;position:relative;padding:0 5px;display:flex;height:30px;width:487px;float:left;clear:both}#progress-bar{display:block;box-shadow:0 10px 30px -10px #fff;background:#fff;height:20px;width:0%}</style><body oncontextmenu=return!1 onload=main()><div><div id=progress><img id=progress-img src=startup-logo.png><div id=progress-box><div id=progress-bar></div></div></div><canvas id=canvas width=900 height=900></canvas></div><script>var maxPercentage=25,barStyle,delay=500,bar=document.getElementById("progress-bar");if(bar){barStyle=bar.style,barStyle.width="0%";function barUpdater(){var e=parseInt(barStyle.width,10);e<maxPercentage&&(e++,barStyle.width=e+"%",delay+=25,setTimeout(barUpdater,delay))}}setTimeout(barUpdater,delay)</script><script src=teavm/app.js></script> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.