{"action":"created","issue":{"url":"https://api.github.com/repos/open-craft/jsinput-vectordraw/issues/17","labels_url":"https://api.github.com/repos/open-craft/jsinput-vectordraw/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/open-craft/jsinput-vectordraw/issues/17/comments","events_url":"https://api.github.com/repos/open-craft/jsinput-vectordraw/issues/17/events","html_url":"https://github.com/open-craft/jsinput-vectordraw/pull/17","id":82220764,"number":17,"title":"Daniel","user":{"login":"dseaton","id":1703442,"avatar_url":"https://avatars.githubusercontent.com/u/1703442?v=3","gravatar_id":"","url":"https://api.github.com/users/dseaton","html_url":"https://github.com/dseaton","followers_url":"https://api.github.com/users/dseaton/followers","following_url":"https://api.github.com/users/dseaton/following{/other_user}","gists_url":"https://api.github.com/users/dseaton/gists{/gist_id}","starred_url":"https://api.github.com/users/dseaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dseaton/subscriptions","organizations_url":"https://api.github.com/users/dseaton/orgs","repos_url":"https://api.github.com/users/dseaton/repos","events_url":"https://api.github.com/users/dseaton/events{/privacy}","received_events_url":"https://api.github.com/users/dseaton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-29T02:29:46Z","updated_at":"2015-05-29T03:50:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/open-craft/jsinput-vectordraw/pulls/17","html_url":"https://github.com/open-craft/jsinput-vectordraw/pull/17","diff_url":"https://github.com/open-craft/jsinput-vectordraw/pull/17.diff","patch_url":"https://github.com/open-craft/jsinput-vectordraw/pull/17.patch"},"body":"@antoviaque @mtyaka I have added two new examples for Physics. Instructors would like to have students directly measure properties of a given image. We can use the segment tool for this, but need to update the \"length\" in vector properties.\r\n\r\nHere is the technical request:\r\nIs it possible to provide a parameter that acts as a scaling factor for length? If so, could we also have a scaling factor for angle?\r\n\r\nLength: In the singleSlitDiff example, we would like to scale the length by a multiplicative factor. \r\n(factor) * Length, where factor might be a conversion to \"millimeters\". The only other small detail would be to allow a unit to be displayed. Length (mm): Value()\r\n\r\nAngle: For angle, the factor would almost certainly always be additive, as angles don't typically scale.\r\n(factor) + Angle, where factor might be 20 degrees for the box on an incline example.\r\n\r\nFactor would default to 1.0, but there would be parameters in the \"html\" files that allowed us to set them.\r\n\r\nAlso, not sure you all realize it, but we are crossing new boundaries with allowing students to directly measure with this tool. Would bring the laboratory online. For the 15th example, this is something we have people do in the lab with rulers. :)"},"comment":{"url":"https://api.github.com/repos/open-craft/jsinput-vectordraw/issues/comments/106674564","html_url":"https://github.com/open-craft/jsinput-vectordraw/pull/17#issuecomment-106674564","issue_url":"https://api.github.com/repos/open-craft/jsinput-vectordraw/issues/17","id":106674564,"user":{"login":"antoviaque","id":514483,"avatar_url":"https://avatars.githubusercontent.com/u/514483?v=3","gravatar_id":"","url":"https://api.github.com/users/antoviaque","html_url":"https://github.com/antoviaque","followers_url":"https://api.github.com/users/antoviaque/followers","following_url":"https://api.github.com/users/antoviaque/following{/other_user}","gists_url":"https://api.github.com/users/antoviaque/gists{/gist_id}","starred_url":"https://api.github.com/users/antoviaque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoviaque/subscriptions","organizations_url":"https://api.github.com/users/antoviaque/orgs","repos_url":"https://api.github.com/users/antoviaque/repos","events_url":"https://api.github.com/users/antoviaque/events{/privacy}","received_events_url":"https://api.github.com/users/antoviaque/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T03:50:45Z","updated_at":"2015-05-29T03:50:45Z","body":"@dseaton Nice feature - glad we'll be able to replace the rulers from the lab :p \r\n\r\nSounds good for the development of this - I'll schedule it for next sprint, along with a review of the examples from the current PR."}}