第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

大魚喂小魚為什么沒(méi)有圈圈

var haloObj = function()

{

this.x = [];

this.y = [];

this.alive = [];

this.r = [];

}

haloObj.prototype.num = 5;

haloObj.prototype.init =function()

{

for (var i = 0;i < this.num; i++)?

{

? ?this.x[i] = 0;

? ?this.y[i] = 0;

? ?this.alive[i] = false;

? ?this.r[i] = 0;

}

}

haloObj.prototype.draw = function()

{

ctx1.save();

ctx1.lineWidth = 2;

ctx1.shadowBlur = 10;

ctx1.shadowColor = "rgba(206, 91, 0, 1)";

for(var i = 0;i < this.num; i++)

{

if(!this.alive[i])

{

//draw

this.r[i] += deltaTime * 0.05;

if(this.r[i] > 100)

{

this.alive[i] = false;

break;

}

var alpha = 1 - this.r[i] / 100;

ctx1.beginPath();

ctx1.arc(this.x[i], this.y[i], this.r[i], 0, Math.PI *2);

ctx1.closePath();

ctx1.strokeStyle = "rgba(203, 91 ,0"+alpha+")";

ctx1.stroke();

}

}

ctx1.restore();

}

haloObj.prototype.born = function(x, y)

{

for(var i= ?o; i < this.num[i]; i++)

{

if (!this.alive[i])?

{

this.x[i] = x;

this.y[i] = y;

this.r[i] = 10;

this.alive[i] = true;

return;

}

}

}



正在回答

舉報(bào)

0/150
提交
取消

大魚喂小魚為什么沒(méi)有圈圈

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)