當前位置:首頁 » 電影百科 » 電影的黑客代碼雨怎麼弄
擴展閱讀
懷舊戰爭電影完整版100部 2025-07-05 15:53:43
兒童愛國電影排行榜 2025-07-05 14:35:03

電影的黑客代碼雨怎麼弄

發布時間: 2022-07-11 01:38:14

1. 屏幕保護設置黑客帝國數字雨,怎麼做

在C:\WINDOWS\system32文件夾里,後綴名為scr的文件就是屏幕保護程序,選擇你需要拷貝的屏幕保護程序,然後復制到你電腦的C:\WINDOWS\system32下即可。

或者在各大黑客論壇下載 以前我下載過 還用過 還是不錯的 現在換WIN7系統了 沒怎麼搞

2. ps做黑客帝國數字雨,要靜態圖片

1.首先把數字布滿整個版面
2.然後把你需要的人像放到數字層之上,把本圖層的混合選項設置為疊加.
效果就出來了,希望能幫到你.

3. 怎麼用PS做黑客帝國的數字雨效果啊網上的教程做出來看不清具體的數字雨內容,但電影里是可以看清具體

要用ae做

4. 黑客帝國文字雨 flash 怎麼製作

可用C語言編程來達到黑客文字雨的效果。。。

效果如下:

代碼如下,vc++編譯通過。。

#include<windows.h>

#defineID_TIMER1

#defineSTRMAXLEN25//一個顯示列的最大長度

#defineSTRMINLEN8//一個顯示列的最小長度

LRESULTCALLBACKWndProc(HWND,UINT,WPARAM,LPARAM);

//////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////

typedefstructtagCharChain//整個當作屏幕的一個顯示列,這是個雙向列表

{

structtagCharChain*prev;//鏈表的前個元素

TCHARch;//一個顯示列中的一個字元

structtagCharChain*next;//鏈表的後個元素

}CharChain,*pCharChain;

typedefstructtagCharColumn

{

CharChain*head,*current,*point;

intx,y,iStrLen;//顯示列的開始顯示的x,y坐標,iStrLen是這個列的長度

intiStopTimes,iMustStopTimes;//已經停滯的次數和必須停滯的次數,必須停滯的次數是隨機的

}CharColumn,*pCharColumn;

intmain(HINSTANCEhInstance,HINSTANCEhPrevInstance,PSTRszCmdLine,intiCmdShow)

{

staticTCHARszAppName[]=TEXT("matrix");

HWNDhwnd;

MSGmsg;

WNDCLASSwndclass;

wndclass.style=CS_HREDRAW|CS_VREDRAW;

wndclass.lpfnWndProc=WndProc;

wndclass.cbClsExtra=0;

wndclass.cbWndExtra=0;

wndclass.hInstance=hInstance;

wndclass.hIcon=LoadIcon(NULL,IDI_APPLICATION);

wndclass.hCursor=LoadCursor(NULL,IDC_ARROW);

wndclass.hbrBackground=(HBRUSH)GetStockObject(BLACK_BRUSH);

wndclass.lpszMenuName=NULL;

wndclass.lpszClassName=szAppName;

if(!RegisterClass(&wndclass))

{

MessageBox(NULL,TEXT("此程序必須運行在NT下!"),szAppName,MB_ICONERROR);

return0;

}

hwnd=CreateWindow(szAppName,NULL,

WS_DLGFRAME|WS_THICKFRAME|WS_POPUP,

0,0,

GetSystemMetrics(SM_CXSCREEN),GetSystemMetrics(SM_CYSCREEN),

NULL,NULL,hInstance,

NULL);

ShowWindow(hwnd,SW_SHOWMAXIMIZED);//最大化顯示

UpdateWindow(hwnd);

ShowCursor(FALSE);//隱藏滑鼠游標

srand((int)GetCurrentTime());//初始化隨機數發生器

while(GetMessage(&msg,NULL,0,0))

{

TranslateMessage(&msg);

DispatchMessage(&msg);

}

ShowCursor(TRUE);//顯示滑鼠游標

returnmsg.wParam;

}

