二次貝塞爾曲線參考
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
break是結(jié)束循環(huán),continue是跳出本次循環(huán)。所以6分20秒處,應(yīng)該是 continue 而非 break 吧
2015-10-26