{"action":"created","issue":{"url":"https://api.github.com/repos/processing/p5.js/issues/1381","repository_url":"https://api.github.com/repos/processing/p5.js","labels_url":"https://api.github.com/repos/processing/p5.js/issues/1381/labels{/name}","comments_url":"https://api.github.com/repos/processing/p5.js/issues/1381/comments","events_url":"https://api.github.com/repos/processing/p5.js/issues/1381/events","html_url":"https://github.com/processing/p5.js/issues/1381","id":151442618,"number":1381,"title":"noSmooth() not working","user":{"login":"noisefactor","id":13488265,"avatar_url":"https://avatars.githubusercontent.com/u/13488265?v=3","gravatar_id":"","url":"https://api.github.com/users/noisefactor","html_url":"https://github.com/noisefactor","followers_url":"https://api.github.com/users/noisefactor/followers","following_url":"https://api.github.com/users/noisefactor/following{/other_user}","gists_url":"https://api.github.com/users/noisefactor/gists{/gist_id}","starred_url":"https://api.github.com/users/noisefactor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noisefactor/subscriptions","organizations_url":"https://api.github.com/users/noisefactor/orgs","repos_url":"https://api.github.com/users/noisefactor/repos","events_url":"https://api.github.com/users/noisefactor/events{/privacy}","received_events_url":"https://api.github.com/users/noisefactor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-27T17:25:51Z","updated_at":"2016-04-28T16:19:14Z","closed_at":null,"body":"I've been trying to figure out how to achieve pixelated drawing without success.  When I analyze the noSmooth() reference demo for Chrome, Safari, and Epic, there's no difference between the two ellipses.  I'm guessing that the support for aliased lines in modern browsers is non-existent, but I'm just curious if someone can shed some light on this.  Has anyone representing p5js petitioned developers of Webkit, etc. to fix pixelated image-rendering/line-rendering functionality for Canvas? "},"comment":{"url":"https://api.github.com/repos/processing/p5.js/issues/comments/215482512","html_url":"https://github.com/processing/p5.js/issues/1381#issuecomment-215482512","issue_url":"https://api.github.com/repos/processing/p5.js/issues/1381","id":215482512,"user":{"login":"noisefactor","id":13488265,"avatar_url":"https://avatars.githubusercontent.com/u/13488265?v=3","gravatar_id":"","url":"https://api.github.com/users/noisefactor","html_url":"https://github.com/noisefactor","followers_url":"https://api.github.com/users/noisefactor/followers","following_url":"https://api.github.com/users/noisefactor/following{/other_user}","gists_url":"https://api.github.com/users/noisefactor/gists{/gist_id}","starred_url":"https://api.github.com/users/noisefactor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noisefactor/subscriptions","organizations_url":"https://api.github.com/users/noisefactor/orgs","repos_url":"https://api.github.com/users/noisefactor/repos","events_url":"https://api.github.com/users/noisefactor/events{/privacy}","received_events_url":"https://api.github.com/users/noisefactor/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T16:19:13Z","updated_at":"2016-04-28T16:19:13Z","body":"According to comment #22 here (http://stackoverflow.com/questions/195262/can-i-turn-off-antialiasing-on-an-html-canvas-element), there's a boolean flag in Firefox (that could be added to the noSmooth function)...\r\n\r\ncontextXYZ.mozImageSmoothingEnabled = false;"}}