我有一个“泡沫发生器”,它大部分都在工作,但没有正确地清除泡沫,我也搞不清楚原因。一直盯着这个看了一段时间。具体来说,一些泡沫浮起时正在被“清除”,另一些则没有,我看不出原因。啊!m;j++){ newBubbles.push( 0区生成器+j );} generatorsi = Math.max(0,Math.min(w,generatorsi +Math.random()*10drawn in the last loop by setting alpha channel to 0 (transparent): if(i<(l-1)){ x= 0|b