{"action":"created","comment":{"url":"https://api.github.com/repos/n8rzz/atc/pulls/comments/83966045","pull_request_review_id":4774412,"id":83966045,"diff_hunk":"@@ -47,20 +47,25 @@ export const angle_offset = (a, b) => {\n };\n \n /**\n- * Constrains an angle to within 0 --> Math.PI * 2\n- *\n- * @function fix_angle\n- * @param radians {number}\n- * @return {number}\n+ * normalize angles to within 0° - 360°\n+ * @param  {number} degrees an angle\n+ * @return {number}         an angle within [0,360]\n  */\n-export const fix_angle = (radians) => {\n-    while (radians > tau()) {","path":"src/assets/scripts/math/circle.js","position":14,"original_position":14,"commit_id":"2fd9c0f154a690d99047e84abbaade781767b889","original_commit_id":"2fd9c0f154a690d99047e84abbaade781767b889","user":{"login":"n8rzz","id":3325985,"avatar_url":"https://avatars.githubusercontent.com/u/3325985?v=3","gravatar_id":"","url":"https://api.github.com/users/n8rzz","html_url":"https://github.com/n8rzz","followers_url":"https://api.github.com/users/n8rzz/followers","following_url":"https://api.github.com/users/n8rzz/following{/other_user}","gists_url":"https://api.github.com/users/n8rzz/gists{/gist_id}","starred_url":"https://api.github.com/users/n8rzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n8rzz/subscriptions","organizations_url":"https://api.github.com/users/n8rzz/orgs","repos_url":"https://api.github.com/users/n8rzz/repos","events_url":"https://api.github.com/users/n8rzz/events{/privacy}","received_events_url":"https://api.github.com/users/n8rzz/received_events","type":"User","site_admin":false},"body":"+1 for getting rid of this while loop!!","created_at":"2016-10-18T22:39:46Z","updated_at":"2016-10-18T22:44:29Z","html_url":"https://github.com/n8rzz/atc/pull/15#discussion_r83966045","pull_request_url":"https://api.github.com/repos/n8rzz/atc/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/n8rzz/atc/pulls/comments/83966045"},"html":{"href":"https://github.com/n8rzz/atc/pull/15#discussion_r83966045"},"pull_request":{"href":"https://api.github.com/repos/n8rzz/atc/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/n8rzz/atc/pulls/15","id":88012691,"html_url":"https://github.com/n8rzz/atc/pull/15","diff_url":"https://github.com/n8rzz/atc/pull/15.diff","patch_url":"https://github.com/n8rzz/atc/pull/15.patch","issue_url":"https://api.github.com/repos/n8rzz/atc/issues/15","number":15,"state":"open","locked":false,"title":"bugfix/ATC-2","user":{"login":"erikquinn","id":5103735,"avatar_url":"https://avatars.githubusercontent.com/u/5103735?v=3","gravatar_id":"","url":"https://api.github.com/users/erikquinn","html_url":"https://github.com/erikquinn","followers_url":"https://api.github.com/users/erikquinn/followers","following_url":"https://api.github.com/users/erikquinn/following{/other_user}","gists_url":"https://api.github.com/users/erikquinn/gists{/gist_id}","starred_url":"https://api.github.com/users/erikquinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikquinn/subscriptions","organizations_url":"https://api.github.com/users/erikquinn/orgs","repos_url":"https://api.github.com/users/erikquinn/repos","events_url":"https://api.github.com/users/erikquinn/events{/privacy}","received_events_url":"https://api.github.com/users/erikquinn/received_events","type":"User","site_admin":false},"body":"Honestly, I've always been confused as to why this bit of code worked before, because it didn't make sense.... apparently something you changed made this wrong logic start being, well.. wrong! lol\r\n\r\nNonetheless, here's part of the resolution to #2. Might be more to it, but I'm done for the day, but wanted to post this here at the very least for now. Probably some issues beyond just this, hence the WIP label.","created_at":"2016-10-05T03:54:46Z","updated_at":"2016-10-18T22:44:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c5b865d691245a4b7c69e92e55078f1af53463be","assignee":{"login":"n8rzz","id":3325985,"avatar_url":"https://avatars.githubusercontent.com/u/3325985?v=3","gravatar_id":"","url":"https://api.github.com/users/n8rzz","html_url":"https://github.com/n8rzz","followers_url":"https://api.github.com/users/n8rzz/followers","following_url":"https://api.github.com/users/n8rzz/following{/other_user}","gists_url":"https://api.github.com/users/n8rzz/gists{/gist_id}","starred_url":"https://api.github.com/users/n8rzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n8rzz/subscriptions","organizations_url":"https://api.github.com/users/n8rzz/orgs","repos_url":"https://api.github.com/users/n8rzz/repos","events_url":"https://api.github.com/users/n8rzz/events{/privacy}","received_events_url":"https://api.github.com/users/n8rzz/received_events","type":"User","site_admin":false},"assignees":[{"login":"n8rzz","id":3325985,"avatar_url":"https://avatars.githubusercontent.com/u/3325985?v=3","gravatar_id":"","url":"https://api.github.com/users/n8rzz","html_url":"https://github.com/n8rzz","followers_url":"https://api.github.com/users/n8rzz/followers","following_url":"https://api.github.com/users/n8rzz/following{/other_user}","gists_url":"https://api.github.com/users/n8rzz/gists{/gist_id}","starred_url":"https://api.github.com/users/n8rzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n8rzz/subscriptions","organizations_url":"https://api.github.com/users/n8rzz/orgs","repos_url":"https://api.github.com/users/n8rzz/repos","events_url":"https://api.github.com/users/n8rzz/events{/privacy}","received_events_url":"https://api.github.com/users/n8rzz/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/n8rzz/atc/milestones/1","html_url":"https://github.com/n8rzz/atc/milestones/v3.0.0","labels_url":"https://api.github.com/repos/n8rzz/atc/milestones/1/labels","id":2037438,"number":1,"title":"v3.0.0","description":"","creator":{"login":"n8rzz","id":3325985,"avatar_url":"https://avatars.githubusercontent.com/u/3325985?v=3","gravatar_id":"","url":"https://api.github.com/users/n8rzz","html_url":"https://github.com/n8rzz","followers_url":"https://api.github.com/users/n8rzz/followers","following_url":"https://api.github.com/users/n8rzz/following{/other_user}","gists_url":"https://api.github.com/users/n8rzz/gists{/gist_id}","starred_url":"https://api.github.com/users/n8rzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n8rzz/subscriptions","organizations_url":"https://api.github.com/users/n8rzz/orgs","repos_url":"https://api.github.com/users/n8rzz/repos","events_url":"https://api.github.com/users/n8rzz/events{/privacy}","received_events_url":"https://api.github.com/users/n8rzz/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":22,"state":"open","created_at":"2016-09-29T11:57:46Z","updated_at":"2016-10-18T22:16:52Z","due_on":"2016-10-31T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/n8rzz/atc/pulls/15/commits","review_comments_url":"https://api.github.com/repos/n8rzz/atc/pulls/15/comments","review_comment_url":"https://api.github.com/repos/n8rzz/atc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/n8rzz/atc/issues/15/comments","statuses_url":"https://api.github.com/repos/n8rzz/atc/statuses/2fd9c0f154a690d99047e84abbaade781767b889","head":{"label":"n8rzz:bugfix/ATC-2","ref":"bugfix/ATC-2","sha":"2fd9c0f154a690d99047e84abbaade781767b889","user":{"login":"n8rzz","id":3325985,"avatar_url":"https://avatars.githubusercontent.com/u/3325985?v=3","gravatar_id":"","url":"https://api.github.com/users/n8rzz","html_url":"https://github.com/n8rzz","followers_url":"https://api.github.com/users/n8rzz/followers","following_url":"https://api.github.com/users/n8rzz/following{/other_user}","gists_url":"https://api.github.com/users/n8rzz/gists{/gist_id}","starred_url":"https://api.github.com/users/n8rzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n8rzz/subscriptions","organizations_url":"https://api.github.com/users/n8rzz/orgs","repos_url":"https://api.github.com/users/n8rzz/repos","events_url":"https://api.github.com/users/n8rzz/events{/privacy}","received_events_url":"https://api.github.com/users/n8rzz/received_events","type":"User","site_admin":false},"repo":{"id":67616103,"name":"atc","full_name":"n8rzz/atc","owner":{"login":"n8rzz","id":3325985,"avatar_url":"https://avatars.githubusercontent.com/u/3325985?v=3","gravatar_id":"","url":"https://api.github.com/users/n8rzz","html_url":"https://github.com/n8rzz","followers_url":"https://api.github.com/users/n8rzz/followers","following_url":"https://api.github.com/users/n8rzz/following{/other_user}","gists_url":"https://api.github.com/users/n8rzz/gists{/gist_id}","starred_url":"https://api.github.com/users/n8rzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n8rzz/subscriptions","organizations_url":"https://api.github.com/users/n8rzz/orgs","repos_url":"https://api.github.com/users/n8rzz/repos","events_url":"https://api.github.com/users/n8rzz/events{/privacy}","received_events_url":"https://api.github.com/users/n8rzz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/n8rzz/atc","description":null,"fork":true,"url":"https://api.github.com/repos/n8rzz/atc","forks_url":"https://api.github.com/repos/n8rzz/atc/forks","keys_url":"https://api.github.com/repos/n8rzz/atc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/n8rzz/atc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/n8rzz/atc/teams","hooks_url":"https://api.github.com/repos/n8rzz/atc/hooks","issue_events_url":"https://api.github.com/repos/n8rzz/atc/issues/events{/number}","events_url":"https://api.github.com/repos/n8rzz/atc/events","assignees_url":"https://api.github.com/repos/n8rzz/atc/assignees{/user}","branches_url":"https://api.github.com/repos/n8rzz/atc/branches{/branch}","tags_url":"https://api.github.com/repos/n8rzz/atc/tags","blobs_url":"https://api.github.com/repos/n8rzz/atc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/n8rzz/atc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/n8rzz/atc/git/refs{/sha}","trees_url":"https://api.github.com/repos/n8rzz/atc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/n8rzz/atc/statuses/{sha}","languages_url":"https://api.github.com/repos/n8rzz/atc/languages","stargazers_url":"https://api.github.com/repos/n8rzz/atc/stargazers","contributors_url":"https://api.github.com/repos/n8rzz/atc/contributors","subscribers_url":"https://api.github.com/repos/n8rzz/atc/subscribers","subscription_url":"https://api.github.com/repos/n8rzz/atc/subscription","commits_url":"https://api.github.com/repos/n8rzz/atc/commits{/sha}","git_commits_url":"https://api.github.com/repos/n8rzz/atc/git/commits{/sha}","comments_url":"https://api.github.com/repos/n8rzz/atc/comments{/number}","issue_comment_url":"https://api.github.com/repos/n8rzz/atc/issues/comments{/number}","contents_url":"https://api.github.com/repos/n8rzz/atc/contents/{+path}","compare_url":"https://api.github.com/repos/n8rzz/atc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/n8rzz/atc/merges","archive_url":"https://api.github.com/repos/n8rzz/atc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/n8rzz/atc/downloads","issues_url":"https://api.github.com/repos/n8rzz/atc/issues{/number}","pulls_url":"https://api.github.com/repos/n8rzz/atc/pulls{/number}","milestones_url":"https://api.github.com/repos/n8rzz/atc/milestones{/number}","notifications_url":"https://api.github.com/repos/n8rzz/atc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/n8rzz/atc/labels{/name}","releases_url":"https://api.github.com/repos/n8rzz/atc/releases{/id}","deployments_url":"https://api.github.com/repos/n8rzz/atc/deployments","created_at":"2016-09-07T14:46:20Z","updated_at":"2016-10-17T11:38:08Z","pushed_at":"2016-10-18T22:20:56Z","git_url":"git://github.com/n8rzz/atc.git","ssh_url":"git@github.com:n8rzz/atc.git","clone_url":"https://github.com/n8rzz/atc.git","svn_url":"https://github.com/n8rzz/atc","homepage":"http://n8rzz.github.io/atc","size":7511,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"n8rzz:release/3.0.0","ref":"release/3.0.0","sha":"7c4b21b8ed6daa1982eefe4f94d4d0db544f82ea","user":{"login":"n8rzz","id":3325985,"avatar_url":"https://avatars.githubusercontent.com/u/3325985?v=3","gravatar_id":"","url":"https://api.github.com/users/n8rzz","html_url":"https://github.com/n8rzz","followers_url":"https://api.github.com/users/n8rzz/followers","following_url":"https://api.github.com/users/n8rzz/following{/other_user}","gists_url":"https://api.github.com/users/n8rzz/gists{/gist_id}","starred_url":"https://api.github.com/users/n8rzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n8rzz/subscriptions","organizations_url":"https://api.github.com/users/n8rzz/orgs","repos_url":"https://api.github.com/users/n8rzz/repos","events_url":"https://api.github.com/users/n8rzz/events{/privacy}","received_events_url":"https://api.github.com/users/n8rzz/received_events","type":"User","site_admin":false},"repo":{"id":67616103,"name":"atc","full_name":"n8rzz/atc","owner":{"login":"n8rzz","id":3325985,"avatar_url":"https://avatars.githubusercontent.com/u/3325985?v=3","gravatar_id":"","url":"https://api.github.com/users/n8rzz","html_url":"https://github.com/n8rzz","followers_url":"https://api.github.com/users/n8rzz/followers","following_url":"https://api.github.com/users/n8rzz/following{/other_user}","gists_url":"https://api.github.com/users/n8rzz/gists{/gist_id}","starred_url":"https://api.github.com/users/n8rzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n8rzz/subscriptions","organizations_url":"https://api.github.com/users/n8rzz/orgs","repos_url":"https://api.github.com/users/n8rzz/repos","events_url":"https://api.github.com/users/n8rzz/events{/privacy}","received_events_url":"https://api.github.com/users/n8rzz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/n8rzz/atc","description":null,"fork":true,"url":"https://api.github.com/repos/n8rzz/atc","forks_url":"https://api.github.com/repos/n8rzz/atc/forks","keys_url":"https://api.github.com/repos/n8rzz/atc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/n8rzz/atc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/n8rzz/atc/teams","hooks_url":"https://api.github.com/repos/n8rzz/atc/hooks","issue_events_url":"https://api.github.com/repos/n8rzz/atc/issues/events{/number}","events_url":"https://api.github.com/repos/n8rzz/atc/events","assignees_url":"https://api.github.com/repos/n8rzz/atc/assignees{/user}","branches_url":"https://api.github.com/repos/n8rzz/atc/branches{/branch}","tags_url":"https://api.github.com/repos/n8rzz/atc/tags","blobs_url":"https://api.github.com/repos/n8rzz/atc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/n8rzz/atc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/n8rzz/atc/git/refs{/sha}","trees_url":"https://api.github.com/repos/n8rzz/atc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/n8rzz/atc/statuses/{sha}","languages_url":"https://api.github.com/repos/n8rzz/atc/languages","stargazers_url":"https://api.github.com/repos/n8rzz/atc/stargazers","contributors_url":"https://api.github.com/repos/n8rzz/atc/contributors","subscribers_url":"https://api.github.com/repos/n8rzz/atc/subscribers","subscription_url":"https://api.github.com/repos/n8rzz/atc/subscription","commits_url":"https://api.github.com/repos/n8rzz/atc/commits{/sha}","git_commits_url":"https://api.github.com/repos/n8rzz/atc/git/commits{/sha}","comments_url":"https://api.github.com/repos/n8rzz/atc/comments{/number}","issue_comment_url":"https://api.github.com/repos/n8rzz/atc/issues/comments{/number}","contents_url":"https://api.github.com/repos/n8rzz/atc/contents/{+path}","compare_url":"https://api.github.com/repos/n8rzz/atc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/n8rzz/atc/merges","archive_url":"https://api.github.com/repos/n8rzz/atc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/n8rzz/atc/downloads","issues_url":"https://api.github.com/repos/n8rzz/atc/issues{/number}","pulls_url":"https://api.github.com/repos/n8rzz/atc/pulls{/number}","milestones_url":"https://api.github.com/repos/n8rzz/atc/milestones{/number}","notifications_url":"https://api.github.com/repos/n8rzz/atc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/n8rzz/atc/labels{/name}","releases_url":"https://api.github.com/repos/n8rzz/atc/releases{/id}","deployments_url":"https://api.github.com/repos/n8rzz/atc/deployments","created_at":"2016-09-07T14:46:20Z","updated_at":"2016-10-17T11:38:08Z","pushed_at":"2016-10-18T22:20:56Z","git_url":"git://github.com/n8rzz/atc.git","ssh_url":"git@github.com:n8rzz/atc.git","clone_url":"https://github.com/n8rzz/atc.git","svn_url":"https://github.com/n8rzz/atc","homepage":"http://n8rzz.github.io/atc","size":7511,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/n8rzz/atc/pulls/15"},"html":{"href":"https://github.com/n8rzz/atc/pull/15"},"issue":{"href":"https://api.github.com/repos/n8rzz/atc/issues/15"},"comments":{"href":"https://api.github.com/repos/n8rzz/atc/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/n8rzz/atc/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/n8rzz/atc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/n8rzz/atc/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/n8rzz/atc/statuses/2fd9c0f154a690d99047e84abbaade781767b889"}}}}
{"actor":{"display_login":"n8rzz"}}