Custom scrolling on html5 canvas

Viewed 8192

What is the recommended way to provide scrolling and native scrollbars for very large data displayed in an hmtl5 canvas?

I need to display data that is 128000x128000 pixels. Using a canvas with width/height set to 128000 is not an option as that would use an enormous amount of RAM (around 61 GB according to my quick calculation).

So I need a way to provide custom scrollbars for an HTML5 canvas.

3 Answers
Related