{"action":"created","issue":{"url":"https://api.github.com/repos/phetsims/scenery/issues/394","labels_url":"https://api.github.com/repos/phetsims/scenery/issues/394/labels{/name}","comments_url":"https://api.github.com/repos/phetsims/scenery/issues/394/comments","events_url":"https://api.github.com/repos/phetsims/scenery/issues/394/events","html_url":"https://github.com/phetsims/scenery/issues/394","id":59530185,"number":394,"title":"Setup pixel-perfect tests for 0.2","user":{"login":"jonathanolson","id":480878,"avatar_url":"https://avatars.githubusercontent.com/u/480878?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanolson","html_url":"https://github.com/jonathanolson","followers_url":"https://api.github.com/users/jonathanolson/followers","following_url":"https://api.github.com/users/jonathanolson/following{/other_user}","gists_url":"https://api.github.com/users/jonathanolson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanolson/subscriptions","organizations_url":"https://api.github.com/users/jonathanolson/orgs","repos_url":"https://api.github.com/users/jonathanolson/repos","events_url":"https://api.github.com/users/jonathanolson/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanolson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jonathanolson","id":480878,"avatar_url":"https://avatars.githubusercontent.com/u/480878?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanolson","html_url":"https://github.com/jonathanolson","followers_url":"https://api.github.com/users/jonathanolson/followers","following_url":"https://api.github.com/users/jonathanolson/following{/other_user}","gists_url":"https://api.github.com/users/jonathanolson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanolson/subscriptions","organizations_url":"https://api.github.com/users/jonathanolson/orgs","repos_url":"https://api.github.com/users/jonathanolson/repos","events_url":"https://api.github.com/users/jonathanolson/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanolson/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-03-02T19:09:45Z","updated_at":"2015-03-03T01:22:05Z","closed_at":null,"body":"Compatibility was removed in the port to 0.2. Further thoughts about testing:\r\n\r\nSVG: Use Canvg to rasterize.\r\nWebGL: run with preserveDrawingBuffer so we can get the raster information.\r\nDOM: no way to rasterize cross-browser\r\n\r\nBackbones can then combine rasterizations of their layers together down to the root backbone, so we can compare a previous rendering the same way as the current rendering."},"comment":{"url":"https://api.github.com/repos/phetsims/scenery/issues/comments/76868206","html_url":"https://github.com/phetsims/scenery/issues/394#issuecomment-76868206","issue_url":"https://api.github.com/repos/phetsims/scenery/issues/394","id":76868206,"user":{"login":"jonathanolson","id":480878,"avatar_url":"https://avatars.githubusercontent.com/u/480878?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanolson","html_url":"https://github.com/jonathanolson","followers_url":"https://api.github.com/users/jonathanolson/followers","following_url":"https://api.github.com/users/jonathanolson/following{/other_user}","gists_url":"https://api.github.com/users/jonathanolson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanolson/subscriptions","organizations_url":"https://api.github.com/users/jonathanolson/orgs","repos_url":"https://api.github.com/users/jonathanolson/repos","events_url":"https://api.github.com/users/jonathanolson/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanolson/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T01:22:05Z","updated_at":"2015-03-03T01:22:05Z","body":"Example from rasterization test in Chrome, with the elements replaced with the HTML from a chipper-built Molarity's Display HTML (311x311 size):\r\n\r\n![scenery-dom-rasterization](https://cloud.githubusercontent.com/assets/480878/6454689/ca9a78d6-c108-11e4-8cdf-048384010047.png)\r\n\r\nTop is the copy-pasted HTML, below is the same thing rendered into a Canvas using the above method. Since Molarity isn't using Canvas (we'll need to figure out a solution for that)."}}