We are about to switch to a new forum software. Until then we have removed the registration on this forum.
All,
I'm porting over some of my large scale(for 4K and up screens) Processing & ProcessingJS work to P5(Love it so far!) and i notice it seems to break on anything larger than 8,192px by 8,192px when i call createCanvas. Ideally i'd like to use something closer to 20,000px.
Ultimately, i end up with a correctly sized and scaled(for dpi) canvas, but nothing gets drawn, it simple remains blank.
Thoughts?
Answers
Perhaps each browser editor have data about the maximum size of the canvas they support.
Sure enough! Links below, thanks for the push Philo.
This for the limits: http://stackoverflow.com/questions/6081483/maximum-size-of-a-canvas-element
"Maximum height/width: 32,767 pixels Maximum area: 268,435,456 pixels (e.g., 16,384 x 16,384)"
And this for testing/tweaking: http://jsfiddle.net/Y79s3/17/