General update
This commit is contained in:
parent
a30c9a6216
commit
7097ecca16
11
GameOfLife/index.html
Normal file → Executable file
11
GameOfLife/index.html
Normal file → Executable file
@ -269,7 +269,13 @@
|
|||||||
|
|
||||||
draw();
|
draw();
|
||||||
|
|
||||||
|
var looping = false;
|
||||||
|
setInterval(function(){
|
||||||
|
if(looping){
|
||||||
|
hue = hue+0.01;
|
||||||
|
hue = hue>1?0:hue;
|
||||||
|
}
|
||||||
|
},400);
|
||||||
|
|
||||||
document.addEventListener ('keydown', function (event) {
|
document.addEventListener ('keydown', function (event) {
|
||||||
if (event.which == 38) {
|
if (event.which == 38) {
|
||||||
@ -285,6 +291,9 @@
|
|||||||
else if(event.which == 39){
|
else if(event.which == 39){
|
||||||
speed = Math.max(speed-0.01, 0.1 );
|
speed = Math.max(speed-0.01, 0.1 );
|
||||||
}
|
}
|
||||||
|
if (event.which == 32){
|
||||||
|
looping = looping?false:true;
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
0
afkscreen2/index.html
Normal file → Executable file
0
afkscreen2/index.html
Normal file → Executable file
0
afkscreen2/scripts/bg.js
Normal file → Executable file
0
afkscreen2/scripts/bg.js
Normal file → Executable file
1609
bam-backup/test-bam.html
Normal file
1609
bam-backup/test-bam.html
Normal file
File diff suppressed because it is too large
Load Diff
2
hex/index.html
Normal file → Executable file
2
hex/index.html
Normal file → Executable file
@ -4,7 +4,7 @@
|
|||||||
<link rel="stylesheet" href="./styles/style.css">
|
<link rel="stylesheet" href="./styles/style.css">
|
||||||
<script src="./scripts/perlin.js"></script>
|
<script src="./scripts/perlin.js"></script>
|
||||||
<script src="./scripts/bg.js"></script>
|
<script src="./scripts/bg.js"></script>
|
||||||
<!--<script src="./scripts/patterns/centerhex.js"></script> -->
|
<script src="./scripts/patterns/centerhex.js"></script>
|
||||||
|
|
||||||
<!-- -->
|
<!-- -->
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
1
hex/scripts/bg.js
Normal file → Executable file
1
hex/scripts/bg.js
Normal file → Executable file
@ -41,6 +41,7 @@ $(function() {
|
|||||||
|
|
||||||
//ctx.fillStyle = "rgba(21, 21, 21, 100)";
|
//ctx.fillStyle = "rgba(21, 21, 21, 100)";
|
||||||
ctx.fillStyle = '#00f';
|
ctx.fillStyle = '#00f';
|
||||||
|
ctx.fill();
|
||||||
//drawHexRect(ctx, 100, 10, 10);
|
//drawHexRect(ctx, 100, 10, 10);
|
||||||
//var t = new Tile(100, 50, 50, ctx);
|
//var t = new Tile(100, 50, 50, ctx);
|
||||||
//t.full();
|
//t.full();
|
||||||
|
|||||||
0
hex/scripts/patterns/centerhex.js
Normal file → Executable file
0
hex/scripts/patterns/centerhex.js
Normal file → Executable file
0
hex/scripts/perlin.js
Normal file → Executable file
0
hex/scripts/perlin.js
Normal file → Executable file
0
hex/styles/style.css
Normal file → Executable file
0
hex/styles/style.css
Normal file → Executable file
2
s1clone/index.html
Normal file → Executable file
2
s1clone/index.html
Normal file → Executable file
@ -2,7 +2,7 @@
|
|||||||
<title>Toothwitch's Root</title>
|
<title>Toothwitch's Root</title>
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||||
<script src="scripts/background.js"> </script>
|
<script src="scripts/background.js"> </script>
|
||||||
<link rel="stylesheet" type="text/css" href="styles/style.css">
|
<link rel="stylesheet" type="text/css" href="scripts/style.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<canvas class="bgmaster" id="bg" name="bg" style="z-index=-5;" width="1668" height="888"></canvas>
|
<canvas class="bgmaster" id="bg" name="bg" style="z-index=-5;" width="1668" height="888"></canvas>
|
||||||
|
|||||||
2
s1clone/scripts/background.js
Normal file → Executable file
2
s1clone/scripts/background.js
Normal file → Executable file
@ -142,7 +142,7 @@
|
|||||||
}
|
}
|
||||||
function star(c, x, y, r, p, m,o)
|
function star(c, x, y, r, p, m,o)
|
||||||
{
|
{
|
||||||
ctx.fillStyle = "rgba(255, 255, 255, "+o+")";
|
ctx.fillStyle = "rgba(0, 0, 0, "+o+")";
|
||||||
ctx.save();
|
ctx.save();
|
||||||
ctx.beginPath();
|
ctx.beginPath();
|
||||||
ctx.translate(x, y);
|
ctx.translate(x, y);
|
||||||
|
|||||||
71
s1clone/scripts/style.css
Executable file
71
s1clone/scripts/style.css
Executable file
@ -0,0 +1,71 @@
|
|||||||
|
@font-face { font-family: SpookyMagic; src: url(../fonts/SpookyMagic.ttf); }
|
||||||
|
@font-face { font-family: AceRecords; src: url(../fonts/AceRecords.ttf); }
|
||||||
|
.headline{
|
||||||
|
z-index=0;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
font-family: AceRecords;
|
||||||
|
font-size: 5em;
|
||||||
|
}
|
||||||
|
.prod{
|
||||||
|
width: 20px;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
position: fixed;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu{
|
||||||
|
text-align: center;
|
||||||
|
font-family: AceRecords;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 3em;
|
||||||
|
}
|
||||||
|
.menu a{
|
||||||
|
text-decoration: none;
|
||||||
|
color: #000;
|
||||||
|
border: solid #000 1px;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 15px;
|
||||||
|
background-color: #fff;
|
||||||
|
margin-left: 1%;
|
||||||
|
margin-right: 1%;
|
||||||
|
}
|
||||||
|
.main{
|
||||||
|
width:100%;
|
||||||
|
position: absolute;
|
||||||
|
top: 5%;
|
||||||
|
z-index=0;
|
||||||
|
}
|
||||||
|
.bgmaster{
|
||||||
|
position: fixed;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content{
|
||||||
|
width: 50%;
|
||||||
|
border: solid #550033 1px;
|
||||||
|
margin-top: 5%;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
border-radius: 30px;
|
||||||
|
padding: 10px;
|
||||||
|
font-size: 2em;
|
||||||
|
font-family: Terminal, monospace;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
.content a{
|
||||||
|
color: #444444;
|
||||||
|
}
|
||||||
|
input[type="password"]{
|
||||||
|
font-size: 1em;
|
||||||
|
font-family: Terminal, monospace;
|
||||||
|
border-radius: 15px;
|
||||||
|
padding: 10px;
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
input[type="password"]:focus {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
body{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user