Javascript simulation earth rotation effect code instance

  • 2020-03-30 00:42:14
  • OfStack


<!DOCTYPE html>
<html>
<head><title>JS Simulated earth rotation - KeLeYi </title></head>
<body>
<div><h2>JS Simulate the rotation of the earth </h2></div>
<div id="keleyi_com" style="width:300px;height:300px;"></div>
<script type="text/javascript">
eval(z = 'p="<"+"pre>";for(y in n="zw24l6k
4e3t4jnt4qj24xh2 x42kty24wrt413n243n
9h243pdxt41csb yz43iyb6k43pk7243nm
r24".split(4)){for(a in t=pars
eInt(n[y],36)+(e=x=r=[]))for
(r=!r,i=0;t[a]>i;i+=.05)wi
th(Math)x-= .05,0>cos(o=
new Date/1e3+x/PI)&&(e[~
~(32*sin(o)*sin(.5+y/7))
+60] =-~ r);for(x=0;122>
x;)p+=" *#"[e[x++]+e[x++
]]||(S=("eval"+"(z='"+z.spl
it(B = "\\").join(B+B).split
(Q="'").join(B+Q)+Q+")//m1k")[x/2
+61*y-1]).fontcolor(/\w/.test(S)&&"#
03B");document.getElementById("keleyi_com").innerHTML=p+=B+"\n"}setTimeout(z)')//
</script>
</body>
</html>


Related articles: