I am trying to create something like ms paint in jquery and I want it to support 1000X1000 and that's a lot of pixels(one million to be exact).
each pixel is a div so I need a way for handling that much divids. I currently map an array as an image and then create an element for each pixel. but it takes a lot of time and in an image of 500X500. please help.