doubt
Alright, I think it boils down to performance, experiment would give an idea, But I guess that the browser will only paint all all the objects in the program in each frame per second of the requestAnimationFrame() Than handing all the operations of painting all the objects in one time, In my code, after I did a performance check, I discovered that the each animation frame does heavy rendering requiring massive consumption of system resources. I will experiment offscreen canvas and compare then choose the best solution. Hmm
Обсуждают сегодня