General update

This commit is contained in:
Git 2023-08-25 15:04:43 +00:00
parent a30c9a6216
commit 7097ecca16
13 changed files with 1695 additions and 5 deletions

13
GameOfLife/index.html Normal file → Executable file
View 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) {
@ -284,7 +290,10 @@
} }
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
README.md Normal file → Executable file
View File

0
afkscreen2/index.html Normal file → Executable file
View File

0
afkscreen2/scripts/bg.js Normal file → Executable file
View 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
View 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
View 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
View File

0
hex/scripts/perlin.js Normal file → Executable file
View File

0
hex/styles/style.css Normal file → Executable file
View File

2
s1clone/index.html Normal file → Executable file
View 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
View 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
View 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%;
}