黑客,落字黑页HTML源码
本文最后更新于680 天前,其中的信息可能已经过时,如有错误请发送邮件到97376394@qq.com
[precode]
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>木柚村-Muui.Cn </title>
</head>
    <body>
        <canvas id="c"></canvas>
        <script>
            var c=document.getElementById("c");
            var ctx=c.getContext("2d");
                c.width=window.innerWidth;
                c.height=window.innerHeight;
//              ctx.fillRect(0,0,100,100);
//              a,b,c,d分别代表x方向偏移,y方向偏移,宽,高
            var string1 = "abcdefghijklmnopqrstuvwxyz";
                string1.split("");
            var fontsize=20;
                columns=c.width/fontsize;
            var drop = [];
            for(var x=0;x<columns;x++)
            {
                drop[x]=0;
            }
        function drap(){
            ctx.fillStyle="rgba(0,0,0,0.07)";
            ctx.fillRect(0,0,c.width,c.height);
            ctx.fillStyle="#0F0";
            ctx.font=fontsize+"px arial";
            for(var i=0;i<drop.length;i++){
                var text1=string1[Math.floor(Math.random()*string1.length)];
                ctx.fillText(text1,i*fontsize,drop[i]*fontsize);
                drop[i]++;
                if(drop[i]*fontsize>c.height&&Math.random()>0.9){//90%的几率掉落
                    drop[i]=0;
                }
            }
        }
        setInterval(drap,20);
        </script>
    </body>
</html>

[/precode]

暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