TCHARrandomChar()//隨機字元產生函數

{

return(TCHAR)(rand()%(126-33)+33);//33到126之間

}

intinit(CharColumn*cc,intcyScreen,intx)//初始化

{

intj;

cc->iStrLen=rand()%(STRMAXLEN-STRMINLEN)+STRMINLEN;//顯示列的長度

cc->x=x+3;//顯示列的開始顯示的x坐標

cc->y=rand()%3?rand()%cyScreen:0;//顯示列的開始顯示的y坐標

cc->iMustStopTimes=rand()%6;

cc->iStopTimes=0;

cc->head=cc->current=

(pCharChain)calloc(cc->iStrLen,sizeof(CharChain));//生成顯示列

for(j=0;j<cc->iStrLen-1;j++)

{

cc->current->prev=cc->point;//cc->point一個顯示列的前個元素

cc->current->ch='';

cc->current->next=cc->current+1;//cc->current+1一個顯示列的後個元素

cc->point=cc->current++;//cc->point=cc->current;cc->current++;

}

cc->current->prev=cc->point;//最後一個節點

cc->current->ch='';

cc->current->next=cc->head;

cc->head->prev=cc->current;//頭節點的前一個為此鏈的最後一個元素

cc->current=cc->point=cc->head;//free掉申請的內存要用current當參數

cc->head->ch=randomChar();//對鏈表頭的元素填充

return0;

}

LRESULTCALLBACKWndProc(HWNDhwnd,UINTmessage,WPARAMwParam,LPARAMlParam)

{

HDChdc;

//ctn用來確定一個顯示鏈是否向下前進,如果等待次數超過必須等待的次數,ctn就代表要向下前進

inti,j,temp,ctn;//j為一個顯示鏈中除鏈表頭外的在屏幕上顯示的y坐標,temp綠色過度到黑色之用

staticHDChdcMem;

HFONThFont;

staticHBITMAPhBitmap;

staticintcxScreen,cyScreen;//屏幕的寬度高度.

staticintiFontWidth=10,iFontHeight=15,iColumnCount;//字體的寬度高度,列數

staticCharColumn*ccChain;

switch(message)

{

caseWM_CREATE:

cxScreen=GetSystemMetrics(SM_CXSCREEN);//屏幕寬度

cyScreen=GetSystemMetrics(SM_CYSCREEN);

SetTimer(hwnd,ID_TIMER,10,NULL);

hdc=GetDC(hwnd);

hdcMem=CreateCompatibleDC(hdc);

hBitmap=CreateCompatibleBitmap(hdc,cxScreen,cyScreen);

SelectObject(hdcMem,hBitmap);

ReleaseDC(hwnd,hdc);

//創建字體

hFont=CreateFont(iFontHeight,iFontWidth-5,0,0,FW_BOLD,0,0,0,

DEFAULT_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,

DRAFT_QUALITY,FIXED_PITCH|FF_SWISS,TEXT("Fixedsys"));

SelectObject(hdcMem,hFont);

DeleteObject(hFont);

SetBkMode(hdcMem,TRANSPARENT);//設置背景模式為透明

iColumnCount=cxScreen/(iFontWidth*3/2);//屏幕所顯示字母雨的列數

ccChain=(pCharColumn)calloc(iColumnCount,sizeof(CharColumn));

for(i=0;i<iColumnCount;i++)

{

init(ccChain+i,cyScreen,(iFontWidth*3/2)*i);

}

return0;

caseWM_TIMER:

hdc=GetDC(hwnd);

PatBlt(hdcMem,0,0,cxScreen,cyScreen,BLACKNESS);//將內存設備映像刷成黑色

for(i=0;i<iColumnCount;i++)

{

ctn=(ccChain+i)->iStopTimes++>(ccChain+i)->iMustStopTimes;

//

(ccChain+i)->point=(ccChain+i)->head;//point用於遍歷整個顯示列

//第一個字元顯示為白色

SetTextColor(hdcMem,RGB(255,255,255));

TextOut(hdcMem,(ccChain+i)->x,(ccChain+i)->y,&((ccChain+i)->point->ch),1);

j=(ccChain+i)->y;

(ccChain+i)->point=(ccChain+i)->point->next;

//遍歷整個顯示列,將這個顯示列里的字元從下往上顯示

temp=0;//temp綠色過度到黑色之用

while((ccChain+i)->point!=(ccChain+i)->head&&(ccChain+i)->point->ch)

{

SetTextColor(hdcMem,RGB(0,255-(255*(temp++)/(ccChain+i)->iStrLen),0));

TextOut(hdcMem,(ccChain+i)->x,j-=iFontHeight,&((ccChain+i)->point->ch),1);

(ccChain+i)->point=(ccChain+i)->point->next;

}

if(ctn)

(ccChain+i)->iStopTimes=0;

elsecontinue;

(ccChain+i)->y+=iFontHeight;//下次開始顯示的y坐標為當前的y坐標加上一個字元的高度

//如果開始顯示的y坐標減去整個顯示列的長度超過了屏幕的高度

if((ccChain+i)->y-(ccChain+i)->iStrLen*iFontHeight>cyScreen)

{

free((ccChain+i)->current);

init(ccChain+i,cyScreen,(iFontWidth*3/2)*i);

}

//鏈表的頭為此鏈表的前個元素,因為下次開始顯示的時候就相當與在整個顯示列的開頭添加個元素,然後在開始往上顯示

(ccChain+i)->head=(ccChain+i)->head->prev;

(ccChain+i)->head->ch=randomChar();

}

BitBlt(hdc,0,0,cxScreen,cyScreen,hdcMem,0,0,SRCCOPY);

ReleaseDC(hwnd,hdc);

return0;

caseWM_RBUTTONDOWN:

KillTimer(hwnd,ID_TIMER);

return0;

caseWM_RBUTTONUP:

SetTimer(hwnd,ID_TIMER,10,NULL);

return0;

//處理善後工作

caseWM_KEYDOWN:

caseWM_LBUTTONDOWN:

caseWM_DESTROY:

KillTimer(hwnd,ID_TIMER);

DeleteObject(hBitmap);

DeleteDC(hdcMem);

for(i=0;i<iColumnCount;i++)

{

free((ccChain+i)->current);

}

free(ccChain);

PostQuitMessage(0);

return0;

}

returnDefWindowProc(hwnd,message,wParam,lParam);

}

