{"action":"opened","number":154,"pull_request":{"url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/pulls/154","id":41613719,"html_url":"https://github.com/wellcaffeinated/PhysicsJS/pull/154","diff_url":"https://github.com/wellcaffeinated/PhysicsJS/pull/154.diff","patch_url":"https://github.com/wellcaffeinated/PhysicsJS/pull/154.patch","issue_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/issues/154","number":154,"state":"open","locked":false,"title":"Features for non-web game engines","user":{"login":"JosephAustin","id":1711387,"avatar_url":"https://avatars.githubusercontent.com/u/1711387?v=3","gravatar_id":"","url":"https://api.github.com/users/JosephAustin","html_url":"https://github.com/JosephAustin","followers_url":"https://api.github.com/users/JosephAustin/followers","following_url":"https://api.github.com/users/JosephAustin/following{/other_user}","gists_url":"https://api.github.com/users/JosephAustin/gists{/gist_id}","starred_url":"https://api.github.com/users/JosephAustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JosephAustin/subscriptions","organizations_url":"https://api.github.com/users/JosephAustin/orgs","repos_url":"https://api.github.com/users/JosephAustin/repos","events_url":"https://api.github.com/users/JosephAustin/events{/privacy}","received_events_url":"https://api.github.com/users/JosephAustin/received_events","type":"User","site_admin":false},"body":"A few features I've added that helped me in a non-document environment with a javascript game engine. Offering them if desirable. \r\n\r\n* stepDelta for when you don't need to generate a new unix timestamp, as you already have delta time\r\n* onStep for bodies, so that you can modify it to update your sprites or other graphics automatically. In my case, for example, I need it to set the x and y centers of my sprite and set the rotation in degrees. \r\n* Utility functions to convert between radians and degrees\r\n\r\nThanks for the great work!","created_at":"2015-08-04T20:29:41Z","updated_at":"2015-08-04T20:29:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/pulls/154/commits","review_comments_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/pulls/154/comments","review_comment_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/issues/154/comments","statuses_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/statuses/0073c7af4b47b9e27ec704495bc97329c2755aca","head":{"label":"JosephAustin:master","ref":"master","sha":"0073c7af4b47b9e27ec704495bc97329c2755aca","user":{"login":"JosephAustin","id":1711387,"avatar_url":"https://avatars.githubusercontent.com/u/1711387?v=3","gravatar_id":"","url":"https://api.github.com/users/JosephAustin","html_url":"https://github.com/JosephAustin","followers_url":"https://api.github.com/users/JosephAustin/followers","following_url":"https://api.github.com/users/JosephAustin/following{/other_user}","gists_url":"https://api.github.com/users/JosephAustin/gists{/gist_id}","starred_url":"https://api.github.com/users/JosephAustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JosephAustin/subscriptions","organizations_url":"https://api.github.com/users/JosephAustin/orgs","repos_url":"https://api.github.com/users/JosephAustin/repos","events_url":"https://api.github.com/users/JosephAustin/events{/privacy}","received_events_url":"https://api.github.com/users/JosephAustin/received_events","type":"User","site_admin":false},"repo":{"id":40205037,"name":"PhysicsJS","full_name":"JosephAustin/PhysicsJS","owner":{"login":"JosephAustin","id":1711387,"avatar_url":"https://avatars.githubusercontent.com/u/1711387?v=3","gravatar_id":"","url":"https://api.github.com/users/JosephAustin","html_url":"https://github.com/JosephAustin","followers_url":"https://api.github.com/users/JosephAustin/followers","following_url":"https://api.github.com/users/JosephAustin/following{/other_user}","gists_url":"https://api.github.com/users/JosephAustin/gists{/gist_id}","starred_url":"https://api.github.com/users/JosephAustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JosephAustin/subscriptions","organizations_url":"https://api.github.com/users/JosephAustin/orgs","repos_url":"https://api.github.com/users/JosephAustin/repos","events_url":"https://api.github.com/users/JosephAustin/events{/privacy}","received_events_url":"https://api.github.com/users/JosephAustin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JosephAustin/PhysicsJS","description":"A modular, extendable, and easy-to-use physics engine for javascript","fork":true,"url":"https://api.github.com/repos/JosephAustin/PhysicsJS","forks_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/forks","keys_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/teams","hooks_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/hooks","issue_events_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/issues/events{/number}","events_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/events","assignees_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/assignees{/user}","branches_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/branches{/branch}","tags_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/tags","blobs_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/git/refs{/sha}","trees_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/statuses/{sha}","languages_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/languages","stargazers_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/stargazers","contributors_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/contributors","subscribers_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/subscribers","subscription_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/subscription","commits_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/commits{/sha}","git_commits_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/git/commits{/sha}","comments_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/comments{/number}","issue_comment_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/issues/comments{/number}","contents_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/contents/{+path}","compare_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/merges","archive_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/downloads","issues_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/issues{/number}","pulls_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/pulls{/number}","milestones_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/milestones{/number}","notifications_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/labels{/name}","releases_url":"https://api.github.com/repos/JosephAustin/PhysicsJS/releases{/id}","created_at":"2015-08-04T19:32:08Z","updated_at":"2015-08-04T19:32:09Z","pushed_at":"2015-08-04T20:22:39Z","git_url":"git://github.com/JosephAustin/PhysicsJS.git","ssh_url":"git@github.com:JosephAustin/PhysicsJS.git","clone_url":"https://github.com/JosephAustin/PhysicsJS.git","svn_url":"https://github.com/JosephAustin/PhysicsJS","homepage":"http://wellcaffeinated.net/PhysicsJS/","size":4692,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wellcaffeinated:master","ref":"master","sha":"509362fd35abfc5959ad18d1ea824550de4e8ed4","user":{"login":"wellcaffeinated","id":1128935,"avatar_url":"https://avatars.githubusercontent.com/u/1128935?v=3","gravatar_id":"","url":"https://api.github.com/users/wellcaffeinated","html_url":"https://github.com/wellcaffeinated","followers_url":"https://api.github.com/users/wellcaffeinated/followers","following_url":"https://api.github.com/users/wellcaffeinated/following{/other_user}","gists_url":"https://api.github.com/users/wellcaffeinated/gists{/gist_id}","starred_url":"https://api.github.com/users/wellcaffeinated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wellcaffeinated/subscriptions","organizations_url":"https://api.github.com/users/wellcaffeinated/orgs","repos_url":"https://api.github.com/users/wellcaffeinated/repos","events_url":"https://api.github.com/users/wellcaffeinated/events{/privacy}","received_events_url":"https://api.github.com/users/wellcaffeinated/received_events","type":"User","site_admin":false},"repo":{"id":9023386,"name":"PhysicsJS","full_name":"wellcaffeinated/PhysicsJS","owner":{"login":"wellcaffeinated","id":1128935,"avatar_url":"https://avatars.githubusercontent.com/u/1128935?v=3","gravatar_id":"","url":"https://api.github.com/users/wellcaffeinated","html_url":"https://github.com/wellcaffeinated","followers_url":"https://api.github.com/users/wellcaffeinated/followers","following_url":"https://api.github.com/users/wellcaffeinated/following{/other_user}","gists_url":"https://api.github.com/users/wellcaffeinated/gists{/gist_id}","starred_url":"https://api.github.com/users/wellcaffeinated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wellcaffeinated/subscriptions","organizations_url":"https://api.github.com/users/wellcaffeinated/orgs","repos_url":"https://api.github.com/users/wellcaffeinated/repos","events_url":"https://api.github.com/users/wellcaffeinated/events{/privacy}","received_events_url":"https://api.github.com/users/wellcaffeinated/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wellcaffeinated/PhysicsJS","description":"A modular, extendable, and easy-to-use physics engine for javascript","fork":false,"url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS","forks_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/forks","keys_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/teams","hooks_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/hooks","issue_events_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/issues/events{/number}","events_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/events","assignees_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/assignees{/user}","branches_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/branches{/branch}","tags_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/tags","blobs_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/git/refs{/sha}","trees_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/statuses/{sha}","languages_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/languages","stargazers_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/stargazers","contributors_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/contributors","subscribers_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/subscribers","subscription_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/subscription","commits_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/commits{/sha}","git_commits_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/git/commits{/sha}","comments_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/comments{/number}","issue_comment_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/issues/comments{/number}","contents_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/contents/{+path}","compare_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/merges","archive_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/downloads","issues_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/issues{/number}","pulls_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/pulls{/number}","milestones_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/milestones{/number}","notifications_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/labels{/name}","releases_url":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/releases{/id}","created_at":"2013-03-26T05:12:54Z","updated_at":"2015-08-04T06:55:58Z","pushed_at":"2015-06-10T22:05:06Z","git_url":"git://github.com/wellcaffeinated/PhysicsJS.git","ssh_url":"git@github.com:wellcaffeinated/PhysicsJS.git","clone_url":"https://github.com/wellcaffeinated/PhysicsJS.git","svn_url":"https://github.com/wellcaffeinated/PhysicsJS","homepage":"http://wellcaffeinated.net/PhysicsJS/","size":6739,"stargazers_count":2430,"watchers_count":2430,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":304,"mirror_url":null,"open_issues_count":34,"forks":304,"open_issues":34,"watchers":2430,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/pulls/154"},"html":{"href":"https://github.com/wellcaffeinated/PhysicsJS/pull/154"},"issue":{"href":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/issues/154"},"comments":{"href":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/issues/154/comments"},"review_comments":{"href":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/pulls/154/comments"},"review_comment":{"href":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/pulls/154/commits"},"statuses":{"href":"https://api.github.com/repos/wellcaffeinated/PhysicsJS/statuses/0073c7af4b47b9e27ec704495bc97329c2755aca"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":59,"deletions":5,"changed_files":3}}