💾 Archived View for psicobyte.com › blog › invasion.gmi captured on 2024-05-10 at 12:07:05. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-06-14)
-=-=-=-=-=-=-
2006-10-06
var vmin=2; var vmax=5; var vr=2; var timer1; function iecompattest(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } function Chip(chipname,width,height){ this.named=chipname; this.vx=vmin+vmax*Math.random(); this.vy=vmin+vmax*Math.random(); this.w=width+20; this.h=height; this.xx=0; this.yy=0; this.timer1=null; } function movechip(chipname){ if (document.getElementById){ eval("chip="+chipname); if (window.innerWidth || window.opera){ pageX=window.pageXOffset; pageW=window.innerWidth-40; pageY=window.pageYOffset; pageH=window.innerHeight-20; } else if (document.body){ pageX=iecompattest().scrollLeft; pageW=iecompattest().offsetWidth-40; pageY=iecompattest().scrollTop; pageH=iecompattest().offsetHeight-20; } chip.xx=chip.xx+chip.vx; chip.yy=chip.yy+chip.vy; chip.vx+=vr*(Math.random()-0.5); chip.vy+=vr*(Math.random()-0.5); if(chip.vx>(vmax+vmin)) chip.vx=(vmax+vmin)*2-chip.vx; if(chip.vx(vmax+vmin)) chip.vy=(vmax+vmin)*2-chip.vy; if(chip.vy=pageX+pageW-chip.w){ chip.xx=pageX+pageW-chip.w; chip.vx=-vmin-vmax*Math.random(); } if(chip.yy=pageY+pageH-chip.h) {chip.yy=pageY+pageH-chip.h; chip.vy=-vmin-vmax*Math.random(); } document.getElementById(chip.named).style.left=chip.xx+"px"; document.getElementById(chip.named).style.top=chip.yy+"px"; chip.timer1=setTimeout("movechip('"+chip.named+"')",500); } } var invasor1, invasor2, invasor3, invasor4, invasor5, invasor6, invasor7, invasor8, invasor9 function pagestart(){ invasor1=new Chip("invasor1",24,24); invasor2=new Chip("invasor2",24,33); invasor3=new Chip("invasor3",24,36); invasor4=new Chip("invasor4",24,24); invasor5=new Chip("invasor5",24,33); invasor6=new Chip("invasor6",24,36); invasor7=new Chip("invasor7",24,24); invasor8=new Chip("invasor8",24,33); invasor9=new Chip("invasor9",24,36); movechip("invasor1"); movechip("invasor2"); movechip("invasor3"); movechip("invasor4"); movechip("invasor5"); movechip("invasor6"); movechip("invasor7"); movechip("invasor8"); movechip("invasor9"); } if (window.addEventListener) window.addEventListener("load", pagestart, false) else if (window.attachEvent) window.attachEvent("onload", pagestart) else if (document.getElementById) window.onload=pagestart
¡Oh, cielos! Creo que estamos siendo atacados por una legión de invasores del espacio[1]!
[IMG Invasor (1)][2]
[IMG Invasor (2)][3]
[IMG Invasor (3)][4]
[IMG Invasor (1)][2]
[IMG Invasor (2)][3]
[IMG Invasor (3)][4]
[IMG Invasor (1)][2]
[IMG Invasor (2)][3]
[IMG Invasor (3)][4]
(En recuerdo de lo viejos tiempos en que los sprites[11] dominaban la Tierra)