{"action":"created","issue":{"url":"https://api.github.com/repos/phetsims/bending-light/issues/319","labels_url":"https://api.github.com/repos/phetsims/bending-light/issues/319/labels{/name}","comments_url":"https://api.github.com/repos/phetsims/bending-light/issues/319/comments","events_url":"https://api.github.com/repos/phetsims/bending-light/issues/319/events","html_url":"https://github.com/phetsims/bending-light/issues/319","id":119513987,"number":319,"title":"Inconsistency when measuring intensity in \"Wave\" vs \"Ray\" setting.","user":{"login":"orejolaphet","id":5631059,"avatar_url":"https://avatars.githubusercontent.com/u/5631059?v=3","gravatar_id":"","url":"https://api.github.com/users/orejolaphet","html_url":"https://github.com/orejolaphet","followers_url":"https://api.github.com/users/orejolaphet/followers","following_url":"https://api.github.com/users/orejolaphet/following{/other_user}","gists_url":"https://api.github.com/users/orejolaphet/gists{/gist_id}","starred_url":"https://api.github.com/users/orejolaphet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orejolaphet/subscriptions","organizations_url":"https://api.github.com/users/orejolaphet/orgs","repos_url":"https://api.github.com/users/orejolaphet/repos","events_url":"https://api.github.com/users/orejolaphet/events{/privacy}","received_events_url":"https://api.github.com/users/orejolaphet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phetsims/bending-light/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"samreid","id":679486,"avatar_url":"https://avatars.githubusercontent.com/u/679486?v=3","gravatar_id":"","url":"https://api.github.com/users/samreid","html_url":"https://github.com/samreid","followers_url":"https://api.github.com/users/samreid/followers","following_url":"https://api.github.com/users/samreid/following{/other_user}","gists_url":"https://api.github.com/users/samreid/gists{/gist_id}","starred_url":"https://api.github.com/users/samreid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samreid/subscriptions","organizations_url":"https://api.github.com/users/samreid/orgs","repos_url":"https://api.github.com/users/samreid/repos","events_url":"https://api.github.com/users/samreid/events{/privacy}","received_events_url":"https://api.github.com/users/samreid/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-11-30T15:24:29Z","updated_at":"2015-12-03T02:43:24Z","closed_at":null,"body":"I noticed that between the two laser settings: \"Wave\" and \"Ray\", the intensity will not be measured for the \"Ray\" setting but will be measured for \"Wave\". \r\n\r\nShould the behavior be same for both settings?\r\nHere is a screen shot of the \"Wave\" being measured\r\n<img width=\"343\" alt=\"screen shot 2015-11-30 at 8 18 25 am\" src=\"https://cloud.githubusercontent.com/assets/5631059/11475604/836b01ce-973b-11e5-836e-b6bd4cb09e2e.png\">\r\n\r\nWith out moving the location of the laser, only changing the setting to \"Ray\", we have\r\n<img width=\"362\" alt=\"screen shot 2015-11-30 at 8 18 13 am\" src=\"https://cloud.githubusercontent.com/assets/5631059/11475610/876a179c-973b-11e5-903b-78e385ce3515.png\">\r\nNotice the laser ray passes through the lens, but intensity not measured."},"comment":{"url":"https://api.github.com/repos/phetsims/bending-light/issues/comments/161499468","html_url":"https://github.com/phetsims/bending-light/issues/319#issuecomment-161499468","issue_url":"https://api.github.com/repos/phetsims/bending-light/issues/319","id":161499468,"user":{"login":"samreid","id":679486,"avatar_url":"https://avatars.githubusercontent.com/u/679486?v=3","gravatar_id":"","url":"https://api.github.com/users/samreid","html_url":"https://github.com/samreid","followers_url":"https://api.github.com/users/samreid/followers","following_url":"https://api.github.com/users/samreid/following{/other_user}","gists_url":"https://api.github.com/users/samreid/gists{/gist_id}","starred_url":"https://api.github.com/users/samreid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samreid/subscriptions","organizations_url":"https://api.github.com/users/samreid/orgs","repos_url":"https://api.github.com/users/samreid/repos","events_url":"https://api.github.com/users/samreid/events{/privacy}","received_events_url":"https://api.github.com/users/samreid/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T02:43:24Z","updated_at":"2015-12-03T02:43:24Z","body":"OK I matched the regions in the above commit.  Here's a screencast with the new behavior and the corner cases/discontinuities I am aware of:\r\n\r\n![bendinglight](https://cloud.githubusercontent.com/assets/679486/11550376/cf977bd4-992c-11e5-81d9-922759d3996f.gif)\r\n\r\nThe other solution I considered would be to make the wave hit area match the ray hit area, so that a wave would only intersect if the ray would have.  @ariel-phet can you review everything in this issue and advise?"}}