![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
HTML5
文章平均质量分 77
sun-shadow
我是一个聪明,会学习,能加班的优秀程序员。
展开
-
小球在屏幕上随机移动
.canvas{ background:#000; } var S = { start: function(){ Drawing.init(); var d = new Dot(5,20); Drawing.loop(function (){ d.move();原创 2014-10-12 21:48:06 · 2078 阅读 · 0 评论 -
文字的颗粒效果
.canvas{ background:#666; } var S = { start:function(){ Draw.init(); var dots = this.createPoint(Draw._draw()); Draw.loop(function(){ for(var d = 0; d < dots.len原创 2014-10-12 21:48:03 · 873 阅读 · 0 评论 -
散点形成矩形
var S = { start: function(){ Draw.init(); var dots = this.createPoint(this.Rectangle(30,20)); Draw.loop(function(){ for(var i = 0; i < dots.length;i++){ dots[i].render();原创 2014-10-12 21:44:05 · 3298 阅读 · 0 评论 -
不断增加点
.canvas{ background:#000; } var S = { start: function(){ Drawing.init(); var d = new Dot(5,20); Drawing.loop(function (){ d.move();原创 2014-10-12 21:44:07 · 494 阅读 · 0 评论 -
js形成心形效果
var S = { start: function(){ Draw.init(); //Draw.drawRadial(); Shape.switchShape(Shape.drawHeart()); Draw.loop(function(){ Shape.render(); }); } }; Point = fun原创 2014-10-18 20:45:33 · 8252 阅读 · 0 评论