写黑客帝国代码(黑客帝国的代码)

hacker2年前黑客资讯105
本文导读目录:

我要黑客帝国里的数字流星雨代码,用html或asp写的

htmlstyle type="text/css"

!--

body {

background-color: #000000;

}

--

/style

Body

script language="JavaScript"

!--

if (document.all){

Cols=60;

Cl=20;//Space's are included so real length is 48!

Cs=20;

Ts=20;

Tc='#008800';

Tc1='#00ff00';

MnS=20;

MxS=30;

I=Cs;

Sp=new Array();S=new Array();Y=new Array();

C=new Array();M=new Array();B=new Array();

RC=new Array();E=new Array();Tcc=new Array(0,1);

document.write(" div id='Container' style='position:absolute;top:0;left:-"+Cs+"'");

document.write(" div style='position:relative'");

for(i=0; i Cols; i++){

S[i]=I+=Cs;

document.write(" div id='A' style='position:absolute;top:0;font-family:Arial;font-size:"

+Ts+"px;left:"+S[i]+";width:"+Ts+"px;height:0px;color:"+Tc+";visibility:hidden' /div");

}

document.write(" /div /div");

for(j=0; j Cols; j++){

RC[j]=1+Math.round(Math.random()*Cl);

Y[j]=0;

Sp[j]=Math.round(MnS+Math.random()*MxS);

for(i=0; i RC[j]; i++){

B[i]='';

C[i]=Math.round(Math.random()*1)+' ';

M[j]=B[0]+=C[i];

}

}

function Cycle(){

Container.style.top=window.document.body.scrollTop;

for (i=0; i Cols; i++){

var r = Math.floor(Math.random()*Tcc.length);

E[i] = ' font color='+Tc1+''+Tcc[r]+' /font';

Y[i]+=Sp[i];

if (Y[i] window.document.body.clientHeight){

for(i2=0; i2 Cols; i2++){

RC[i2]=1+Math.round(Math.random()*Cl);

for(i3=0; i3 RC[i2]; i3++){

B[i3]='';

C[i3]=Math.round(Math.random()*1)+' ';

C[Math.floor(Math.random()*i2)]=' '+' ';

M[i]=B[0]+=C[i3];

Y[i]=-Ts*M[i].length/1.5;

A[i].style.visibility='visible';

}

Sp[i]=Math.round(MnS+Math.random()*MxS);

}

}

A[i].style.top=Y[i];

A[i].innerHTML=M[i]+' '+E[i]+' ';

}

setTimeout('Cycle()',20)

}

Cycle();

}

// --

/script

/body

/html

演示地址:

http://www.toto369.net/jdtx/hkdg.htm

网上找的代码,我给你改了下

黑客帝国--绿色字母雨代码--知道的进

BODY

script language="JavaScript"

!--

if (document.all){

Cols=6;

Cl=24;//Space's are included so real length is 48!

Cs=10;

Ts=10;

Tc='#008800';

Tc1='#00ff00';

MnS=20;

MxS=30;

I=Cs;

Sp=new Array();S=new Array();Y=new Array();

C=new Array();M=new Array();B=new Array();

RC=new Array();E=new Array();Tcc=new Array(0,1);

document.write("div id='Container' style='position:absolute;top:0;left:-"+Cs+"'");

document.write("div style='position:relative'");

for(i=0; i Cols; i++){

S[i]=I+=Cs;

document.write("div id='A' style='position:absolute;top:0;font-family:Arial;font-size:"

+Ts+"px;left:"+S[i]+";width:"+Ts+"px;height:0px;color:"+Tc+";visibility:hidden'/div");

}

document.write("/div/div");

for(j=0; j Cols; j++){

RC[j]=1+Math.round(Math.random()*Cl);

Y[j]=0;

Sp[j]=Math.round(MnS+Math.random()*MxS);

for(i=0; i RC[j]; i++){

B[i]='';

C[i]=Math.round(Math.random()*1)+' ';

M[j]=B[0]+=C[i];

}

}

function Cycle(){

Container.style.top=window.document.body.scrollTop;

for (i=0; i Cols; i++){

var r = Math.floor(Math.random()*Tcc.length);

E[i] = 'font color='+Tc1+''+Tcc[r]+'/font';

Y[i]+=Sp[i];

if (Y[i] window.document.body.clientHeight){

for(i2=0; i2 Cols; i2++){

RC[i2]=1+Math.round(Math.random()*Cl);

for(i3=0; i3 RC[i2]; i3++){

B[i3]='';

C[i3]=Math.round(Math.random()*1)+' ';

C[Math.floor(Math.random()*i2)]=' '+' ';

M[i]=B[0]+=C[i3];

Y[i]=-Ts*M[i].length/1.5;

A[i].style.visibility='visible';

}

Sp[i]=Math.round(MnS+Math.random()*MxS);

}

}

A[i].style.top=Y[i];

A[i].innerHTML=M[i]+' '+E[i]+' ';

}

setTimeout('Cycle()',20)

}

Cycle();

}

// --

/script

演示地址:

http://www.toto369.net/jdtx/hkdg.htm

注:必须要有body标签~

求修改一段C++黑客帝国屏保的代码

在WndProc这个回调函数里加个鼠标移动消息(WM_MOUSEMOVE)的判断即可。

由于这个消息很灵敏,你感觉鼠标没有动,实际也退出了。所以,在这个消息下面再加上一个移动距离的判断即可。距离越短,鼠标移动时退出检测就越灵敏。

例如:

case WM_MOUSEMOVE:

{

static int xPos = 0;// 上一次鼠标位置

static int yPos = 0;

// 如果是0则是之一次接收,存储之一次鼠标位置

if (xPos == 0 || yPos == 0)

{

xPos = LOWORD(lParam);

yPos = HIWORD(lParam);

return 0;

}// 如果不是之一次接收,说明已有上次鼠标位置数据,与本次位置判断一下移动距离(即灵敏度)即可

else if ( abs(xPos - LOWORD(lParam))  100 || abs(yPos -HIWORD(lParam))  100 )

{

    PostQuitMessage(0);// 鼠标移动大于100就退出

}

return 0;

}

abs求出绝对值来判断,可以保证如果算出负数距离仍能正确退出。lParam包含鼠标的xy坐标,需要LOWORD和HIWORD来取出。

实际上很简单,对吧?

既然《黑客帝国》的矩阵都是代码写成的,为什么不写一个生活富足的背景呢?

应该是因为人工智能的创造力不足,他们打造的矩阵只能依据历史上的真实情况进行还原。越真实越能禁锢思想,逃离矩阵的先驱都是发现GUG才怀疑矩阵世界是虚拟的。

怎么把黑客帝国的这段代码放在html主页的背后

!--使用position:absolute;z-index:100;--

canvas id="q"/canvas

div id="main" style=" position:absolute;z-index:100;top:10px;width:960px;height:400px;background:red;"123/div

script type="text/javascript" 

var s = window.screen; 

var width = q.width = s.width; 

var height = q.height = s.height; 

var letters = Array(256).join(1).split(''); 

var _div=document.getElementById("main"); 

_div.style.left=(width-960)/2+"px";//给主页面left定位;

var draw = function () { 

q.getContext('2d').fillStyle='rgba(0,0,0,.05)'; 

q.getContext('2d').fillRect(0,0,width,height); 

q.getContext('2d').fillStyle='#0F0'; 

letters.map(function(y_pos, index){ 

text = String.fromCharCode(3e4+Math.random()*33); 

x_pos = index * 10; 

q.getContext('2d').fillText(text, x_pos, y_pos); 

letters[index] = (y_pos  758 + Math.random() * 1e4) ? 0 : y_pos + 10; 

}); 

}; 

setInterval(draw, 33); 

/script 

黑客帝国尼奥要找的源代码是什么?

是重建锡安的源代码,这段代码可以让他挑选20个人,这电影里说了,按照设计,neo找到的将是一个升级的程序代码,它将升级neo到一个更新的版本,neo此时就变成了一个类似于xp sp3之类的升级包,他将完成整个matrix的升级,成为旧版母体的第七代,新版母体的之一代neo,从此他将直接受工程师控制,为整个的母体添加新的变量,因为工程师作为人,是无法再平衡等式的,所以 *** ith将受到压制,这也是唯一可以救trinity的 *** ,但是,整个锡安只有20个人能活下来。

相关文章

宁夏理工学院邮编(宁夏理工学院)

宁夏理工学院相关信息,可上学校官网查看。有详细介绍。祝你好运。 宁夏理工学院现在有1个校区,分别为宁夏理工学院本部。宁夏理工学院校区地址及简介1、宁夏理工学院本部地址:宁夏石嘴山市大武口区山水大道学院...

法定退休年龄(2020年我国法定的退休年龄是多少

法定退休年龄(2020年我国法定的退休年龄是多少周岁)劳动者退休是需要达到国家规定的条件,并非企业说可以退休就能退休,而企业在执行退休年龄的时候,往往也是需要严格按照国家规定进行。...

手机赚钱软件一天60(手机打字兼职赚钱日结最近

手机赚钱软件一天60(手机打字兼职赚钱日结最近

今天是12月27日,大家下午好。 今天,干货君给大家分享一个新的手机赚钱小项目,就是微信小程序赚钱的方法。 微信小程序如何赚钱呢?我今天要说的不是制作小程序,而是一个名叫享物说的小程序,为了推...

那里可以找到私人黑客联系方式?有事讨教黑客

by cocoruder(frankruer_at_hotmail.com)http://ruder.cdut.net Summary: 百度超级搜霸是百度公司出品的一款免费的浏览器工具栏,提供百度公...

当黑客必读的三本书(人生必读的20本书)

当黑客必读的三本书(人生必读的20本书)

  1、《Hacking》   这本初学者指南着重让你了解黑客是如何工作的以及如何保护自己免受常见的黑客攻击。本书中还包含了黑客所使用的工具和技术。向你展示了如何在你的系统上发现攻击,以便尽可能减少任...

中国人口多少亿(2015中国人口多少亿)

截至2018年末中国大陆总人口:13亿9538万人(不包括香港、澳门特别行政区和台湾省以及海外华侨人数),———————。 每段时期最适人口数量是不同的,总体来说随着社会发展其值逐渐增加。但是,其增长...