processing js, bad graphics resolution on mobile

edited January 2017 in JavaScript Mode

Hi, all. I'm working in a project that implies the use of processing graphics within an html doc. Everything went fine until I set the viewport meta-tag for mobile uses on the html header Since this very moment, the quality of graphics has worsened. It's like a misunderstanding of the resolution output or whatever. The fact is graphics are very pixelated now in the mobile version (android and apple (working fine on iPad))

on setup(processing): size(w, h, P2D);

where: (on previous javascript tag) var h = window.innerHeight; var w = window.innerWidth;

Does anyone have experimented this problem before? I'd be very grateful for any advise you could give to me.

(Ups: I forgot to say that smooth is present on setup)

Answers

Sign In or Register to comment.