Joined September 2012
·

Josh Lewis

Web Engineer
·
Memphis, TN
·
·
·

Thanks, this is great timing. I just had noticed how crappy animation looked on retina for a recent project of mine.

To save anyone else the trouble, note that

context = canvas.getContext('2d').scale(2,2);

will lead to an undefined context. To prevent that, the code should look more like

context = canvas.getContext('2d')
context.scale(2,2)
Achievements
165 Karma
5,963 Total ProTip Views