鱼C论坛

 找回密码
 立即注册
查看: 4411|回复: 2

[吹水] 圣诞树

[复制链接]
发表于 2021-12-24 21:31:37 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
  2. <html>
  3.     <head>
  4.     <title> 圣诞快乐 </title>
  5.     <meta charset="utf-8" >
  6.     <meta name="generator" content="" />
  7.     <style>
  8.                 html, body { width: 100%; height: 100%; margin: 0; padding: 0; border: 0; }
  9.             div { margin: 0; padding: 0; border: 0; }
  10.             .nav {
  11.                 position: absolute;
  12.                 top: 0;
  13.                 left: 0;
  14.                 width: 100%;
  15.                 height: 27px;
  16.                 background-color: white;
  17.                 color: black;
  18.                 text-align: center;
  19.                 line-height: 25px;
  20.             }

  21.             a { color: black; text-decoration: none; border-bottom: 1px dashed black; }
  22.             a:hover { border-bottom: 1px solid red; }

  23.             .previous { float: left; margin-left: 10px; }
  24.             .next { float: right; margin-right: 10px; }
  25.             
  26.             .green { color: green; }
  27.             .red { color: red; }

  28.             textarea { width: 100%; height: 100%; border: 0; padding: 0; margin: 0; padding-bottom: 20px; }
  29.             .block-outer { float: left; width: 22%; height: 100%; padding: 5px; border-left: 1px solid black; margin: 30px 3px 3px 3px; }
  30.             .block-inner { height: 68%; }
  31.             .one { border: 0; }
  32. </style>
  33.     </head>
  34.      
  35.     <body marginwidth="0" marginheight="0">
  36.     <canvas id="c" height="356" width="356">
  37. <script>
  38.             var collapsed = true;
  39.             function toggle() {
  40.                 var fs = top.document.getElementsByTagName('frameset')[0];
  41.                 var f = fs.getElementsByTagName('frame');
  42.                 if (collapsed) {
  43.                     fs.rows = '250px,*';
  44.                     // enable resizing of frames in firefox/opera
  45.                     fs.noResize = false;
  46.                     f[0].noResize = false;
  47.                     f[1].noResize = false;
  48.                 } else {
  49.                     fs.rows = '30px,*';
  50.                     // disable resizing of frames in firefox/opera
  51.                     fs.noResize = true;
  52.                     f[0].noResize = true;
  53.                     f[1].noResize = true;
  54.                 }
  55.                 collapsed = !collapsed;
  56.             }

  57. </script>
  58. <script>
  59.             var b = document.body;
  60.             var c = document.getElementsByTagName('canvas')[0];
  61.             var a = c.getContext('2d');
  62.             document.body.clientWidth; // fix bug in chrome.
  63. </script>
  64. <script>
  65. // start of submission //
  66. M=Math;Q=M.random;J=[];U=16;T=M.sin;E=M.sqrt;for(O=k=0;x=z=j=i=k<200;)with(M[k]=k?c.cloneNode(0):c){width=height=k?32:W=446;with(getContext('2d'))if(k>10|!k)for(font='60px Impact',V='rgba(';I=i*U,fillStyle=k?k==13?V+'205,205,215,.15)':V+(147+I)+','+(k%2?128+I:0)+','+I+',.5)':'#cca',i<7;)beginPath(fill(arc(U-i/3,24-i/2,k==13?4-(i++)/2:8-i++,0,M.PI*2,1)));else for(;x=T(i),y=Q()*2-1,D=x*x+y*y,B=E(D-x/.9-1.5*y+1),R=67*(B+1)*(L=k/9+.8)>>1,i++<W;)if(D<1)beginPath(strokeStyle=V+R+','+(R+B*L>>0)+',40,.1)'),moveTo(U+x*8,U+y*8),lineTo(U+x*U,U+y*U),stroke();for(y=H=k+E(k++)*25,R=Q()*W;P=3,j<H;)J[O++]=[x+=T(R)*P+Q()*6-3,y+=Q()*U-8,z+=T(R-11)*P+Q()*6-3,j/H*20+((j+=U)>H&Q()>.8?Q(P=9)*4:0)>>1]}setInterval(function G(m,l){A=T(D-11);if(l)return(m[2]-l[2])*A+(l[0]-m[0])*T(D);a.clearRect(0,0,W,W);J.sort(G);for(i=0;L=J[i++];a.drawImage(M[L[3]+1],207+L[0]*A+L[2]*T(D)>>0,L[1]>>1)){if(i==2e3)a.fillText('Merry Christmas',U,345);if(!(i%7))a.drawImage(M[13],((157*(i*i)+T(D*5+i*i)*5)%W)>>0,((113*i+(D*i)/60)%(290+i/99))>>0);}D+=.02},1)
  67. // end of submission //
  68. </script>
  69. <a href="http://www.tongqiong.com"></a>

  70. <!--
  71.   -->
  72. </body>
  73. </html>
复制代码
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 2021-12-25 08:43:29 | 显示全部楼层
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 2021-12-25 10:36:08 | 显示全部楼层
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2025-6-29 19:05

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表