二次貝塞爾曲線參考
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