phetsims / faradays-electromagnetic-lab

"Faraday's Electromagnetic Lab" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
1 stars 0 forks source link

More space between electrons in the background layer of the coil #155

Closed pixelzoom closed 6 months ago

pixelzoom commented 6 months ago

Inherited from the Java implementation...

Issue (A): There's more space between electrons in the background layer than the foreground layer. For example, see screenshot below. This is because those segments of the coil are longer, curving back towards the foreground segments.

screenshot_3171



Issue (B): The electron spacing is inconsistent in the area circled in this screenshot. This is because the top-left background segment has a different length than the other background segments, because it connects to the background layers 'coil end'. And to be honest, I've never noticed this before.

screenshot_3173

No one has every commented on these spacing issues. But it's probably worth a little bit of investigation.

pixelzoom commented 6 months ago

I spent about 45 minutes on this. Addressing issue (A) requires putting more electrons in the foreground segments than in the background segments. Addressing issue (B) requires putting fewer electrons in the one specific background segment. And when there are different number of electrons in different segments, the flow of electrons starts to misbehave - the electrons do not align vertically, and they start to bunch up. See example below.

So... I'm going to bail on this.

screenshot_3174