-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jittery leading wave when barrier is removed #255
Comments
I struggled with this in #207 and still do not understand the underlying problem. #207 was solved by carefully choosing the phase of the plane wave so it is not a problematic value, but we cannot control the phase of the wave when the user chooses when to remove the barrier. This doesn't seem like something that would block publication (the leading edge flicker doesn't seem pedagogically harmful), but maybe it would be a good idea to request @pixelzoom to help investigate this once he is more familiar with the sim after code review. @ariel-phet thoughts? Also leaving self-assigned in case I figure it out sooner. |
I'll be happy to take a look at this after I've become familiar with the sim (via code review). But this is most likely something in @jonathanolson's wheelhouse. |
@samreid @lmulhall-phet definitely should not block publication of 1.0 and could be deferred to 2.0 for the following reasons:
However, the plane wave on https://phet-dev.colorado.edu/html/wave-interference/1.0.0-dev.56/phet/wave-interference_all_phet.html (tested on chrome) looks fairly jittery even before the barrier, perhaps that is a separate issue (removing the barrier does seem to make it worse). @samreid worth investigating if you can get the waves in general (even on the first screen) being a bit less jittery, but this would not be a show stopper. Marking medium priority but could be deferred to 2.0 |
@ariel-phet are you referring to the leading edge of the plane wave, or generally the wave depiction in the entire wave area? |
@samreid generally the wave depiction in the entire wave area. Perceptually more noticeable with the plane wave before it his the barrier. |
Pixellation of the wave area is discussed in #256 and marked as deferred to 2.0+. Let's leave this issue about the particular case of the leading edge of the plane wave as depicted in #255 (comment). It sounds like this can also be deferred to 2.0+. @ariel-phet does this all sound correct to you? |
@samreid hmm, this does not necessarily feel like "pixelation" to me...it just feels like a "smoothness" of propagation. I agree this is lower priority, but I am not yet ready to defer to 2.0 |
It does sound like a separate issue. I'll leave this issue about the leading edge of the advancing wave and open a new issue about the issue you are describing. |
@ariel-phet now that I have opened #297 how would you like to proceed with this issue, about the leading edge of the advancing wave? Some possibilities:
|
@samreid I will mark this one deferred, the general smoothness is far more important to me, as removing the barrier and watching a plane wave a fairly uninteresting from a pedagogical standpoint. |
After this problem was reported, the lattice size was increased in #315 and the leading edge jitter is gone or significantly reduced. Can this issue be closed? |
This seems like the same underlying issue as #297. I think the increased lattice size sufficiently addressed this issue, and I am seeing very little jitter in master, though I'll leave this one up to @ariel-phet for final sign-off. |
Looking pretty good on my laptop on master, and the no barrier case is by far the least interesting/pedagogically important, so I agree, sufficiently addressed. Closing. |
Test Device
MacBook Air
Operating System
macOS 10.14
Browser
Chrome 71.0.3578.98
Problem Description
For phetsims/qa#238. Related to #207. See title and gif.
Steps to Reproduce
Visuals
Troubleshooting Information
Name: Wave Interference
URL: https://phet-dev.colorado.edu/html/wave-interference/1.0.0-dev.51/phet/wave-interference_en_phet.html
Version: 1.0.0-dev.51 2018-12-12 03:47:24 UTC
Features missing: touch
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Language: en-US
Window: 1440x821
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: 16384 imageUnits: 16 (vertex: 16, combined: 80)
Max viewport: 16384x16384
OES_texture_float: true
Dependencies JSON: {"assert":{"sha":"928741cf","branch":"master"},"axon":{"sha":"73e761ec","branch":"master"},"brand":{"sha":"1fd6682e","branch":"master"},"chipper":{"sha":"61bc739b","branch":"master"},"dot":{"sha":"b45eafe8","branch":"master"},"griddle":{"sha":"914c9215","branch":"master"},"joist":{"sha":"5a013a46","branch":"master"},"kite":{"sha":"f3e96e5b","branch":"master"},"phet-core":{"sha":"86dec8cc","branch":"master"},"phet-io":{"sha":"a267fdb1","branch":"master"},"phet-io-wrapper-classroom-activity":{"sha":"5dea7f54","branch":"master"},"phet-io-wrapper-hookes-law-energy":{"sha":"b42eaef7","branch":"master"},"phet-io-wrapper-lab-book":{"sha":"b884e9c1","branch":"master"},"phet-io-wrappers":{"sha":"d5b42848","branch":"master"},"phetcommon":{"sha":"869b2561","branch":"master"},"query-string-machine":{"sha":"e4f9e8e8","branch":"master"},"scenery":{"sha":"a18ce7f1","branch":"master"},"scenery-phet":{"sha":"56df5b6d","branch":"master"},"sherpa":{"sha":"a1f5e867","branch":"master"},"sun":{"sha":"38ed71af","branch":"master"},"tambo":{"sha":"746fbd32","branch":"master"},"tandem":{"sha":"c7a56e2e","branch":"master"},"twixt":{"sha":"e38c70ed","branch":"master"},"wave-interference":{"sha":"bfce593d","branch":"master"}}
The text was updated successfully, but these errors were encountered: