如何做黑客代码雨(怎么写黑客代码)

http://www.itjxue.com  2023-03-17 01:12  来源:未知  点击次数: 

好莱坞电影里的电脑用的是什么操作系统?

好莱坞电影里的电脑用的操作系统有:

1、剪辑制作好莱坞电影的电脑,系统基本上都是MAC OS。这是因为世界上有一款最好用的视频制作软件——Final Cut Pro,只兼容苹果系统,所以这款软件几乎是视频制作软件的天下。

2、看好莱坞电影的电脑的系统有些是unix,也有windows。因为他们在这些电脑的系统上也可以安装观看好莱坞影片的模拟器。看起来效果差不多的。

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

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

演示地址:

注:必须要有body标签~

如何实现c语言程序各颜色数字雨代码

#includestdio.h

#includetime.h

#includewindows.h

typedef struct

{

int x,y;

char ch;

}STU;

STU st[100];

//出现位置?

void gotoxy(int x, int y)

{

? HANDLE hout;

? COORD pos;

? pos.X = x;

? pos.Y = y;

? hout = GetStdHandle(STD_OUTPUT_HANDLE);

? SetConsoleCursorPosition(hout, pos);

}

/*隐藏光标*/

void show_cursor(int hide)

{

? CONSOLE_CURSOR_INFO cciCursor;

? HANDLE hout;

? hout = GetStdHandle(STD_OUTPUT_HANDLE);

? if(GetConsoleCursorInfo(hout, cciCursor))

? {

? ? ? cciCursor.bVisible = hide;

? ? ? SetConsoleCursorInfo(hout, cciCursor);

? }

}

/*设置颜色*/

void set_color(int color)

{

? SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), color);

}

main()

{

int i,j;

show_cursor(0);

srand(time(NULL));

//初始化结构体

for (i=0;i100;i++)

{

st[i].x = rand()%80;

st[i].y = rand()%20;

st[i].ch = rand()%(49-47)+48;

}

while (1)

{

for (i=0;i100;i++)

{

gotoxy(st[i].x,st[i].y);

set_color(0x2);//最先出现的颜色;

putchar(st[i].ch);

gotoxy(st[i].x,st[i].y-5);

putchar(' ');

st[i].y++;

st[i].ch = rand()%(49-47)+48;

if (st[i].y-5=18)

{

gotoxy(st[i].x,st[i].y-1);

putchar(' ');

gotoxy(st[i].x,st[i].y-2);

putchar(' ');

gotoxy(st[i].x,st[i].y-3);

putchar(' ');

gotoxy(st[i].x,st[i].y-4);

putchar(' ');

gotoxy(st[i].x,st[i].y-4);

putchar(' ');

}

if (st[i].y 23)

{

st[i].x = rand()%80;

st[i].y = rand()%20;

}

gotoxy(st[i].x,st[i].y);

set_color(0xA);//由前一个颜色渐变成的颜色

putchar(st[i].ch);

}

Sleep(120);

}

}

????color(0);???printf("黑色\n");??????color(1);???printf("蓝色\n");??????color(2);???printf("绿色\n");???????color(3);???printf("湖蓝色\n");??????color(4);???printf("红色\n");??????color(5);???printf("紫色\n");??????color(6);???printf("黄色\n");???????color(7);???printf("白色\n");??????color(8);???printf("灰色\n");??????color(9);???printf("淡蓝色\n");??????color(10);??printf("淡绿色\n");??????color(11);??printf("淡浅绿色\n");???????color(12);??printf("淡红色\n");??????color(13);??printf("淡紫色\n");??????color(14);??printf("淡黄色\n");??????color(15);??printf("亮白色\n")

几个基本的颜色;

(责任编辑:IT教学网)

更多

推荐编程综合文章