<link rel="stylesheet" type="text/css" href="./css/style.min.css" />
<div id="main"></div>
<script src="//www.windows93.net/c/libs/codef/codef_core.js" type="fd275a669da760fbfab9aa3a-text/javascript"></script>
<script src="//www.windows93.net/c/libs/codef/codef_starfield.js" type="fd275a669da760fbfab9aa3a-text/javascript"></script>
<script src="//www.windows93.net/c/libs/codef/codef_gradient.js" type="fd275a669da760fbfab9aa3a-text/javascript"></script>
<script src="//www.windows93.net/c/libs/codef/codef_scrolltext.js" type="fd275a669da760fbfab9aa3a-text/javascript"></script>
<script src="//www.windows93.net/c/libs/codef/codef_fx.js" type="fd275a669da760fbfab9aa3a-text/javascript"></script>
<script src="//www.windows93.net/c/libs/codef/codef_3d.js" type="fd275a669da760fbfab9aa3a-text/javascript"></script>
<script src="//www.windows93.net/c/libs/howler.min.js" type="fd275a669da760fbfab9aa3a-text/javascript"></script>
<script type="fd275a669da760fbfab9aa3a-text/javascript">
var img = [
"img/hellspawn/chillin.png",
"img/hellspawn/gay.png",
"img/hellspawn/meatball.png",
"img/hellspawn/squidwardtoy.png",
"img/hellspawn/greenwave.png",
];
var mycanvas;
var my2dstarfield;
var my2dstarsparams = [
{ nb: 30, speedy: 2, speedx: -1, params: 0 },
{ nb: 30, speedy: 0.8, speedx: 0.8, params: 1 },
{ nb: 30, speedy: 0.6, speedx: 0.6, params: 2 },
];
var bubble = new Array();
//bubble[0]=new image('data/zip.gif');
bubble[0] = new image(img[Math.floor(Math.random() * img.length)]);
bubble[1] = new image(img[Math.floor(Math.random() * img.length)]);
bubble[2] = new image(img[Math.floor(Math.random() * img.length)]);
var mygrad;
var mygradcolor = [
{ color: "rgb(128,0,128)", offset: 0 },
{ color: "rgb(255,20,147)", offset: 0.25 },
{ color: "rgb(128,0,128)", offset: 0.5 },
{ color: "rgb(255,20,147)", offset: 0.75 },
{ color: "rgb(128,0,128)", offset: 1 },
{ color: "rgb(128,0,128)", offset: 0 },
];
var myfont = new image("img/font.png");
var mycanvas;
var myscrolltext;
var myscrollparam = [{ myvalue: 0, amp: 125, inc: 0.2, offset: -0.04 }];
var myimage = new image("/img/tips/bg_acid.png");
var mycanvas;
var myoffscreencanvas;
var myfx;
var myfxparam = [
{ value: 0, amp: 30, inc: 0.03, offset: -0.05 },
{ value: 0, amp: 30, inc: 0.01, offset: 0.08 },
];
var my3d;
var myobj = new Array();
var myobjvert = new Array();
myobjvert = [
{ x: -300, y: 0, z: 300 },
{ x: 300, y: 0, z: 300 },
{ x: 300, y: 0, z: -300 },
{ x: -300, y: 0, z: -300 },
{ x: 0, y: 400, z: 0 },
{ x: 0, y: -400, z: 0 },
];
myobj = [
{ p1: 1, p2: 4, p3: 0, params: new MeshBasicMaterial({ color: 0x00ffff, opacity: 0.7 }) },
{ p1: 2, p2: 4, p3: 1, params: new MeshBasicMaterial({ color: 0xeeeeee, opacity: 0.7 }) },
{ p1: 3, p2: 4, p3: 2, params: new MeshBasicMaterial({ color: 0xff00ff, opacity: 0.7 }) },
{ p1: 0, p2: 4, p3: 3, params: new MeshBasicMaterial({ color: 0xeeeeee, opacity: 0.7 }) },
{ p1: 0, p2: 5, p3: 1, params: new MeshBasicMaterial({ color: 0xeeeeee, opacity: 0.7 }) },
{ p1: 1, p2: 5, p3: 2, params: new MeshBasicMaterial({ color: 0x00ffff, opacity: 0.7 }) },
{ p1: 2, p2: 5, p3: 3, params: new MeshBasicMaterial({ color: 0xeeeeee, opacity: 0.7 }) },
{ p1: 3, p2: 5, p3: 0, params: new MeshBasicMaterial({ color: 0xff00ff, opacity: 0.7 }) },
];
function init() {
window.addEventListener("resize", onWindowResize, false);
mycanvas = new canvas(window.innerWidth, window.innerHeight, "main");
my2dstarfield = new starfield2D_img(mycanvas, bubble, my2dstarsparams);
mygrad = new grad(mycanvas, mygradcolor);
myfont.initTile(32, 32, 32);
myscrolltext = new scrolltext_horizontal();
myscrolltext.scrtxt = "ALL YOUR BASE ARE BELONG TO US ";
myscrolltext.init(mycanvas, myfont, 1, myscrollparam);
myoffscreencanvas = new canvas(208, 170);
myimage.draw(myoffscreencanvas, 0, 0);
myfx = new FX(myoffscreencanvas, mycanvas, myfxparam);
my3d = new codef3D(mycanvas, 900, 40, 1, 1600);
my3d.faces(myobjvert, myobj, true, false);
//sound
//
var invisiblepink = new Audio("big_one.mp3");
//invisiblepink.playbackRate = 1.2;
invisiblepink.play();
invisiblepink.volume = 1;
invisiblepink.loop = true;
go();
}
function go() {
//mycanvas.fill('#000000');
mygrad.drawV();
my3d.group.rotation.x += 0.01;
my3d.group.rotation.y += 0.02;
my3d.group.rotation.z += 0.04;
my3d.draw();
my2dstarfield.draw();
myfx.siny(window.innerWidth / 2 - 104, window.innerHeight / 2 - 85);
myscrolltext.draw(240 - 16);
requestAnimFrame(go);
}
function onWindowResize() {
console.log(mycanvas);
console.log('??');
mycanvas.canvas.width = window.innerWidth;
mycanvas.canvas.height = window.innerHeight;
mycanvas.canvas.style.width = window.innerWidth + "px";
mycanvas.canvas.style.height = window.innerHeight + "px";
console.log('resize');
document.location.reload(true);
}
init()
</script>
</body><script src="/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js" data-cf-settings="fd275a669da760fbfab9aa3a-|49" defer></script>