Is it better to have one big canvas or up to 100 small dynamically generated canvases?

Viewed 1972

I am working on a mobile web dice simulator. The initial prototype is here: http://dicewalla.com

I currently have one large canvas where I draw all the dice. I am planning to re-write the code in way that is more MVC and easier for me to update. I think it would be easier for me to generate a small canvas for each die object than to draw all of the dice on the big canvas and keep updating that big canvas.

My question is if there is a bad performance hit in having the browser create lots of little canvases vs one big one. It's hard to test locally, I was hoping someone here might know what the best practice is.

2 Answers
Related