さ〜ちらいと
- スーラ林
- 最終更新日:
- 495 Views!
- 5 Zup!
新作できました!
いつものようにをコピーしてに貼り付けてください。
javascript:(function(){document.body.style.filter="light()";var x1=Math.floor(Math.random()*screen.width);var y1=Math.floor(Math.random()*screen.height);var dx1=Math.floor(Math.random()*21)-10;dx1+=dx1==0?1:0;var dy1=Math.floor(Math.random()*21)-10;dy1+=dy1==0?1:0;var z1=Math.floor(Math.random()*101)+50;var dz1=Math.floor(Math.random()*7)-3;dz1+=dz1==0?1:0;var cl=[Math.floor(Math.random()*256),Math.floor(Math.random()*256),Math.floor(Math.random()*256)];var clf=[true,true,true];var curcl=Math.floor(Math.random()*3);document.body.filters.light.addPoint(x1,y1,z1,cl[0],cl[1],cl[2],100);var t=setInterval(function(){with(document.body){filters.light.moveLight(0,x1,y1,z1,1);filters.light.changeColor(0,cl[0],cl[1],cl[2],1);}x1+=dx1;if(x1<0){dx1=-dx1;x1=0;}if(x1>screen.width){dx1=-dx1;x1=screen.width;}y1+=dy1;if(y1<0){dy1=-dy1;y1=0;}if(y1>screen.height){dy1=-dy1;y1=screen.height;}z1+=dz1;if(z1<50){dz1=-dz1;z1=50;}if(z1>150){dz1=-dz1;}cl[curcl]+=clf[curcl]?1:-1;if(cl[curcl]<0){cl[curcl]=0;cl[curcl]=true;}if(cl[curcl]>255){cl[curcl]=255;cl[curcl]=false;}if(Math.floor(Math.random()*100)==0){curcl=Math.floor(Math.random()*3);}if(Math.floor(Math.random*100)==0){dx1=Math.floor(Math.random()*21)-10;dy1=Math.floor(Math.random()*21)-10;dz1=Math.floor(Math.random()*7)-3;}},1);eval();})();
…更新で元に戻ります。
稀にサーチライトが動かないことがあるのでその時は更新してからやり直してください。
Wazap!以外のところの方がわかりやすいです。
IE推奨です。IE7で動作確認しました。
後、動作が重たいのでGoogleなど、できるだけ軽いページでやった方がいいです。
いつものようにをコピーしてに貼り付けてください。
javascript:(function(){document.body.style.filter="light()";var x1=Math.floor(Math.random()*screen.width);var y1=Math.floor(Math.random()*screen.height);var dx1=Math.floor(Math.random()*21)-10;dx1+=dx1==0?1:0;var dy1=Math.floor(Math.random()*21)-10;dy1+=dy1==0?1:0;var z1=Math.floor(Math.random()*101)+50;var dz1=Math.floor(Math.random()*7)-3;dz1+=dz1==0?1:0;var cl=[Math.floor(Math.random()*256),Math.floor(Math.random()*256),Math.floor(Math.random()*256)];var clf=[true,true,true];var curcl=Math.floor(Math.random()*3);document.body.filters.light.addPoint(x1,y1,z1,cl[0],cl[1],cl[2],100);var t=setInterval(function(){with(document.body){filters.light.moveLight(0,x1,y1,z1,1);filters.light.changeColor(0,cl[0],cl[1],cl[2],1);}x1+=dx1;if(x1<0){dx1=-dx1;x1=0;}if(x1>screen.width){dx1=-dx1;x1=screen.width;}y1+=dy1;if(y1<0){dy1=-dy1;y1=0;}if(y1>screen.height){dy1=-dy1;y1=screen.height;}z1+=dz1;if(z1<50){dz1=-dz1;z1=50;}if(z1>150){dz1=-dz1;}cl[curcl]+=clf[curcl]?1:-1;if(cl[curcl]<0){cl[curcl]=0;cl[curcl]=true;}if(cl[curcl]>255){cl[curcl]=255;cl[curcl]=false;}if(Math.floor(Math.random()*100)==0){curcl=Math.floor(Math.random()*3);}if(Math.floor(Math.random*100)==0){dx1=Math.floor(Math.random()*21)-10;dy1=Math.floor(Math.random()*21)-10;dz1=Math.floor(Math.random()*7)-3;}},1);eval();})();
…更新で元に戻ります。
稀にサーチライトが動かないことがあるのでその時は更新してからやり直してください。
Wazap!以外のところの方がわかりやすいです。
IE推奨です。IE7で動作確認しました。
後、動作が重たいのでGoogleなど、できるだけ軽いページでやった方がいいです。
結果
サーチライトです。
この攻略記事を読んだ方はこちらも読んでいます
ユーザーコメント(5件)
キャンセル X
- こうさかきりの
- No.2613991
- 2018-12-12 19:57 投稿
よくわかりません
すごく気になるのですけど
すごく気になるのですけど
- DarkStorm
- No.2613983
- 2018-12-12 18:16 投稿
サーチライトって何?
- 清誠
- No.1807183
- 2009-11-12 17:10 投稿
かっこいい
すごくいいです。
すごくいいです。
- しーくんくん
- No.1672091
- 2009-03-08 10:56 投稿
凄い 凄いです。
お疲れ様です。
お疲れ様です。
- 南米
- No.1670584
- 2009-03-06 19:33 投稿
Googleがかっこいい表示になっちゃいました!