changeset 8:84f89ee82594

???
author Paper <mrpapersonic@gmail.com>
date Sun, 30 May 2021 18:11:10 -0400
parents e22a954c2714
children f8f852d8c466
files index.html
diffstat 1 files changed, 87 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/index.html	Sun May 30 18:11:10 2021 -0400
@@ -0,0 +1,87 @@
+<!DOCTYPE html>
+<head>
+	<style>
+		body {
+			text-align: center;
+			background-image: url("setup.bmp");
+			background-size: 100% auto;
+			background-position: top center;
+			background-repeat: repeat;
+			image-rendering: pixelated;
+			text-shadow: -1px -1px 0px #000000, 1px 1px 0px #000000, -1px 1px 0px #000000, 1px -1px 0px #000000;
+		}
+		p {
+			font-size: 20px;
+			color: white;
+		}
+		h1 {
+			font-size: 40px;
+			color: white;
+		}
+		a {
+			text-decoration: none;
+			color: tomato;
+		}
+	</style>
+</head>
+<body>
+	<h1>sup</h1>
+	<p>most people know me from <a href="https://youtube.com/c/paperytpmv">ytpmv</a>, but i also make <a href="https://modarchive.org/index.php?request=view_profile&query=92603">modules</a></p>
+	<p>member of <a href="https://1123.best">1123</a></p>
+	<p><a style="color:skyblue;" href="https://twitter.com/intent/user?user_id=858179488970100736">Twitter</a> | <a style="color:gray" href="https://steamcommunity.com/id/nikolaicube/">Steam</a> | <a style="color:red;" href="https://youtube.com/paperytpmv">YouTube</a></p>
+	<p><a href="cool.html">cool shit</a></p>
+		body{
+			margin:0;
+		    background-image: url("tomoko.gif");
+			background-position: center top;
+			background-size: 100% auto;
+			text-align: center;
+		}
+	</style>
+	<script>
+		window['libopenmpt'] = {};
+		libopenmpt.locateFile = function (filename) {
+			return filename;
+		};
+		libopenmpt.onRuntimeInitialized = function () {
+			if (document.referrer) {
+				init();
+				path = "https://api.modarchive.org/downloads.php?moduleid=37049#christms.xm";
+				if (player != undefined) {
+					player.load(path, afterLoad.bind(this, path));
+				}
+				document.getElementById('button').style.visibility = "hidden";
+			}
+			else {
+				document.getElementById('button').style.visibility = "visible";
+			}
+			var player;
+			function init() {
+				if (player == undefined) {
+					player = new ChiptuneJsPlayer(new ChiptuneJsConfig(-1));
+				}
+				else {
+					player.stop();
+					player = undefined;
+				}
+			};
+			function afterLoad(path, buffer) {
+				player.play(buffer);
+			};
+			document.getElementById('button').onclick = function() {
+				init();
+				path = "https://api.modarchive.org/downloads.php?moduleid=37049#christms.xm";
+				if (player != undefined) {
+					player.load(path, afterLoad.bind(this, path));
+				}
+				document.getElementById('button').style.visibility = "hidden";
+			};
+		}
+	</script>
+	<script src="libopenmpt.js"></script>
+	<script src="chiptune2.js"></script>
+</head>
+<body id="body">
+	<br>
+	<input id="button" type="submit" name="button" value="epicness" style="visibility:hidden;"></input>
+</body>