【文件属性】:
文件名称:HTML5 Canvas梦幻色彩大树生长动画特效.zip
文件大小:28KB
文件格式:ZIP
更新时间:2022-07-31 03:03:02
js特效-HTML5 Canvas梦幻色彩大树生长动画特效
代码片段:
rotate: function (theta) {
var x = this.x;
var y = this.y;
this.x = Math.cos(theta) * this.x - Math.sin(theta) * this.y;
this.y = Math.sin(theta) * this.x Math.cos(theta) * this.y;
//this.x = Math.cos(theta) * x - Math.sin(theta) * y;
//this.y = Math.sin(theta) * x Math.cos(theta) * y;
return this;
},
【文件预览】:
HTML5 Canvas梦幻色彩大树生长动画特效
----php中文网下载站.url(114B)
----index.html(6KB)
----js()
--------jquery-1.4.2.min.js(71KB)
----php中文网免费下载站.txt(219B)