zoukankan      html  css  js  c++  java
  • 3d小蜜蜂

    _="G=[V,j=WV,-j]];jX=83,(+3+KE37Uji&32?70:,-80Y2]b=a[j]=c.cloneNode(LFb.getContext('2d'bAb;x=8#	8-x,6+x(j<17X7;<xeB@x*@x*y,.07$OsetIntervalcLF5;a	e#73E-=7$7<ZaB0#-i$Q,-8Oj++;ZF8Q/((i+)%3095W0-e*5,6-e#*5#OG.sortreturn -eV]}OG.map=L^)/-[,=+]V];y=^X^)(X/6)+;x=0Y8Q;~~H2]W-@x-~H4]/1*^5+/H3]-@yL;!H2]&&Z_beginPath(_moJbezierCurJ()})},j=4OjLj?cA1Q:9Q;z=x=*yZj|(z+1)%.5<.1&&(z*(191+(F527368,xD9+Ui3*e,(59525-y*(5188+(+(280*,yD8-(j&2]j||abs(F8-i%)<54-E&&YE2e4#+e*/|[1$4$,,$,8$][~~(E48+e/3)%10W90+E8,i])cos(>>j*4&15)sin(i(function(b#){H0])*--;)H1]	.StylF'hsla('+[for(`,j+y,Math.),iG.push([_drawImage(a[/8`/2,y_270+'%',(j&15K(y=))50fill1660j/.height=1]+')',i(.5+.5#,e$,1@30+A.width=B.Rect(D*(10*Ei/Fe=Hb[JveTo(Yi*Li=O);Qe3UPI*V[0W],X+Y-KZi^_a.`+x+";for(Y=0;$="`_^ZYXWVUQOLKJHFEDBA@$#	"[Y++];)with(_.split($))_=join(pop());eval(_)
    

      

    Spring bee with springy antennae and my trademark tie from my logo/website.

    In this entry I'm pushing the limits of what is possible with 2d canvas and high-end hardware. To fully enjoy it, it requires to be watched in a very powerful computer with Chrome.

    It renders slowly in any other browser, specially in Safari and Opera. In Firefox and Internet Explorer the rendering speed is decent, but unfortunately, due to subpixel rendering differences between browsers, Chrome is the only browser showing the perfect color scheme. And it seems to have visual glitches in Safari Mac - not my fault! :P

    It includes:

    - Fur rendering
    - Wings with artistic motion blur
    - 3d cloudscape
    - Tie waving in the wind
    - 4 degrees of motion freedom: 2 rotations and 2 translations

    It has been compressed with the awesome Jscrush by Aivopaas.

    Detailed explanation on my blog: http://www.romancortes.com/blog/furbee-my-js1k-spring-13-entry/

    http://js1k.com/2013-spring/demos

  • 相关阅读:
    PHP流程控制之do...while循环的区别
    php流程控制 之循环语句的使用
    PHP流程控制之分支结构switch语句的使用
    PHP流程控制之if语句多种嵌套
    PHP流程控制之嵌套if...else...elseif结构
    PHP基础语法之 三元运算符和其它运算符
    PHP基础语法之 位运算
    php常量和变量之变量引用
    php数据类型之自动转换和强制转换
    php数据类型之查看和判断数据类型
  • 原文地址:https://www.cnblogs.com/dazhaxie/p/2992724.html
Copyright © 2011-2022 走看看