Closed samreid closed 1 year ago
@arouinfar what do you think is the preferable design?
The preferable design is to leave things as they are.
The interaction patterns in Intro/More Tools and Prisms are different. On the Intro/More Tools screen, there is only one way to move the laser -- translating along a fixed circular path. On the Prisms screen, the laser can be translated by grabbing its body or rotated about its center by using the knob.
Adding the knob would muddy things on the Intro and More Tools screens. Users may notice that the knob and body do the same thing, and so the interaction on the Prisms screen would be unexpected. While somewhat less important, the knob is not aesthetically pleasing.
Totally fine with leaving the design the way it is. My main concern was the implementation, and the overloading of option hasKnob
. If you want to leave the implementation as is, then at least consider documenting the full (complicated!) semantics of hasKnob
, as described in https://github.com/phetsims/bending-light/issues/398#issue-806064768. That will save the next person (or me again, this isn't my first time scratching my head over this) some time.
I added the recommended documentation, closing.
From https://github.com/phetsims/bending-light/issues/397#issuecomment-776410279 @pixelzoom said:
I suspect showing the knob on the "Intro" and "More Tools" screens may look a little cluttered. More importantly, I think it is important to have a visual cue on the laser that makes it look different to indicate that dragging the body will have a different behavior. Perhaps the green arrows address this to some extent, but maybe the knob helps as well?
@arouinfar what do you think is the preferable design?