{"action":"created","issue":{"url":"https://api.github.com/repos/processing-js/processing-js/issues/209","labels_url":"https://api.github.com/repos/processing-js/processing-js/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/processing-js/processing-js/issues/209/comments","events_url":"https://api.github.com/repos/processing-js/processing-js/issues/209/events","html_url":"https://github.com/processing-js/processing-js/issues/209","id":108551158,"number":209,"title":"support high dpi (retina) devices","user":{"login":"kevinbarabash","id":1044413,"avatar_url":"https://avatars.githubusercontent.com/u/1044413?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinbarabash","html_url":"https://github.com/kevinbarabash","followers_url":"https://api.github.com/users/kevinbarabash/followers","following_url":"https://api.github.com/users/kevinbarabash/following{/other_user}","gists_url":"https://api.github.com/users/kevinbarabash/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinbarabash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinbarabash/subscriptions","organizations_url":"https://api.github.com/users/kevinbarabash/orgs","repos_url":"https://api.github.com/users/kevinbarabash/repos","events_url":"https://api.github.com/users/kevinbarabash/events{/privacy}","received_events_url":"https://api.github.com/users/kevinbarabash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-27T18:04:45Z","updated_at":"2015-10-12T05:55:45Z","closed_at":null,"body":"When viewing processing-js programs on a retina device they look blurry compared to everything that's being rendered around them.  Here's a js-fiddle that shows the issue and fix using just a canvas: http://jsfiddle.net/4JH75/.  I think probably the biggest issue is how to modify .resetMatrix() so that existing program will continue to behave correctly without modification."},"comment":{"url":"https://api.github.com/repos/processing-js/processing-js/issues/comments/147297636","html_url":"https://github.com/processing-js/processing-js/issues/209#issuecomment-147297636","issue_url":"https://api.github.com/repos/processing-js/processing-js/issues/209","id":147297636,"user":{"login":"kevinbarabash","id":1044413,"avatar_url":"https://avatars.githubusercontent.com/u/1044413?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinbarabash","html_url":"https://github.com/kevinbarabash","followers_url":"https://api.github.com/users/kevinbarabash/followers","following_url":"https://api.github.com/users/kevinbarabash/following{/other_user}","gists_url":"https://api.github.com/users/kevinbarabash/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinbarabash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinbarabash/subscriptions","organizations_url":"https://api.github.com/users/kevinbarabash/orgs","repos_url":"https://api.github.com/users/kevinbarabash/repos","events_url":"https://api.github.com/users/kevinbarabash/events{/privacy}","received_events_url":"https://api.github.com/users/kevinbarabash/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T05:55:45Z","updated_at":"2015-10-12T05:55:45Z","body":"@Pomax you can check if `window.devicePixelRatio` exists."}}