破解软件

破解软件,破解密码,破解工具,破解论坛,破解技术

vb写黑客帝国数字码(vb计算机代码)

本文目录一览:

求"黑客帝国"里电脑屏幕上的"代码"不间断滚动的代码,

把下面复制到记事本,另存为HTML文件。你可以自己DIY一下。

html

head

title类似黑客帝国的01数字流/title

/head

body bgcolor=#000000

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

/body

/html

《黑客帝国》电影里的那种掉落下来的数字怎样实现(在编程里)??

- -做出来了~FLASH和MAYA貌似可以做出这个效果~

FLASH是动画效果~而MAYA就是比较真实的了

我要黑客帝国里的数字流星雨代码,用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

演示地址:

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

vb高手帮忙 vb小程序编写问题

'创建一个窗体,将其BorderStyle设置为 0 - NONE

'添加一个Timer控件

'将下面的代码添加到代码中

'按ESC键退出程序 | 1-9 数字键控制密度 | - + 控制速度

Dim ScreenWordsLen As String

Dim ScreenWordsLen2 As String

Dim iNum As String

Dim iNum2 As String

Dim Num As Integer

Dim Num2 As Integer

Dim a As Integer

Dim b As Integer

Private Sub Form_Load()

'----------------------------控制变量 a控制密度(1-9),b控制速度(=1)

a = 6

b = 20

'----------------------------控制变量

Timer1.Interval = b

'----------------------------对窗体进行初始化设置

Me.Left = 0

Me.Top = 0

Me.Width = Screen.Width

Me.Height = Screen.Height

Me.BackColor = black

Me.ForeColor = HFF00

'----------------------------对窗体进行初始化设置

'----------------------------获取一屏幕宽度所能容纳的数字长度 = ScreenWordsLen

Do While Me.TextWidth(ScreenWordsLen) Screen.Width

ScreenWordsLen = "1" ScreenWordsLen

Loop

ScreenWordsLen = Len(ScreenWordsLen)

'----------------------------获取一屏幕宽度所能容纳的数字长度 = ScreenWordsLen

'----------------------------获取一屏幕高度所能容纳的数字长度 = ScreenWordsLen2

Do While Me.TextHeight(ScreenWordsLen2) Screen.Height

ScreenWordsLen2 = "1" vbCrLf ScreenWordsLen2

Loop

ScreenWordsLen2 = Int(Len(ScreenWordsLen2) / 3) - 1

'----------------------------获取一屏幕高度所能容纳的数字长度 = ScreenWordsLen2

End Sub

Private Sub Timer1_Timer()

'----------------------------获取一排随机数字 = iNum2

For Num = 3 To ScreenWordsLen

If Int(Rnd(Num) * 10) a Then

iNum2 = iNum2 Int(Rnd(Num) * 9)

Else

iNum2 = iNum2 " "

End If

Next Num

'----------------------------获取一排随机数字 = iNum2

'----------------------------屏幕输出步骤:

iNum = Right(iNum, ScreenWordsLen * ScreenWordsLen2)

iNum = iNum vbCrLf iNum2

Me.Cls

Form1.Print iNum

iNum2 = ""

'----------------------------屏幕输出步骤:

End Sub

'-------------按ESC键退出程序 | 1-9 数字键控制密度 | - + 控制速度

Private Sub Form_KeyPress(KeyAscii As Integer)

If KeyAscii = 27 Then

If MsgBox("退出程序", vbYesNo Or 32, "确定退出?") = vbYes Then

Unload Me

Else

Cancel = 1

End If

End If

Select Case KeyAscii

Case 45

Timer1.Interval = Timer1.Interval + 10

Case 43

If Timer1.Interval 10 Then

Timer1.Interval = Timer1.Interval - 10

ElseIf Timer1.Interval = 10 And Timer1.Interval 1 Then

Timer1.Interval = Timer1.Interval - 1

ElseIf Timer1.Interval = 1 Then

Timer1.Interval = 1

End If

Case 49

a = 1

Case 50

a = 2

Case 51

a = 3

Case 52

a = 4

Case 53

a = 5

Case 54

a = 6

Case 55

a = 7

Case 56

a = 8

Case 57

a = 9

End Select

End Sub

'-------------按ESC键退出程序 | 1-9 数字键控制密度 | - + 控制速度

黑客帝国数字雨使用CMD命令

在电脑上新建一个文档,写入代码,运行,就可以实现黑客帝国里数字雨的效果。具体操作方法方法如下:

1、新建一个文本文档。

2、在文档内写入以下代码,并保持。

@echo off

title digitalrain

color 0b

setlocal ENABLEDELAYEDEXPANSION

for /l %%i in (0) do (

set "line="

for /l %%j in (1,1,80) do (

set /a Down%%j-=2

set "x=!Down%%j!"

if !x! LSS 0 (

set /a Arrow%%j=!random!%%3

set /a Down%%j=!random!%%15+10

)

set "x=!Arrow%%j!"

if "!x!" == "2" (

set "line=!line!!random:~-1! "

) else (set "line=!line! ")

)

set /p=!line!nul

)

3、点击文件中的另存为,在另存的时候把文档的后缀由txt改成bat。

4、更改完成后,点击保存。

5、找到另存的文件,以管理员的身份运行。

6、运行效果如下。

注意事项:

1、如果不能运行,请检查代码的标点符号是不是有中文符号,代码内所有符号必须是英文的。

2、网上有些带有网址的(http//...)的数字雨代码,请不要使用,实现该功能不需要进入其他网址,带有网址的代码疑似为病毒,例如某经验上提供的数字雨代码。

  • 评论列表:
  •  听弧颜于
     发布于 2022-06-25 23:56:48  回复该评论
  • ument.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-fa
  •  只影倾酏
     发布于 2022-06-25 22:40:15  回复该评论
  • *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
  •  瑰颈佼人
     发布于 2022-06-26 04:25:01  回复该评论
  • --------------------------获取一屏幕高度所能容纳的数字长度 = ScreenWordsLen2Do While Me.TextHeight(ScreenWordsLen2) Screen.HeightScreenWor

发表评论:

Powered By

Copyright Your WebSite.Some Rights Reserved.