{"action":"opened","number":645,"pull_request":{"url":"https://api.github.com/repos/CodingTrain/website/pulls/645","id":196955210,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2OTU1MjEw","html_url":"https://github.com/CodingTrain/website/pull/645","diff_url":"https://github.com/CodingTrain/website/pull/645.diff","patch_url":"https://github.com/CodingTrain/website/pull/645.patch","issue_url":"https://api.github.com/repos/CodingTrain/website/issues/645","number":645,"state":"open","locked":false,"title":"Add port to p5.js of coding challenge 107 (sandpiles)","user":{"login":"edorfaus","id":112590,"node_id":"MDQ6VXNlcjExMjU5MA==","avatar_url":"https://avatars0.githubusercontent.com/u/112590?v=4","gravatar_id":"","url":"https://api.github.com/users/edorfaus","html_url":"https://github.com/edorfaus","followers_url":"https://api.github.com/users/edorfaus/followers","following_url":"https://api.github.com/users/edorfaus/following{/other_user}","gists_url":"https://api.github.com/users/edorfaus/gists{/gist_id}","starred_url":"https://api.github.com/users/edorfaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edorfaus/subscriptions","organizations_url":"https://api.github.com/users/edorfaus/orgs","repos_url":"https://api.github.com/users/edorfaus/repos","events_url":"https://api.github.com/users/edorfaus/events{/privacy}","received_events_url":"https://api.github.com/users/edorfaus/received_events","type":"User","site_admin":false},"body":"This PR first adds a straight port (only the required changes) of the Processing code, and then adds some changes on top of that to make it run faster (since it was being very slow - less than 0.4 fps on my PC).\r\n\r\nI tried to keep the final result close to the original Processing code, and kept the changes in a separate commit so people can see what I changed (and hopefully why) if they want to.","created_at":"2018-06-24T15:27:59Z","updated_at":"2018-06-24T15:27:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CodingTrain/website/pulls/645/commits","review_comments_url":"https://api.github.com/repos/CodingTrain/website/pulls/645/comments","review_comment_url":"https://api.github.com/repos/CodingTrain/website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodingTrain/website/issues/645/comments","statuses_url":"https://api.github.com/repos/CodingTrain/website/statuses/8e614037814391ceb605aae0963724c761bd2550","head":{"label":"edorfaus:feature/convert-CC-107-to-p5js","ref":"feature/convert-CC-107-to-p5js","sha":"8e614037814391ceb605aae0963724c761bd2550","user":{"login":"edorfaus","id":112590,"node_id":"MDQ6VXNlcjExMjU5MA==","avatar_url":"https://avatars0.githubusercontent.com/u/112590?v=4","gravatar_id":"","url":"https://api.github.com/users/edorfaus","html_url":"https://github.com/edorfaus","followers_url":"https://api.github.com/users/edorfaus/followers","following_url":"https://api.github.com/users/edorfaus/following{/other_user}","gists_url":"https://api.github.com/users/edorfaus/gists{/gist_id}","starred_url":"https://api.github.com/users/edorfaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edorfaus/subscriptions","organizations_url":"https://api.github.com/users/edorfaus/orgs","repos_url":"https://api.github.com/users/edorfaus/repos","events_url":"https://api.github.com/users/edorfaus/events{/privacy}","received_events_url":"https://api.github.com/users/edorfaus/received_events","type":"User","site_admin":false},"repo":{"id":138491959,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg0OTE5NTk=","name":"coding-train-website","full_name":"edorfaus/coding-train-website","owner":{"login":"edorfaus","id":112590,"node_id":"MDQ6VXNlcjExMjU5MA==","avatar_url":"https://avatars0.githubusercontent.com/u/112590?v=4","gravatar_id":"","url":"https://api.github.com/users/edorfaus","html_url":"https://github.com/edorfaus","followers_url":"https://api.github.com/users/edorfaus/followers","following_url":"https://api.github.com/users/edorfaus/following{/other_user}","gists_url":"https://api.github.com/users/edorfaus/gists{/gist_id}","starred_url":"https://api.github.com/users/edorfaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edorfaus/subscriptions","organizations_url":"https://api.github.com/users/edorfaus/orgs","repos_url":"https://api.github.com/users/edorfaus/repos","events_url":"https://api.github.com/users/edorfaus/events{/privacy}","received_events_url":"https://api.github.com/users/edorfaus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edorfaus/coding-train-website","description":"Coding Train website","fork":true,"url":"https://api.github.com/repos/edorfaus/coding-train-website","forks_url":"https://api.github.com/repos/edorfaus/coding-train-website/forks","keys_url":"https://api.github.com/repos/edorfaus/coding-train-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edorfaus/coding-train-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edorfaus/coding-train-website/teams","hooks_url":"https://api.github.com/repos/edorfaus/coding-train-website/hooks","issue_events_url":"https://api.github.com/repos/edorfaus/coding-train-website/issues/events{/number}","events_url":"https://api.github.com/repos/edorfaus/coding-train-website/events","assignees_url":"https://api.github.com/repos/edorfaus/coding-train-website/assignees{/user}","branches_url":"https://api.github.com/repos/edorfaus/coding-train-website/branches{/branch}","tags_url":"https://api.github.com/repos/edorfaus/coding-train-website/tags","blobs_url":"https://api.github.com/repos/edorfaus/coding-train-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edorfaus/coding-train-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edorfaus/coding-train-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/edorfaus/coding-train-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edorfaus/coding-train-website/statuses/{sha}","languages_url":"https://api.github.com/repos/edorfaus/coding-train-website/languages","stargazers_url":"https://api.github.com/repos/edorfaus/coding-train-website/stargazers","contributors_url":"https://api.github.com/repos/edorfaus/coding-train-website/contributors","subscribers_url":"https://api.github.com/repos/edorfaus/coding-train-website/subscribers","subscription_url":"https://api.github.com/repos/edorfaus/coding-train-website/subscription","commits_url":"https://api.github.com/repos/edorfaus/coding-train-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/edorfaus/coding-train-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/edorfaus/coding-train-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/edorfaus/coding-train-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/edorfaus/coding-train-website/contents/{+path}","compare_url":"https://api.github.com/repos/edorfaus/coding-train-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edorfaus/coding-train-website/merges","archive_url":"https://api.github.com/repos/edorfaus/coding-train-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edorfaus/coding-train-website/downloads","issues_url":"https://api.github.com/repos/edorfaus/coding-train-website/issues{/number}","pulls_url":"https://api.github.com/repos/edorfaus/coding-train-website/pulls{/number}","milestones_url":"https://api.github.com/repos/edorfaus/coding-train-website/milestones{/number}","notifications_url":"https://api.github.com/repos/edorfaus/coding-train-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edorfaus/coding-train-website/labels{/name}","releases_url":"https://api.github.com/repos/edorfaus/coding-train-website/releases{/id}","deployments_url":"https://api.github.com/repos/edorfaus/coding-train-website/deployments","created_at":"2018-06-24T15:09:52Z","updated_at":"2018-06-24T15:10:42Z","pushed_at":"2018-06-24T15:14:25Z","git_url":"git://github.com/edorfaus/coding-train-website.git","ssh_url":"git@github.com:edorfaus/coding-train-website.git","clone_url":"https://github.com/edorfaus/coding-train-website.git","svn_url":"https://github.com/edorfaus/coding-train-website","homepage":"http://codingtra.in","size":49712,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CodingTrain:master","ref":"master","sha":"dc3473e04e65c643b3f8352e77860745314519d7","user":{"login":"CodingTrain","id":18553964,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NTUzOTY0","avatar_url":"https://avatars0.githubusercontent.com/u/18553964?v=4","gravatar_id":"","url":"https://api.github.com/users/CodingTrain","html_url":"https://github.com/CodingTrain","followers_url":"https://api.github.com/users/CodingTrain/followers","following_url":"https://api.github.com/users/CodingTrain/following{/other_user}","gists_url":"https://api.github.com/users/CodingTrain/gists{/gist_id}","starred_url":"https://api.github.com/users/CodingTrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodingTrain/subscriptions","organizations_url":"https://api.github.com/users/CodingTrain/orgs","repos_url":"https://api.github.com/users/CodingTrain/repos","events_url":"https://api.github.com/users/CodingTrain/events{/privacy}","received_events_url":"https://api.github.com/users/CodingTrain/received_events","type":"Organization","site_admin":false},"repo":{"id":41337249,"node_id":"MDEwOlJlcG9zaXRvcnk0MTMzNzI0OQ==","name":"website","full_name":"CodingTrain/website","owner":{"login":"CodingTrain","id":18553964,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NTUzOTY0","avatar_url":"https://avatars0.githubusercontent.com/u/18553964?v=4","gravatar_id":"","url":"https://api.github.com/users/CodingTrain","html_url":"https://github.com/CodingTrain","followers_url":"https://api.github.com/users/CodingTrain/followers","following_url":"https://api.github.com/users/CodingTrain/following{/other_user}","gists_url":"https://api.github.com/users/CodingTrain/gists{/gist_id}","starred_url":"https://api.github.com/users/CodingTrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodingTrain/subscriptions","organizations_url":"https://api.github.com/users/CodingTrain/orgs","repos_url":"https://api.github.com/users/CodingTrain/repos","events_url":"https://api.github.com/users/CodingTrain/events{/privacy}","received_events_url":"https://api.github.com/users/CodingTrain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodingTrain/website","description":"Coding Train website","fork":false,"url":"https://api.github.com/repos/CodingTrain/website","forks_url":"https://api.github.com/repos/CodingTrain/website/forks","keys_url":"https://api.github.com/repos/CodingTrain/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodingTrain/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodingTrain/website/teams","hooks_url":"https://api.github.com/repos/CodingTrain/website/hooks","issue_events_url":"https://api.github.com/repos/CodingTrain/website/issues/events{/number}","events_url":"https://api.github.com/repos/CodingTrain/website/events","assignees_url":"https://api.github.com/repos/CodingTrain/website/assignees{/user}","branches_url":"https://api.github.com/repos/CodingTrain/website/branches{/branch}","tags_url":"https://api.github.com/repos/CodingTrain/website/tags","blobs_url":"https://api.github.com/repos/CodingTrain/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodingTrain/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodingTrain/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodingTrain/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodingTrain/website/statuses/{sha}","languages_url":"https://api.github.com/repos/CodingTrain/website/languages","stargazers_url":"https://api.github.com/repos/CodingTrain/website/stargazers","contributors_url":"https://api.github.com/repos/CodingTrain/website/contributors","subscribers_url":"https://api.github.com/repos/CodingTrain/website/subscribers","subscription_url":"https://api.github.com/repos/CodingTrain/website/subscription","commits_url":"https://api.github.com/repos/CodingTrain/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodingTrain/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodingTrain/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodingTrain/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodingTrain/website/contents/{+path}","compare_url":"https://api.github.com/repos/CodingTrain/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodingTrain/website/merges","archive_url":"https://api.github.com/repos/CodingTrain/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodingTrain/website/downloads","issues_url":"https://api.github.com/repos/CodingTrain/website/issues{/number}","pulls_url":"https://api.github.com/repos/CodingTrain/website/pulls{/number}","milestones_url":"https://api.github.com/repos/CodingTrain/website/milestones{/number}","notifications_url":"https://api.github.com/repos/CodingTrain/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodingTrain/website/labels{/name}","releases_url":"https://api.github.com/repos/CodingTrain/website/releases{/id}","deployments_url":"https://api.github.com/repos/CodingTrain/website/deployments","created_at":"2015-08-25T02:03:37Z","updated_at":"2018-06-23T02:33:44Z","pushed_at":"2018-06-23T03:13:55Z","git_url":"git://github.com/CodingTrain/website.git","ssh_url":"git@github.com:CodingTrain/website.git","clone_url":"https://github.com/CodingTrain/website.git","svn_url":"https://github.com/CodingTrain/website","homepage":"http://codingtra.in","size":49712,"stargazers_count":2489,"watchers_count":2489,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2949,"mirror_url":null,"archived":false,"open_issues_count":58,"license":null,"forks":2949,"open_issues":58,"watchers":2489,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CodingTrain/website/pulls/645"},"html":{"href":"https://github.com/CodingTrain/website/pull/645"},"issue":{"href":"https://api.github.com/repos/CodingTrain/website/issues/645"},"comments":{"href":"https://api.github.com/repos/CodingTrain/website/issues/645/comments"},"review_comments":{"href":"https://api.github.com/repos/CodingTrain/website/pulls/645/comments"},"review_comment":{"href":"https://api.github.com/repos/CodingTrain/website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodingTrain/website/pulls/645/commits"},"statuses":{"href":"https://api.github.com/repos/CodingTrain/website/statuses/8e614037814391ceb605aae0963724c761bd2550"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":109,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"edorfaus"}}