Skip to content

Commit

Permalink
Create index512.html
Browse files Browse the repository at this point in the history
  • Loading branch information
KilledByAPixel committed Mar 15, 2024
1 parent ad396e2 commit d00adc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 512B/MountainRun/index512.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<canvas id=c><script>setInterval(_=>{++t;x=c.getContext`2d`;c.width=c.height=w=2e3;C=Math.cos;for(s=g=j=0;++j<8;D=r=>x.fillRect(X-=C(a),Y+=C(a+11),6,6,r&&D(r-1)))for(i=w,q=j-2,d=j*w+t/45*q**3|0;i--;A=i*j,A<w&&x.fillRect(A,B=q?j>1?129+g+j*j*13:0:r*9,j,q?w:r%1,x[F='fillStyle']=`hsl(${g/3-42*j} ${B/9}%${q?B/15-9:w}%`))for(g+=s=(r=++d**2.9%40)<4?r-2:s-g/2e3,k=4;j==6&i%26==9&&k--;D(r,a+=q*C(b-2)+q))x[F]='#000',X=A,Y=B-C(n=t/3+i)*5-68,q=k&2,D(21+9*--q,a=2),D(r=14+q*2,a=C(b=n/2+22*k)/2-q/2-61)},t=16)</script>

0 comments on commit d00adc7

Please # to comment.