phetsims / color-vision

"Color Vision" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/color-vision
GNU General Public License v3.0
1 stars 7 forks source link

Slight lag when turning light on and off #75

Closed bryo5363 closed 8 years ago

bryo5363 commented 10 years ago

Test device: MacBook Pro

Operating System: OSX 10.9.4

Browser: Chrome 36.0.1985.143

Problem description: When turning the light on and off there is a slight lag and the observer still sees the color that was present prior to turning the light off.

Steps to reproduce: -Open sim -Turn on filter -Match photon color to filter color -Turn on light. -Turn off light -Once the last of the photons have reached the observer, turn the light on again. The observer will register seeing the color even though there is no stream of photons hitting him/her. Severity:

Screenshots: screen shot 2014-08-28 at 3 39 46 pm

Troubleshooting information (do not edit): Name: Color Vision URL: http://www.colorado.edu/physics/phet/dev/html/color-vision/1.0.0-rc.2/color-vision_en.html Version: 1.0.0-rc.2 Features missing: touch User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36 Language: en-US Window: 941x637 Pixel Ratio: 1/1 WebGL: WebGL 1.0 (OpenGL ES 2.0 Chromium) GLSL: WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium) Vendor: WebKit (WebKit WebGL) Vertex: attribs: 16 varying: 15 uniform: 1024 Texture: size: 4096 imageUnits: 16 (vertex: 16, combined: 16) Max viewport: 8192x8192 OES_texture_float: true

bryo5363 commented 10 years ago

The filter is not needed for this bug to happen.

bryo5363 commented 10 years ago

There is also a lag in the RGB mode. While using the sliders, if you create a quick break in between photon streams, the observer will register a darker color of the certain slider even though there are no photons present.

I made a screencast of the red slider.

https://drive.google.com/file/d/0B7WUaZM7uvVKVkJrVEhSTkJHZlU/edit?usp=sharing

aaronsamuel137 commented 9 years ago

This issue has been addressed on the current master branch.

ariel-phet commented 8 years ago

@bryo5363 can you see if this bug still exists on the published version of the sim (we just made a redeploy to the website)?

bryo5363 commented 8 years ago

I did not observe the issue on the published version of the sim On Feb 17, 2016 10:06 AM, "Ariel Paul" notifications@github.com wrote:

@bryo5363 https://github.com/bryo5363 can you see if this bug still exists on the published version of the sim (we just made a redeploy to the website)?

— Reply to this email directly or view it on GitHub https://github.com/phetsims/color-vision/issues/75#issuecomment-185301079 .

ariel-phet commented 8 years ago

Excellent, closing