二次贝塞尔曲线参考
http://blogs.sitepointstatic.com/examples/tech/canvas-curves/quadratic-curve.html
三次贝塞尔曲线参考
http://blogs.sitepointstatic.com/examples/tech/canvas-curves/bezier-curve.html
http://blogs.sitepointstatic.com/examples/tech/canvas-curves/quadratic-curve.html
三次贝塞尔曲线参考
http://blogs.sitepointstatic.com/examples/tech/canvas-curves/bezier-curve.html
2015-10-30
最赞回答 / kateonline
fruitObj.prototype.born = function (i) { var aneId = Math.floor(Math.random() * ane.num); this.aneNO[i]=aneId; this.x[i] = ane.headx[aneId];//确定起始位置 this.y[i] = ane.heady[aneId];//确定起始位置 this.l[i] = 0; this.alive[i]=true; var ran=Math...
2015-10-30