5. 黑客帝國數字雨使用CMD命令

在電腦上新建一個文檔,寫入代碼,運行,就可以實現黑客帝國里數字雨的效果。具體操作方法方法如下:

1、新建一個文本文檔。

注意事項:

1、如果不能運行,請檢查代碼的標點符號是不是有中文符號,代碼內所有符號必須是英文的。

2、網上有些帶有網址的(http//...)的數字雨代碼,請不要使用,實現該功能不需要進入其他網址,帶有網址的代碼疑似為病毒,例如某經驗上提供的數字雨代碼。

6. 黑客帝國--綠色字母雨代碼--知道的進

<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>標簽~

7. 誰幫我弄個黑客帝國數字雨呀,我想要是010101010101010的,沒字母的,求助大家

我有自己做的,premiere做的,就幾秒鍾的視頻,要的話留地址明天發給你,現在沒帶。

8. 求黑客帝國數字雨的製作方法

復制以下內容到記事本,另存為「黑客帝國數字雨.bat 」運行即可或再按Alt+Enter全屏!@echo %dbg% off
setlocal ENABLEDELAYEDEXPANSION
mode con cols=80 lines=30
clsset 退格=
set redtek=" "set end=0:start set /a end+=1 call :calc set /p=!setspaces! <nul&ping /n 1 127.1>nul set /p=%退格%<nul set /p=%redtek:~1,79%<nul&echo. goto :start:calc if %end%==28 ( set /a end=0 & cls & set /a cols=!random:~0,2! echo ... 風力:!cols! ... if !cols! GTR 76 set cols=76 if !cols! LSS 2 set cols=2 set setspaces=!redtek:~1,%cols%!!random:~0,1! goto :eof )@echo off

mode con cols=80
color 02
for /f %%i in (test.txt) do set str_char=%%i
set str_blank=
setlocal enabledelayedexpansion:loop
:: 取隨機位置上的字元
set /a num_char=1%random:~-1%%random:~0,1%-100
set char=!str_char:~-%num_char%,1!:: 設置隨機長度的空格
set /a num_blank=1%random:~-1%%random:~0,1%-100
set blank=!str_blank:~0,%num_blank%!
echo.%blank%%char%
goto loop@echo off

mode con cols=80
set a=~`!@#%.*(){}[]_+-=\"'?.,/^&^^^>^<
set b=
setlocal enabledelayedexpansion
:a
set /a num=%random%%%92
set 字元=!a:~-%num%,1!
set/a c=%random%%%80
set 空格=!b:~-%c%!
echo %空格%^%字元%
goto a
@echo off

mode con cols=80 LINES=30
set a=~`!@#%.*(){}[]_+-=\"'?.,/^&^^^>^<
set b=
setlocal enabledelayedexpansion
:a
set /a num=%random%%%92
set 字元=!a:~-%num%,1!
set/a c=%random%%%80
set 空格=!b:~-%c%!
::echo. %空格%^%字元%set/a i+=1
rem 指針=i 尾指針=j
set/a j=i-30
set line%i%=%空格%^%字元%
FOR /L %%v IN (%i%,-1,%j%) DO echo.!line%%v!
::ping /n 127.1>nul
goto a@echo off

::mode con cols=80
setlocal ENABLEDELAYEDEXPANSION
color 02goto BEGIN
goto :eof::function mt_rand "a" "b"
:mt_rand
::(
set a=%~1
set b=%~2
set /a _mt_rand=(!random!%%(%b%-%a%))+%a%
exit /b 0
::):BEGIN
::{--
SET iWidth=80
SET iDensity=6
SET sText="#$&'()*+,-./0123456789:;<>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
SET sText=!sText:"=!
set /A iText=90-1for /l %%i in (1,1,%iWidth%) do (
set aDown%%i=0
):loop
for /l %%I in (1,1,%iWidth%) do (
set /a aDown%%I-=1
if !aDown%%I! LSS 0 (
call :mt_rand "0" "%iDensity%"&&set aArrow%%I=!_mt_rand!
call :mt_rand "10" "25"&&set aDown%%I=!_mt_rand!
)
if !aArrow%%I! EQU 1 (
call :mt_rand "0" "%iText%"&&(FOR %%M IN ("!_mt_rand!") DO SET aa=!sText:~%%~M,1!)
set /p=!aa!<nul
) else (
set /p= <nul
)
)
goto loop
::--}:exit
exit /b 0@echo off

setlocal ENABLEDELAYEDEXPANSION
color 02for /l %%i in (1,1,80) do (
set Down%%i=0
):loop
for /l %%j in (1,1,80) do (
set /a Down%%j-=1
if !down%%j! LSS 0 (
set /a Arrow%%j=!random!%%4
set /a Down%%j=!random!%%15+10
)
if "!Arrow%%j!" == "1" (
set /a chr=!random!%%2
set /p=!chr!<nul
) else (
set /p= <nul
)
)
goto loop
goto :eof@echo off

setlocal ENABLEDELAYEDEXPANSION
for /l %%i in (1,1,80) do (
set Down%%i=0
)for /l %%i in (0) do (
set line=
for /l %%j in (1,1,80) do (
set /a Down%%j-=1
call set x=!down%%j!
if !x! LSS 0 (
set /a Arrow%%j=!random!%%6
set /a Down%%j=!random!%%15+10
)
call set x=!Arrow%%j!
if "!x!" == "1" (
set line=!line!1
) else (set "line=!line! ")
)
call set /p=!line!<nul
)[/code]

9. 黑客帝國里主角用那種發光的代碼表示的效果是怎麼做出來的,能用ps做嗎,就是想把一個人用那種數字雨

靜態的就是ps做的,動態要用AE製作