{"action":"closed","number":859,"pull_request":{"url":"https://api.github.com/repos/processing/p5.js/pulls/859","id":42658930,"html_url":"https://github.com/processing/p5.js/pull/859","diff_url":"https://github.com/processing/p5.js/pull/859.diff","patch_url":"https://github.com/processing/p5.js/pull/859.patch","issue_url":"https://api.github.com/repos/processing/p5.js/issues/859","number":859,"state":"closed","locked":false,"title":"fixed get() in Pixels","user":{"login":"xyfeng","id":1507265,"avatar_url":"https://avatars.githubusercontent.com/u/1507265?v=3","gravatar_id":"","url":"https://api.github.com/users/xyfeng","html_url":"https://github.com/xyfeng","followers_url":"https://api.github.com/users/xyfeng/followers","following_url":"https://api.github.com/users/xyfeng/following{/other_user}","gists_url":"https://api.github.com/users/xyfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/xyfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xyfeng/subscriptions","organizations_url":"https://api.github.com/users/xyfeng/orgs","repos_url":"https://api.github.com/users/xyfeng/repos","events_url":"https://api.github.com/users/xyfeng/events{/privacy}","received_events_url":"https://api.github.com/users/xyfeng/received_events","type":"User","site_admin":false},"body":"Example code in get() function was broken, it was pointing to the wrong pixels array, also has a wrong index number for pixel (x,y).\r\n\r\n/////////////////\r\nvar img;\r\nfunction preload() {\r\n  img = loadImage(\"assets/rockies.jpg\");\r\n}\r\nfunction setup() {\r\n  image(img, 0, 0);\r\n  var c = get(50, 90);\r\nconsole.log(c);\r\n  fill(c);\r\n  noStroke();\r\n  rect(25, 25, 50, 50);\r\n}","created_at":"2015-08-18T03:53:28Z","updated_at":"2015-08-18T04:47:54Z","closed_at":"2015-08-18T04:47:54Z","merged_at":null,"merge_commit_sha":"2009e705b359a5013b120d1b072e675c21ce2b3d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/processing/p5.js/pulls/859/commits","review_comments_url":"https://api.github.com/repos/processing/p5.js/pulls/859/comments","review_comment_url":"https://api.github.com/repos/processing/p5.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/processing/p5.js/issues/859/comments","statuses_url":"https://api.github.com/repos/processing/p5.js/statuses/67bd643b7418f5ad4eee42ed3221d2c64599da7c","head":{"label":"xyfeng:master","ref":"master","sha":"67bd643b7418f5ad4eee42ed3221d2c64599da7c","user":{"login":"xyfeng","id":1507265,"avatar_url":"https://avatars.githubusercontent.com/u/1507265?v=3","gravatar_id":"","url":"https://api.github.com/users/xyfeng","html_url":"https://github.com/xyfeng","followers_url":"https://api.github.com/users/xyfeng/followers","following_url":"https://api.github.com/users/xyfeng/following{/other_user}","gists_url":"https://api.github.com/users/xyfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/xyfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xyfeng/subscriptions","organizations_url":"https://api.github.com/users/xyfeng/orgs","repos_url":"https://api.github.com/users/xyfeng/repos","events_url":"https://api.github.com/users/xyfeng/events{/privacy}","received_events_url":"https://api.github.com/users/xyfeng/received_events","type":"User","site_admin":false},"repo":{"id":36261159,"name":"p5.js","full_name":"xyfeng/p5.js","owner":{"login":"xyfeng","id":1507265,"avatar_url":"https://avatars.githubusercontent.com/u/1507265?v=3","gravatar_id":"","url":"https://api.github.com/users/xyfeng","html_url":"https://github.com/xyfeng","followers_url":"https://api.github.com/users/xyfeng/followers","following_url":"https://api.github.com/users/xyfeng/following{/other_user}","gists_url":"https://api.github.com/users/xyfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/xyfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xyfeng/subscriptions","organizations_url":"https://api.github.com/users/xyfeng/orgs","repos_url":"https://api.github.com/users/xyfeng/repos","events_url":"https://api.github.com/users/xyfeng/events{/privacy}","received_events_url":"https://api.github.com/users/xyfeng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xyfeng/p5.js","description":"A JS client-side library for creating graphic and interactive experiences, based on the core principles of Processing. http://twitter.com/p5xjs —","fork":true,"url":"https://api.github.com/repos/xyfeng/p5.js","forks_url":"https://api.github.com/repos/xyfeng/p5.js/forks","keys_url":"https://api.github.com/repos/xyfeng/p5.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xyfeng/p5.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xyfeng/p5.js/teams","hooks_url":"https://api.github.com/repos/xyfeng/p5.js/hooks","issue_events_url":"https://api.github.com/repos/xyfeng/p5.js/issues/events{/number}","events_url":"https://api.github.com/repos/xyfeng/p5.js/events","assignees_url":"https://api.github.com/repos/xyfeng/p5.js/assignees{/user}","branches_url":"https://api.github.com/repos/xyfeng/p5.js/branches{/branch}","tags_url":"https://api.github.com/repos/xyfeng/p5.js/tags","blobs_url":"https://api.github.com/repos/xyfeng/p5.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xyfeng/p5.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xyfeng/p5.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/xyfeng/p5.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xyfeng/p5.js/statuses/{sha}","languages_url":"https://api.github.com/repos/xyfeng/p5.js/languages","stargazers_url":"https://api.github.com/repos/xyfeng/p5.js/stargazers","contributors_url":"https://api.github.com/repos/xyfeng/p5.js/contributors","subscribers_url":"https://api.github.com/repos/xyfeng/p5.js/subscribers","subscription_url":"https://api.github.com/repos/xyfeng/p5.js/subscription","commits_url":"https://api.github.com/repos/xyfeng/p5.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/xyfeng/p5.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/xyfeng/p5.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/xyfeng/p5.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/xyfeng/p5.js/contents/{+path}","compare_url":"https://api.github.com/repos/xyfeng/p5.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xyfeng/p5.js/merges","archive_url":"https://api.github.com/repos/xyfeng/p5.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xyfeng/p5.js/downloads","issues_url":"https://api.github.com/repos/xyfeng/p5.js/issues{/number}","pulls_url":"https://api.github.com/repos/xyfeng/p5.js/pulls{/number}","milestones_url":"https://api.github.com/repos/xyfeng/p5.js/milestones{/number}","notifications_url":"https://api.github.com/repos/xyfeng/p5.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xyfeng/p5.js/labels{/name}","releases_url":"https://api.github.com/repos/xyfeng/p5.js/releases{/id}","created_at":"2015-05-26T00:06:04Z","updated_at":"2015-05-26T00:06:05Z","pushed_at":"2015-08-18T04:43:23Z","git_url":"git://github.com/xyfeng/p5.js.git","ssh_url":"git@github.com:xyfeng/p5.js.git","clone_url":"https://github.com/xyfeng/p5.js.git","svn_url":"https://github.com/xyfeng/p5.js","homepage":"http://p5js.org/","size":54346,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"processing:master","ref":"master","sha":"917455841dc935dcdbc1b102a51e91b07be079f8","user":{"login":"processing","id":1617169,"avatar_url":"https://avatars.githubusercontent.com/u/1617169?v=3","gravatar_id":"","url":"https://api.github.com/users/processing","html_url":"https://github.com/processing","followers_url":"https://api.github.com/users/processing/followers","following_url":"https://api.github.com/users/processing/following{/other_user}","gists_url":"https://api.github.com/users/processing/gists{/gist_id}","starred_url":"https://api.github.com/users/processing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/processing/subscriptions","organizations_url":"https://api.github.com/users/processing/orgs","repos_url":"https://api.github.com/users/processing/repos","events_url":"https://api.github.com/users/processing/events{/privacy}","received_events_url":"https://api.github.com/users/processing/received_events","type":"Organization","site_admin":false},"repo":{"id":8424040,"name":"p5.js","full_name":"processing/p5.js","owner":{"login":"processing","id":1617169,"avatar_url":"https://avatars.githubusercontent.com/u/1617169?v=3","gravatar_id":"","url":"https://api.github.com/users/processing","html_url":"https://github.com/processing","followers_url":"https://api.github.com/users/processing/followers","following_url":"https://api.github.com/users/processing/following{/other_user}","gists_url":"https://api.github.com/users/processing/gists{/gist_id}","starred_url":"https://api.github.com/users/processing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/processing/subscriptions","organizations_url":"https://api.github.com/users/processing/orgs","repos_url":"https://api.github.com/users/processing/repos","events_url":"https://api.github.com/users/processing/events{/privacy}","received_events_url":"https://api.github.com/users/processing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/processing/p5.js","description":"p5.js is a JS client-side library for creating graphic and interactive experiences, based on the core principles of Processing. http://twitter.com/p5xjs —","fork":false,"url":"https://api.github.com/repos/processing/p5.js","forks_url":"https://api.github.com/repos/processing/p5.js/forks","keys_url":"https://api.github.com/repos/processing/p5.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/processing/p5.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/processing/p5.js/teams","hooks_url":"https://api.github.com/repos/processing/p5.js/hooks","issue_events_url":"https://api.github.com/repos/processing/p5.js/issues/events{/number}","events_url":"https://api.github.com/repos/processing/p5.js/events","assignees_url":"https://api.github.com/repos/processing/p5.js/assignees{/user}","branches_url":"https://api.github.com/repos/processing/p5.js/branches{/branch}","tags_url":"https://api.github.com/repos/processing/p5.js/tags","blobs_url":"https://api.github.com/repos/processing/p5.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/processing/p5.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/processing/p5.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/processing/p5.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/processing/p5.js/statuses/{sha}","languages_url":"https://api.github.com/repos/processing/p5.js/languages","stargazers_url":"https://api.github.com/repos/processing/p5.js/stargazers","contributors_url":"https://api.github.com/repos/processing/p5.js/contributors","subscribers_url":"https://api.github.com/repos/processing/p5.js/subscribers","subscription_url":"https://api.github.com/repos/processing/p5.js/subscription","commits_url":"https://api.github.com/repos/processing/p5.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/processing/p5.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/processing/p5.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/processing/p5.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/processing/p5.js/contents/{+path}","compare_url":"https://api.github.com/repos/processing/p5.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/processing/p5.js/merges","archive_url":"https://api.github.com/repos/processing/p5.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/processing/p5.js/downloads","issues_url":"https://api.github.com/repos/processing/p5.js/issues{/number}","pulls_url":"https://api.github.com/repos/processing/p5.js/pulls{/number}","milestones_url":"https://api.github.com/repos/processing/p5.js/milestones{/number}","notifications_url":"https://api.github.com/repos/processing/p5.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/processing/p5.js/labels{/name}","releases_url":"https://api.github.com/repos/processing/p5.js/releases{/id}","created_at":"2013-02-26T03:14:47Z","updated_at":"2015-08-17T18:35:53Z","pushed_at":"2015-08-18T04:43:24Z","git_url":"git://github.com/processing/p5.js.git","ssh_url":"git@github.com:processing/p5.js.git","clone_url":"https://github.com/processing/p5.js.git","svn_url":"https://github.com/processing/p5.js","homepage":"http://p5js.org/","size":65019,"stargazers_count":2830,"watchers_count":2830,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":337,"mirror_url":null,"open_issues_count":48,"forks":337,"open_issues":48,"watchers":2830,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/processing/p5.js/pulls/859"},"html":{"href":"https://github.com/processing/p5.js/pull/859"},"issue":{"href":"https://api.github.com/repos/processing/p5.js/issues/859"},"comments":{"href":"https://api.github.com/repos/processing/p5.js/issues/859/comments"},"review_comments":{"href":"https://api.github.com/repos/processing/p5.js/pulls/859/comments"},"review_comment":{"href":"https://api.github.com/repos/processing/p5.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/processing/p5.js/pulls/859/commits"},"statuses":{"href":"https://api.github.com/repos/processing/p5.js/statuses/67bd643b7418f5ad4eee42ed3221d2c64599da7c"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":41,"deletions":30,"changed_files":4}}