phetsims / circuit-construction-kit-common

"Circuit Construction Kit: Basics" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
10 stars 11 forks source link

What should the conventional current look like? #95

Closed samreid closed 7 years ago

samreid commented 8 years ago

In #91 @arouinfar said:

I think a more important question would be to ask what the conventional current looks like. This hasn't been discussed at all beyond deciding that the conventional current should somehow be displayed. (I believe this was a pretty frequent teacher request.)

I can think of a few ways we could show the conventional current

If we use an arrow to represent the conventional current, it could be simultaneously shown with the electron flow. If we use the latter representation, the conventional current and show electrons would need to be mutually exclusive options (radio buttons).

samreid commented 8 years ago

If we show the conventional current as moving spheres, we may wish to show a "-" sign on the electrons, to distinguish them.

arouinfar commented 8 years ago

If we show the conventional current as moving spheres, we may wish to show a "-" sign on the electrons, to distinguish them.

Excellent point, @samreid. I agree we'd need to show +/- signs on the spheres to distinguish them, which seems like an added complication for the moving spheres view.

samreid commented 7 years ago

In the design doc, @arouinfar said she would create a mock-up for the conventional current, using arrows similar to those in Capacitor Lab.

samreid commented 7 years ago

From yesterday's meeting:

Checkbox with nested radio options (Show current, electrons default)

Instead of an electron, we could show an small red arrow pointing in the direction of the conventional current. These arrows would be animated around the circuit.

Red arrows would be a similar size to the electrons.

Checkbox with nested radio options Show Current Electrons Conventional

Show Current on, Electrons selected by default.

On all screens.

arouinfar commented 7 years ago

Thanks @samreid!

Here's a screenshot of what the panel would look like with the default options on. image

arouinfar commented 7 years ago

@samreid you mentioned that the conventional current is something that you could try out programmatically. Would it be useful to you if I mocked something up first?

samreid commented 7 years ago

I'm going to try using our ArrowNode and see how it looks.

samreid commented 7 years ago

It's embarrassing, but here's the 1st draft with defaults for everything:

image

I'll start on the 2nd draft.

samreid commented 7 years ago

Should "values" be available in all screens?

samreid commented 7 years ago

Whew, 2nd draft is somewhat better:

image

samreid commented 7 years ago

@arouinfar do you want icons in the "electrons" vs "conventional" radio buttons?

arouinfar commented 7 years ago

@samreid the 2nd draft looks great! I was also wondering if we should add icons to the radio options. Perhaps a small electron and red arrow next to their respective option?

samreid commented 7 years ago

On the right hand side, so they don't interfere with the radio button circles? How to deal with alignment for different languages? Or should we switch from aqua to the rectangular radio buttons (like we often use for scene selection)?

arouinfar commented 7 years ago

@samreid I was proposing icons to the right of the radio button + label, as we typically do. We don't support layout changes for i18n, but even in RTL locales the sequence of radio button - string - icon seems to work. I'm hesitant to use iconic radio buttons nested under a check box. We also have iconic radio buttons for the real vs. Schematic view of circuit components.

screenshot_20170303-110203

arouinfar commented 7 years ago

@samreid I mocked up two versions of the Show Current radio buttons. The iconic scene-selection style still feels a little strange to me nested under the checkbox, but it does have some advantages: fewer strings & better layout for i18n, shorter panel, avoids labelling current "electrons". What do you think @samreid?

image image

Should "values" be available in all screens?

Missed the questions earlier... yes, I think we'll want Values on all three screens.

samreid commented 7 years ago

There may be an advantage in using the word "conventional" and "electrons", if they are part of the important vocabulary surrounding the sim.

samreid commented 7 years ago

One other thought (not sure if it is a good idea or not): What about using scene selection style radio buttons with text inside the button and vertically stacked. This gets rid of the aqua radio buttons (which looks kind of like an electron/icon) and still includes the text and accommodates i18n. If you think it is worth discussing, can you create a mock-up of it?

samreid commented 7 years ago

It seems we will need to hide the arrows when the circuit is not connected.

samreid commented 7 years ago

Do you want to gray out the radio buttons when the checkbox is deselected? On the upside, it would cue that the checkbox controls the radio buttons. On the downside, it would prevent the user from turning off the display, then changing display types, then turning the display back on (may be useful if the teacher is asking a predictive question).

samreid commented 7 years ago

@arouinfar and @ariel-phet here's a rough draft that shows conventional current (when current is non-zero): http://www.colorado.edu/physics/phet/dev/html/circuit-construction-kit-dc/1.0.0-dev.6/circuit-construction-kit-dc_en.html?screens=1

Let me know if you have any recommendations.

arouinfar commented 7 years ago

@samreid I think the conventional current is a great first pass! However, the arrows feel a bit more crowded than the electrons (though I imagine this is probably an illusion). I'm also wondering if there's enough contrast between the arrows and the wires.

There may be an advantage in using the word "conventional" and "electrons", if they are part of the important vocabulary surrounding the sim.

I think we're concerned that we may get some pushback from teachers if we refer to the current as "electrons". I'll show the latest dev to Mike and get some feedback from him. I also spoke with @kathy-phet a bit about this, and I think she'd prefer to keep the words. I'm leaning towards this option: image

What about using scene selection style radio buttons with text inside the button and vertically stacked

Here's a mockup: image

Frankly, it feels a bit heavy to me, and I think that i18n would more challenging with this approach.

It seems we will need to hide the arrows when the circuit is not connected.

Agreed @samreid. This would be a critical difference between the two representations of current. This seems to be working correctly in dev.6.

Do you want to gray out the radio buttons when the checkbox is deselected?

Yes, that's generally what we've done with nested options (e.g. Hooke's Law or Charges & Fields). I think that keeping the radio options active while their parent checkbox is off feels buggy. image image

samreid commented 7 years ago

In the above commit, the radio button become enabled/disabled when the checkbox is checked/unchecked. This issue is mainly complete, I'll create a side issue to determine whether the arrows or arrow density should be changed.