How to render Bitmap into Canvas?

What is the highest performance way to render a grid of thousands of tiles in a web browser?

Shawn O'Connor at Quora Visit the source

Was this solution helpful to you?

Other answers

DIVs.

Raghavendra Kidiyoor

Even up to a few hundred elements, IE < 9 can be very slow to create and render. Do you need to render the entire grid at once, or just a portion of it? If the latter, you could use some kind of dynamic render-on-demand system, possibly reusing grid tiles that are no longer in view. The main problem you'll face is that the slow browsers (IE 6, 7 and 8) also lack support for the best solution: HTML Canvas. In this case, if you need to support these browsers, maybe your best option would be Flash.

Andy Farrell

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.