Skip to content

Commit

Permalink
Release 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ThanosFisherman committed Jul 18, 2024
1 parent 1d2c8ab commit c173a44
Show file tree
Hide file tree
Showing 9 changed files with 1,473 additions and 5,218 deletions.
19 changes: 9 additions & 10 deletions assets/assets.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
i:libgdx.png:2458:image/png
i:com/badlogic/gdx/utils/lsans-15.png:14652:image/png
t:com/badlogic/gdx/graphics/g3d/shaders/default.vertex.glsl:9096:application/unknown
t:com/badlogic/gdx/graphics/g3d/particles/particles.fragment.glsl:820:application/unknown
t:com/badlogic/gdx/graphics/g3d/particles/particles.vertex.glsl:2886:application/unknown
t:com/badlogic/gdx/graphics/g3d/shaders/default.fragment.glsl:5874:application/unknown
t:com/badlogic/gdx/graphics/g3d/shaders/depth.vertex.glsl:2931:application/unknown
t:com/badlogic/gdx/utils/lsans-15.fnt:17711:application/unknown
t:com/badlogic/gdx/graphics/g3d/shaders/depth.fragment.glsl:869:application/unknown
i:startup-logo.png:12214:image/png
i:b:/libgdx.png:2458
c:b:/com/badlogic/gdx/utils/lsans-15.png:10270
c:b:/com/badlogic/gdx/graphics/g3d/shaders/default.vertex.glsl:9096
c:b:/com/badlogic/gdx/graphics/g3d/particles/particles.fragment.glsl:820
c:b:/com/badlogic/gdx/graphics/g3d/particles/particles.vertex.glsl:2886
c:b:/com/badlogic/gdx/graphics/g3d/shaders/default.fragment.glsl:5874
c:b:/com/badlogic/gdx/graphics/g3d/shaders/depth.vertex.glsl:2931
c:b:/com/badlogic/gdx/utils/lsans-15.fnt:17711
c:b:/com/badlogic/gdx/graphics/g3d/shaders/depth.fragment.glsl:869
Binary file modified assets/com/badlogic/gdx/utils/lsans-15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 0 additions & 62 deletions assets/gdx.wasm.js

This file was deleted.

Binary file removed assets/gdx.wasm.wasm
Binary file not shown.
148 changes: 70 additions & 78 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,92 +1,84 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<html>
<head>
<title>Apollonian Gasket by ThanosFisherman</title>
<title>Apollonian Gasket by Thanos Fisherman</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%;
}
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 style="vertical-align: center; align-content: center; align-items: center; text-align: center; padding-top: 24px">
<div id="progress">
<img id="progress-img" src="assets/startup-logo.png">
<div id="progress-box">
<div id="progress-bar"></div>
</div>
<div>
<div id="progress">
<img id="progress-img" src="startup-logo.png">
<div id="progress-box">
<div id="progress-bar"></div>
</div>
<canvas id="canvas" width="900" height="900"></canvas>
</div>
<div style="vertical-align: center; align-content: center; align-items: center; text-align: center; padding-top: 30px; color: white">
<p><small>Use <b>Space</b> or <b>left mouse click</b> to generate new gaskets!</small></p>
</div>
<canvas id="canvas" width="800" height="600"></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);
}
}
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);
}
setTimeout(barUpdater, delay);
</script>
<script type="text/javascript" charset="utf-8" src="teavm/app.js"></script>
</body>
Expand Down
59 changes: 59 additions & 0 deletions scripts/gdx.wasm.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions scripts/howler.js

Large diffs are not rendered by default.

File renamed without changes
Loading

0 comments on commit c173a44

Please sign in to comment.