city41 / pxtobrx

Create Lego mosaics out of video game sprites
http://city41.github.io/pxtobrx
MIT License
26 stars 2 forks source link

mobile safari: large canvases don't render #10

Open city41 opened 9 years ago

city41 commented 9 years ago

on mobile safari, the max width/height of a canvas is 4,096. For large mosaics, they don't render.

The real solution is to stop using canvas for the piece map, something I want to do anyway.

city41 commented 9 years ago

the 4096 limitations is not true on iPhone 6. It looks like the limitation is based on how much memory the device has. Regardless, switching to div based piece map is the way to go.