phetsims / wave-on-a-string

"Wave on a String" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/wave-on-a-string
GNU General Public License v3.0
7 stars 8 forks source link

String oscillates outside window boundaries with no damping #101

Open arouinfar opened 9 years ago

arouinfar commented 9 years ago

Test device: iPad 3 and MacBook Pro

Operating System: iOS 7.1 and OSX 10.9.4

Browser: Safari 7.0 and Chrome 37.0.2062.120

Problem description: In Oscillate/Loose End mode it is quite easy to produce a wave large enough to escape the boundaries of the rod when the damping is turned off. When switching to No End mode, the wave will oscillate outside of the boundaries of the window for awhile before adjusting to fit the new boundaries.

Steps to reproduce: Easiest configuration to see the issue: 1) Start sim and immediately pause. 2) Choose Oscillate and Loose End 3) Turn amplitude and frequency all the way up, and turn off damping 4) Press play 5) Once the end of the string escape the rod, switch to No End

Severity: Low priority.

Screenshots: A video clip of the issue can be found here: https://drive.google.com/file/d/0B-YvjkIIcS_aQjVVQVNTU05qVFE/edit?usp=sharing

Troubleshooting information (do not edit): Name: Wave on a String URL: http://www.colorado.edu/physics/phet/dev/html/wave-on-a-string/1.0.0-rc.1/wave-on-a-string_en.html Version: 1.0.0-rc.1 Features missing: touch Flags: pixelRatioScaling User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36 Language: en-US Window: 1269x722 Pixel Ratio: 2/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: 31 uniform: 1024 Texture: size: 16384 imageUnits: 16 (vertex: 16, combined: 16) Max viewport: 16384x16384 OES_texture_float: true

jonathanolson commented 9 years ago

There are many ways of creating constructive interference so that the string can even go outside of the top/bottom of the screen (which then goes outside of the window). I can't think of a good way to fix this issue, and I'm not convinced that we should.

ariel-phet commented 9 years ago

Definitely no need to fix, good to note this can occur and we might think about simplifications for the Basics version.