HTML5 multiple canvas on a single page

后端 未结 5 2065
滥情空心
滥情空心 2020-12-13 17:08

If we use multiple on a single html page does it hamper the performance of the application that is being developed and does the code get very bul

5条回答
  •  遥遥无期
    2020-12-13 17:53

    According to Mark Pilgrim, it's a good idea to use multiple canvases.

    See This Link

    Using multiple canvases can simplify things on your end, by isolating regions of the screen to update and isolating input events. If your page is well-suited for dividing-up regions of the screen, I say go for it.

提交回复
热议问题