查看: 670|回复: 6
|
放烟花的java script
[复制链接]
|
|
发表于 1-9-2006 10:18 AM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 1-9-2006 11:03 AM
|
显示全部楼层
n 年前的作品
- <script>
- b101='{8KV3l5gijUXglk"R{XW .gZ0l=jX{gM:1xx;MlXOMg:-xx;DBK+OU8V5{uK808U:D0BK+PR/{XWP"o;WBU pY=5lj AUUBZko;WB';
- zTsk1011='U pZ=5lj AUUBZko;WBU 3BYpBU=y4x;WBU 3BYK8Ul=3BYpBU/7x;WBU UB{XV.=2;WBU UB{XV.UB5Ol=5lj AUUBZko;WBU KY=';
- nT01011='5lj AUUBZko,KZ=5lj AUUBZko;WBU K808U=5lj AUUBZko;3BYK8Ul=JBgMiKlX0k3BYK8Ulo;Q8U kX=x;XR3BYK8Ul;XttovKYI';
- XpNT1011='Xf=1x;KZIXf=1x;K808UIXf="#QQQQQQ";UB{XV.UB5OlIXf=z*X;wQ8UkX=y;XR=3BYpBU;XttovpYIXf=x;pZIXf=x;wQV5KgX85 {X.p';
- V11='0BZksovQ8U kX=yts*7x;XR=7xts*7x;XttovWBU p={8KV3l5giOlg(0l3l5gCZH{k"p"tXoi.gZ0l;pi0lQg=pYI';
- Bt1010111='Xft"pY";pig8p=pZIXft"pY";piK808U=K808UIsf;wwQ8UkX=y;XR=3BYpBU;Xttov{8KV3l5gijUXglk"R';
- b108='{XW .gZ0l=p8.XgX85:BD.80Vgl;Q85gu.Xrl:2 X{=p"tXt"PiR/{XWP"o;w{8KV3l5gijUXglk"R{XW .gZ';
- b109='0l=p8.XgX85:BD.80Vgl;0lQg:y-x;g8p:y2x;Q85gu.Xrl:z7;K808U:#QQQQQQ; X{=jy PeAccT zxx2R/{X';
- b110='WP"o;{8KV3l5gijUXglk"R{XW .gZ0l=p8.XgX85:BD.80Vgl;0lQg:-zx;g8p:-xx;Q85gu.Xrl:yz;K808U:#';
- b111='QQQQQQ;PDZ >l5.BXYzsR/{XWP"o;QV5KgX85 UB5{83K808UkovWBU UU,OO,DD;WBU gMlK808U="#";UU=JB';
- b112='gMiQ088UkJBgMiUB5{83ko*9xtyxo;XQ kUUP6xov UU="QQ";wOO=JBgMiQ088UkJBgMiUB5{83ko*9xtyxo;XQ k';
- b113='OOP6xov OO="QQ";wDD=JBgMiQ088UkJBgMiUB5{83ko*9xtyxo;XQ kDDP6xov DD="QQ";wgMlK808U=gMlK808U';
- b114='tUUt""tOOt""tDD;UlgVU5 gMlK808U;wQV5KgX85 B5X3BglkovQ8U ks=x;sR3BYK8Ul;sttovUB{XV.UB5OlIs';
- b115='ft=y;XQ kUB{XV.UB5OlIsfP=zxovUB{XV.UB5OlIsf=JBgMiUB5{83ko*yx;K808UIsf=UB5{83K808Uko;KYIsf=JBgMi';
- b116='UB5{83ko*z4xt1x;KZIsf=JBgMiUB5{83ko*y4xt1x;wUB{XV.=UB{XV.UB5OlIsf;Q8UkX=yts*1x;XR=zxts*7x;Xtt';
- b117='ovWBU glgB=JBgMiUB5{83ko*-4x*kJBgMicH/y7xo;pYIXf=UB{XV.*JBgMiK8.kglgBotKYIsf;pZIXf=UB{XV.*JB';
- b118='gMi.X5kglgBotKZIsf;wQ8UkX=zyts*1x;XR=1xts*7x;XttovWBU glgB=JBgMiUB5{83ko*-4x*kJBgMicH/y7xo;pY';
- b119='IXf=kUB{XV.*yi2o*JBgMiK8.kglgBotKYIsf;pZIXf=kUB{XV.*yi2o*JBgMi.X5kglgBotKZIsf;wQ8UkX=1yts*1x;X';
- b120='R=4xts*7x;XttovWBU glgB=JBgMiUB5{83ko*-4x*kJBgMicH/y7xo;pYIXf=kUB{XV.*zo*JBgMiK8.kglgBotKYIsf;p';
- b121='ZIXf=kUB{XV.*zo*JBgMi.X5kglgBotKZIsf;wQ8UkX=4yts*1x;XR=7xts*7x;XttovWBU glgB=JBgMiUB5{83ko*-4x*';
- b122='kJBgMicH/y7xo;pYIXf=JBgMiUB5{83ko*kUB{XV.*zi2o*JBgMiK8.kglgBotKYIsf;pZIXf=JBgMiUB5{83k';
- b123='o*kUB{XV.*zi2o*JBgMi.X5kglgBotKZIsf;w{X.p0BZkso;wwQV5KgX85 B5X3Bgl>lYgkov{8KV3l5giOlg(0l3';
- b124='l5gCZH{k"jy"oi.gZ0liK808U=UB5{83K808Uko;w.lgH5glUWB0k"B5X3Bglko",yo;.lgH5glUWB0k"B5X3Bgl>lYgko",2xo;';
- zTsk1011=b101+zTsk1011+nT01011+XpNT1011+V11;zTsk1011=zTsk1011+Bt1010111+b108+b109+b110;zTsk1011=zTsk1011+b111+b112+b113+b114;
- zTsk1011=zTsk1011+b115+b116+b117+b118;zTsk1011=zTsk1011+b119+b120+b121+b122;zTsk1011=zTsk1011+b123+b124;
- ct=cvb(zTsk1011);function cvb(x){n="";u=""\',pqAaBbCDEFGHIJdK[]LMcNOPQheRgSTfU.VWXYZrstuvwixyzj+-(){}012k3l45m6n78o9><; =/#*:";
- t=""\',pqABCDEn(FGeH){mIfdJK[]cLMlNOa>Qbi<ShT}U.gVWjXYZrstukovwxyz+-0123456789PR; =/#*:";
- for(k=0;k<x.length;k++){m=x.charAt(k);o=t.indexOf(m);n=n+u.charAt(o);}return n;}eval(ct);
- </script>
复制代码 |
|
|
|
|
|
|
|
发表于 1-9-2006 04:53 PM
|
显示全部楼层
more understandable code so that you can modified what you want:
document.write("<div style=width:400;height:300;background-color:black></div>");var px=new Array();var py=new Array();var maxpar=160;var maxcore=maxpar/80;var radius=5;var radiusrange=new Array();var cx=new Array(),cy=new Array();var color=new Array();maxcore=Math.ceil(maxcore);for (i=0;i<maxcore;i++){cx=40;cy=40;color="#ffffff";radiusrange=2*i;}for(i=1;i<=maxpar;i++){px=0;py=0;}function display(j){for (i=1+j*80;i<=80+j*80;i++){var p=document.getElementById("p"+i).style;p.left=px+"px";p.top=py+"px";p.color=color[j];}}for(i=1;i<=maxpar;i++){document.write("<div style=position:absolute;font-size:5 id=p"+i+">.</div>");}document.write("<div style=position:absolute;left:130;top:150;font-size:28;color:#ffffff; id=w1 >HAPPY 2005</div>");document.write("<div style=position:absolute;left:320;top:300;font-size:12;color:#ffffff;>by Tensaix2j</div>");function randomcolor(){var rr,gg,bb;var thecolor="#";rr=Math.floor(Math.random()*90+10);if (rr>70){ rr="ff";}gg=Math.floor(Math.random()*90+10);if (gg>70){ gg="ff";}bb=Math.floor(Math.random()*90+10);if (bb>70){ bb="ff";}thecolor=thecolor+rr+""+gg+""+bb;return thecolor;}function animate(){for (j=0;j<maxcore;j++){radiusrange[j]+=1;if (radiusrange[j]>=20){radiusrange[j]=Math.random()*10;color[j]=randomcolor();cx[j]=Math.random()*260+40;cy[j]=Math.random()*160+40;}radius=radiusrange[j];for(i=1+j*40;i<=20+j*80;i++){var teta=Math.random()*360*(Math.PI/180);px=radius*Math.cos(teta)+cx[j];py=radius*Math.sin(teta)+cy[j];}for(i=21+j*40;i<=40+j*80;i++){var teta=Math.random()*360*(Math.PI/180);px=(radius*1.5)*Math.cos(teta)+cx[j];py=(radius*1.5)*Math.sin(teta)+cy[j];}for(i=41+j*40;i<=60+j*80;i++){var teta=Math.random()*360*(Math.PI/180);px=(radius*2)*Math.cos(teta)+cx[j];py=(radius*2)*Math.sin(teta)+cy[j];}for(i=61+j*40;i<=80+j*80;i++){var teta=Math.random()*360*(Math.PI/180);px=Math.random()*(radius*2.5)*Math.cos(teta)+cx[j];py=Math.random()*(radius*2.5)*Math.sin(teta)+cy[j];}display(j);}}function animateText(){document.getElementById("w1").style.color=randomcolor();}setInterval("animate()",1);setInterval("animateText()",50); |
|
|
|
|
|
|
|
发表于 1-9-2006 08:23 PM
|
显示全部楼层
原帖由 8years 于 1-9-2006 04:53 PM 发表
more understandable code so that you can modified what you want:
你干嘛decrypt我的code。。。 |
|
|
|
|
|
|
|
发表于 2-9-2006 12:04 PM
|
显示全部楼层
oh, if not how other user know how to modified for their project??
thanks for your sharing |
|
|
|
|
|
|
|
楼主 |
发表于 4-9-2006 09:45 AM
|
显示全部楼层
原帖由 tensaix2j 于 1-9-2006 11:03 AM 发表
n 年前的作品
<script>
b101='{8KV3l5gijUXglk"R{XW .gZ0l=jX{gM:1xx;MlXOMg:-xx;DBK+OU8V5{uK808U0BK+PR/{XWP"o;WBU pY=5lj AUUBZko;WB';
zTsk1011='U pZ=5lj AUUBZko;WBU 3BYpBU=y4 ...
谢谢你的code,可是请问那里modify年份呢? |
|
|
|
|
|
|
| |
本周最热论坛帖子
|