某段时间喜欢实现雪花的效果,找了好多,这个是比较出众的,当然,没有最好,只有更好的,大家谁有了可以分享出来
2022-03-29 18:55:58 102KB js特效 html5 canvas
1
HTML5开心消消乐小游戏,支持PC端和移动端。《开心消消乐》是一款三消游戏,游戏画面精美、上手简单,玩家只需滑动手指让三个及以上的同色小动物横竖相连即可消除,完成每关的指定消除目标就可以过关。
2022-03-20 21:58:59 2.2MB js特效-HTML5开心消消乐小游戏
1
js特效-HTML5-庆祝2018年烟花动画特效
1
代码片段:  this.newTarget = function() {       return Math.round(Math.random()*(this.radius*2)-this.radius)    }    this.start = 0    this.value = 0    this.radius = options.radius    this.target = this.newTarget()    this.direction = Math.sign(this.target)    this.wander = options.wander    this.speed = options.speed || 1 }
1
代码片段: <html > <head>   <meta charset="UTF-8">   <title>HTML5 Canvas绘制漂亮的蝴蝶飞舞动画特效</title>       <link rel="stylesheet" href="css/style.css?3.1.64"> </head> <body>   [removed][removed]     [removed][removed] </body> </html>
1
JS片段: [removed] var {atan2,sqrt,sin,cos,PI,acos} = Math; function project3D(x,y,z,vars){ x-=vars.camX,y-=vars.camY,z-=vars.camZ; p=atan2(x,z),d=sqrt(z*z x*x),x=sin(p-vars.yaw)*d,z=cos(p-vars.yaw)*d; p=atan2(y,z),d=sqrt(y*y z*z),y=sin(p-vars.pitch)*d,z=cos(p-vars.pitch)*d; n=-9,b=1,l=9,d=1,e=0,f=0,g=x,h=z,k=(h-f)*(l-n)-(g-e)*(d-b),m=((g-e)*(b-f)-(h-f)*(n-e))/k; return {x:vars.cx (n m*(l-n))*vars.scale,y:vars.cy y/z*vars.scale,d:sqrt(x*x y*y z*z)}; } function elevation(x,y,z){ return acos(z / sqrt(x*x y*y z*z)); } function subdivide(shape,subdivisions){ var t=shape.segs.length; for(var i=0;i
1
代码片段: [removed][removed] [removed][removed] [removed][removed] [removed][removed] [removed][removed] [removed][removed] [removed][removed] [removed][removed]
1
特效简介: HTML5响应式多种切换效果轮播大图切换js特效代码
1
代码片段: button {     -webkit-appearance: none;     padding: 12px 24px;     border-radius: 0;     position: fixed;     left: 50%;     bottom: 24px;     -webkit-transform: translateX(-50%);             transform: translateX(-50%);     text-transform: uppercase;     letter-spacing: 2px;     color: white;     background: black;     border: 1px solid white;     cursor: none;   }
1
HTML5全屏幻灯片切换特效是一款超酷响应式图片全屏切换特效。
2021-11-13 09:56:07 456KB js特效-HTML5全屏幻灯片切换特效
1