function anim(){
gl.drawArrays(gl.TRIANGLE_STRIP, 2*st, 4);
if(st++ > 100) return;
// anim();
requestAnimationFrame(anim);
}
The script renders 100 lines in sequence. Why
with requestAnimationFrame I get one moving line but
with recursion I get red square?