{"action":"created","comment":{"url":"https://api.github.com/repos/pydy/pydy/pulls/comments/31973330","id":31973330,"diff_hunk":"@@ -426,57 +760,66 @@\n      \"cell_type\": \"markdown\",\n      \"metadata\": {},\n      \"source\": [\n-      \"PyDy has a native module `pydy.viz` which is used to visualize a System in a GUI.\"\n+      \"PyDy has a native module `pydy.viz` which is used to visualize a System in an interactive 3D GUI.\"\n      ]\n     },\n     {\n      \"cell_type\": \"code\",\n      \"collapsed\": false,\n      \"input\": [\n-      \"from pydy.viz import *\\n\",\n-      \"from numpy import pi\"\n+      \"from pydy.viz import *\"\n      ],\n      \"language\": \"python\",\n      \"metadata\": {},\n-     \"outputs\": []\n+     \"outputs\": [],\n+     \"prompt_number\": 23\n     },\n     {\n      \"cell_type\": \"markdown\",\n      \"metadata\": {},\n      \"source\": [\n       \"For visualizing the system, we need to create shapes for the objects we wish to visualize, and map each of them \\n\",\n-      \"to a VisualizationFrame, which holds the position and orientation of the object.\"\n+      \"to a `VisualizationFrame`, which holds the position and orientation of the object. First create a sphere to represent the bob and attach it to the point $P$ and the ceiling reference frame (the sphere does not rotate wrt to the ceiling).\"\n      ]\n     },\n     {\n      \"cell_type\": \"code\",\n      \"collapsed\": false,\n      \"input\": [\n-      \"bob = Sphere(2, color=\\\"red\\\", material=\\\"metal\\\")\\n\",\n+      \"bob = Sphere(2.0, color=\\\"red\\\", material=\\\"metal\\\")\\n\",\n       \"bob_vframe = VisualizationFrame(ceiling, P, bob)\"\n      ],\n      \"language\": \"python\",\n      \"metadata\": {},\n-     \"outputs\": []\n+     \"outputs\": [],\n+     \"prompt_number\": 24\n+    },\n+    {\n+     \"cell_type\": \"markdown\",\n+     \"metadata\": {},\n+     \"source\": [\n+      \"Now create a circular disc that represents the ceiling and fix it to the ceiling reference frame. The circle's default axis is aligned with it's local $y$ axis, so we need to attach it to a rotated ceiling reference frame if we want the circle's axis to align with the $\\\\hat{c}_x$ unit vector.\"","path":"examples/mass_spring_damper/mass_spring_damper.ipynb","position":660,"original_position":660,"commit_id":"6aa68d15cf9693ca2f55ff4b583dbf65d3681228","original_commit_id":"6aa68d15cf9693ca2f55ff4b583dbf65d3681228","user":{"login":"chrisdembia","id":846001,"avatar_url":"https://avatars.githubusercontent.com/u/846001?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdembia","html_url":"https://github.com/chrisdembia","followers_url":"https://api.github.com/users/chrisdembia/followers","following_url":"https://api.github.com/users/chrisdembia/following{/other_user}","gists_url":"https://api.github.com/users/chrisdembia/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdembia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdembia/subscriptions","organizations_url":"https://api.github.com/users/chrisdembia/orgs","repos_url":"https://api.github.com/users/chrisdembia/repos","events_url":"https://api.github.com/users/chrisdembia/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdembia/received_events","type":"User","site_admin":false},"body":"\" with it's local\" -> \"with its local\"","created_at":"2015-06-09T00:18:48Z","updated_at":"2015-06-09T00:18:48Z","html_url":"https://github.com/pydy/pydy/pull/97#discussion_r31973330","pull_request_url":"https://api.github.com/repos/pydy/pydy/pulls/97","_links":{"self":{"href":"https://api.github.com/repos/pydy/pydy/pulls/comments/31973330"},"html":{"href":"https://github.com/pydy/pydy/pull/97#discussion_r31973330"},"pull_request":{"href":"https://api.github.com/repos/pydy/pydy/pulls/97"}}},"pull_request":{"url":"https://api.github.com/repos/pydy/pydy/pulls/97","id":20054402,"html_url":"https://github.com/pydy/pydy/pull/97","diff_url":"https://github.com/pydy/pydy/pull/97.diff","patch_url":"https://github.com/pydy/pydy/pull/97.patch","issue_url":"https://api.github.com/repos/pydy/pydy/issues/97","number":97,"state":"open","locked":false,"title":"Improved wording in the mass spring damper example.","user":{"login":"moorepants","id":276007,"avatar_url":"https://avatars.githubusercontent.com/u/276007?v=3","gravatar_id":"","url":"https://api.github.com/users/moorepants","html_url":"https://github.com/moorepants","followers_url":"https://api.github.com/users/moorepants/followers","following_url":"https://api.github.com/users/moorepants/following{/other_user}","gists_url":"https://api.github.com/users/moorepants/gists{/gist_id}","starred_url":"https://api.github.com/users/moorepants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moorepants/subscriptions","organizations_url":"https://api.github.com/users/moorepants/orgs","repos_url":"https://api.github.com/users/moorepants/repos","events_url":"https://api.github.com/users/moorepants/events{/privacy}","received_events_url":"https://api.github.com/users/moorepants/received_events","type":"User","site_admin":false},"body":"@tarzzz \r\n\r\nI updated some minor things here but noticed some bugs too:\r\n\r\n1. Even though the integration time is set from 0 to 10 seconds, only 3 seconds plays in the animation.\r\n2. The animation window covers the controls on the right hand side (see attached image).\r\n3. The bob looks like an ellipsoid instead of a sphere (see below).\r\n\r\n![selection_036](https://cloud.githubusercontent.com/assets/276007/3983789/8b82567e-2882-11e4-8b04-7b250d241fe1.png)","created_at":"2014-08-20T15:56:40Z","updated_at":"2015-06-09T00:18:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee4fe30b95d4dab28f0db813ae731224244bc441","assignee":null,"milestone":{"url":"https://api.github.com/repos/pydy/pydy/milestones/1","html_url":"https://github.com/pydy/pydy/milestones/0.3.0%20Release","labels_url":"https://api.github.com/repos/pydy/pydy/milestones/1/labels","id":746854,"number":1,"title":"0.3.0 Release","description":"","creator":{"login":"moorepants","id":276007,"avatar_url":"https://avatars.githubusercontent.com/u/276007?v=3","gravatar_id":"","url":"https://api.github.com/users/moorepants","html_url":"https://github.com/moorepants","followers_url":"https://api.github.com/users/moorepants/followers","following_url":"https://api.github.com/users/moorepants/following{/other_user}","gists_url":"https://api.github.com/users/moorepants/gists{/gist_id}","starred_url":"https://api.github.com/users/moorepants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moorepants/subscriptions","organizations_url":"https://api.github.com/users/moorepants/orgs","repos_url":"https://api.github.com/users/moorepants/repos","events_url":"https://api.github.com/users/moorepants/events{/privacy}","received_events_url":"https://api.github.com/users/moorepants/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":38,"state":"open","created_at":"2014-08-07T22:04:33Z","updated_at":"2015-06-08T23:59:04Z","due_on":"2015-06-15T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/pydy/pydy/pulls/97/commits","review_comments_url":"https://api.github.com/repos/pydy/pydy/pulls/97/comments","review_comment_url":"https://api.github.com/repos/pydy/pydy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pydy/pydy/issues/97/comments","statuses_url":"https://api.github.com/repos/pydy/pydy/statuses/6aa68d15cf9693ca2f55ff4b583dbf65d3681228","head":{"label":"pydy:mass-spring-damper-updates","ref":"mass-spring-damper-updates","sha":"6aa68d15cf9693ca2f55ff4b583dbf65d3681228","user":{"login":"pydy","id":5125293,"avatar_url":"https://avatars.githubusercontent.com/u/5125293?v=3","gravatar_id":"","url":"https://api.github.com/users/pydy","html_url":"https://github.com/pydy","followers_url":"https://api.github.com/users/pydy/followers","following_url":"https://api.github.com/users/pydy/following{/other_user}","gists_url":"https://api.github.com/users/pydy/gists{/gist_id}","starred_url":"https://api.github.com/users/pydy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydy/subscriptions","organizations_url":"https://api.github.com/users/pydy/orgs","repos_url":"https://api.github.com/users/pydy/repos","events_url":"https://api.github.com/users/pydy/events{/privacy}","received_events_url":"https://api.github.com/users/pydy/received_events","type":"Organization","site_admin":false},"repo":{"id":12165060,"name":"pydy","full_name":"pydy/pydy","owner":{"login":"pydy","id":5125293,"avatar_url":"https://avatars.githubusercontent.com/u/5125293?v=3","gravatar_id":"","url":"https://api.github.com/users/pydy","html_url":"https://github.com/pydy","followers_url":"https://api.github.com/users/pydy/followers","following_url":"https://api.github.com/users/pydy/following{/other_user}","gists_url":"https://api.github.com/users/pydy/gists{/gist_id}","starred_url":"https://api.github.com/users/pydy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydy/subscriptions","organizations_url":"https://api.github.com/users/pydy/orgs","repos_url":"https://api.github.com/users/pydy/repos","events_url":"https://api.github.com/users/pydy/events{/privacy}","received_events_url":"https://api.github.com/users/pydy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pydy/pydy","description":"Multibody dynamics tool kit.","fork":false,"url":"https://api.github.com/repos/pydy/pydy","forks_url":"https://api.github.com/repos/pydy/pydy/forks","keys_url":"https://api.github.com/repos/pydy/pydy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pydy/pydy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pydy/pydy/teams","hooks_url":"https://api.github.com/repos/pydy/pydy/hooks","issue_events_url":"https://api.github.com/repos/pydy/pydy/issues/events{/number}","events_url":"https://api.github.com/repos/pydy/pydy/events","assignees_url":"https://api.github.com/repos/pydy/pydy/assignees{/user}","branches_url":"https://api.github.com/repos/pydy/pydy/branches{/branch}","tags_url":"https://api.github.com/repos/pydy/pydy/tags","blobs_url":"https://api.github.com/repos/pydy/pydy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pydy/pydy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pydy/pydy/git/refs{/sha}","trees_url":"https://api.github.com/repos/pydy/pydy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pydy/pydy/statuses/{sha}","languages_url":"https://api.github.com/repos/pydy/pydy/languages","stargazers_url":"https://api.github.com/repos/pydy/pydy/stargazers","contributors_url":"https://api.github.com/repos/pydy/pydy/contributors","subscribers_url":"https://api.github.com/repos/pydy/pydy/subscribers","subscription_url":"https://api.github.com/repos/pydy/pydy/subscription","commits_url":"https://api.github.com/repos/pydy/pydy/commits{/sha}","git_commits_url":"https://api.github.com/repos/pydy/pydy/git/commits{/sha}","comments_url":"https://api.github.com/repos/pydy/pydy/comments{/number}","issue_comment_url":"https://api.github.com/repos/pydy/pydy/issues/comments{/number}","contents_url":"https://api.github.com/repos/pydy/pydy/contents/{+path}","compare_url":"https://api.github.com/repos/pydy/pydy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pydy/pydy/merges","archive_url":"https://api.github.com/repos/pydy/pydy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pydy/pydy/downloads","issues_url":"https://api.github.com/repos/pydy/pydy/issues{/number}","pulls_url":"https://api.github.com/repos/pydy/pydy/pulls{/number}","milestones_url":"https://api.github.com/repos/pydy/pydy/milestones{/number}","notifications_url":"https://api.github.com/repos/pydy/pydy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pydy/pydy/labels{/name}","releases_url":"https://api.github.com/repos/pydy/pydy/releases{/id}","created_at":"2013-08-16T18:16:29Z","updated_at":"2015-06-02T05:16:10Z","pushed_at":"2015-06-08T20:36:02Z","git_url":"git://github.com/pydy/pydy.git","ssh_url":"git@github.com:pydy/pydy.git","clone_url":"https://github.com/pydy/pydy.git","svn_url":"https://github.com/pydy/pydy","homepage":"http://www.pydy.org","size":12848,"stargazers_count":28,"watchers_count":28,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":63,"forks":27,"open_issues":63,"watchers":28,"default_branch":"master"}},"base":{"label":"pydy:master","ref":"master","sha":"2c27daa69ddd0b117c586ee37ada42f82c022662","user":{"login":"pydy","id":5125293,"avatar_url":"https://avatars.githubusercontent.com/u/5125293?v=3","gravatar_id":"","url":"https://api.github.com/users/pydy","html_url":"https://github.com/pydy","followers_url":"https://api.github.com/users/pydy/followers","following_url":"https://api.github.com/users/pydy/following{/other_user}","gists_url":"https://api.github.com/users/pydy/gists{/gist_id}","starred_url":"https://api.github.com/users/pydy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydy/subscriptions","organizations_url":"https://api.github.com/users/pydy/orgs","repos_url":"https://api.github.com/users/pydy/repos","events_url":"https://api.github.com/users/pydy/events{/privacy}","received_events_url":"https://api.github.com/users/pydy/received_events","type":"Organization","site_admin":false},"repo":{"id":12165060,"name":"pydy","full_name":"pydy/pydy","owner":{"login":"pydy","id":5125293,"avatar_url":"https://avatars.githubusercontent.com/u/5125293?v=3","gravatar_id":"","url":"https://api.github.com/users/pydy","html_url":"https://github.com/pydy","followers_url":"https://api.github.com/users/pydy/followers","following_url":"https://api.github.com/users/pydy/following{/other_user}","gists_url":"https://api.github.com/users/pydy/gists{/gist_id}","starred_url":"https://api.github.com/users/pydy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydy/subscriptions","organizations_url":"https://api.github.com/users/pydy/orgs","repos_url":"https://api.github.com/users/pydy/repos","events_url":"https://api.github.com/users/pydy/events{/privacy}","received_events_url":"https://api.github.com/users/pydy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pydy/pydy","description":"Multibody dynamics tool kit.","fork":false,"url":"https://api.github.com/repos/pydy/pydy","forks_url":"https://api.github.com/repos/pydy/pydy/forks","keys_url":"https://api.github.com/repos/pydy/pydy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pydy/pydy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pydy/pydy/teams","hooks_url":"https://api.github.com/repos/pydy/pydy/hooks","issue_events_url":"https://api.github.com/repos/pydy/pydy/issues/events{/number}","events_url":"https://api.github.com/repos/pydy/pydy/events","assignees_url":"https://api.github.com/repos/pydy/pydy/assignees{/user}","branches_url":"https://api.github.com/repos/pydy/pydy/branches{/branch}","tags_url":"https://api.github.com/repos/pydy/pydy/tags","blobs_url":"https://api.github.com/repos/pydy/pydy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pydy/pydy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pydy/pydy/git/refs{/sha}","trees_url":"https://api.github.com/repos/pydy/pydy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pydy/pydy/statuses/{sha}","languages_url":"https://api.github.com/repos/pydy/pydy/languages","stargazers_url":"https://api.github.com/repos/pydy/pydy/stargazers","contributors_url":"https://api.github.com/repos/pydy/pydy/contributors","subscribers_url":"https://api.github.com/repos/pydy/pydy/subscribers","subscription_url":"https://api.github.com/repos/pydy/pydy/subscription","commits_url":"https://api.github.com/repos/pydy/pydy/commits{/sha}","git_commits_url":"https://api.github.com/repos/pydy/pydy/git/commits{/sha}","comments_url":"https://api.github.com/repos/pydy/pydy/comments{/number}","issue_comment_url":"https://api.github.com/repos/pydy/pydy/issues/comments{/number}","contents_url":"https://api.github.com/repos/pydy/pydy/contents/{+path}","compare_url":"https://api.github.com/repos/pydy/pydy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pydy/pydy/merges","archive_url":"https://api.github.com/repos/pydy/pydy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pydy/pydy/downloads","issues_url":"https://api.github.com/repos/pydy/pydy/issues{/number}","pulls_url":"https://api.github.com/repos/pydy/pydy/pulls{/number}","milestones_url":"https://api.github.com/repos/pydy/pydy/milestones{/number}","notifications_url":"https://api.github.com/repos/pydy/pydy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pydy/pydy/labels{/name}","releases_url":"https://api.github.com/repos/pydy/pydy/releases{/id}","created_at":"2013-08-16T18:16:29Z","updated_at":"2015-06-02T05:16:10Z","pushed_at":"2015-06-08T20:36:02Z","git_url":"git://github.com/pydy/pydy.git","ssh_url":"git@github.com:pydy/pydy.git","clone_url":"https://github.com/pydy/pydy.git","svn_url":"https://github.com/pydy/pydy","homepage":"http://www.pydy.org","size":12848,"stargazers_count":28,"watchers_count":28,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":63,"forks":27,"open_issues":63,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pydy/pydy/pulls/97"},"html":{"href":"https://github.com/pydy/pydy/pull/97"},"issue":{"href":"https://api.github.com/repos/pydy/pydy/issues/97"},"comments":{"href":"https://api.github.com/repos/pydy/pydy/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/pydy/pydy/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/pydy/pydy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pydy/pydy/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/pydy/pydy/statuses/6aa68d15cf9693ca2f55ff4b583dbf65d3681228"}}}}