Skip to content
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

User suggestion: poor set of magnetic field lines #155

Open
oliver-phet opened this issue Feb 14, 2020 · 8 comments
Open

User suggestion: poor set of magnetic field lines #155

oliver-phet opened this issue Feb 14, 2020 · 8 comments

Comments

@oliver-phet
Copy link

Quick question – the Faraday’s Law HTML5 interactive has a rather poor set of magnetic field lines that, if drawn by our pupils, would not see them score full marks in an exam. I have attached a screen shot. It’s a fairly minor thing, but the closeness of the field lines at the centre has them touching. As you go out from the ends of the magnet, the closeness of the field lines is highly uneven.
PhEt bad mag field 2

Having just done a Google search for images of field lines around bar magnets, it seems that this sort of thing is a very common error!

This is reasonable:

but not quite right at the poles, as some lines are much closer for no reason (other than artistic).

This is dreadful as three lines merge to one:
image

This is brilliant (as the site name suggests!) -

found here: https://brilliant.org/wiki/magnetic-field-lines/ although arguably some of the field lines are not quite uniformly spaced near the poles.

I wonder if this is something you could look into please? As it’s only an on/off interactive element, it should be an easy fix to replace the bitmap used?

@jbphet
Copy link
Contributor

jbphet commented Oct 27, 2020

This doesn't look like it was ever assigned to anyone, and this sim is about to be re-released, so I think a call should be made on whether we want to make in updates to the field lines. Assigning to @ariel-phet for consideration.

@jbphet
Copy link
Contributor

jbphet commented Oct 27, 2020

Adding @arouinfar as and assignee, since she too has been involved in the design.

@ariel-phet
Copy link

@jbphet - the teacher does bring up some valid points. I think I have never paid much attention since I think the field lines were drawn to match the flash sim of MD.

However, considering we pride ourselves on fairly accurate physics, the user suggestion should be addressed in my opinion. I think something closer to the image shown below would be good, withe the following points:

  1. evenly spaced lines that do not intersect (appear to come to a point) at the poles (suggesting a uniform field)
  2. An "evenly growing" spacing that suggests a more uniform decrease in field strength as you move out from the poles
  3. The stroke width of the lines might need to be decreased to accommodate them not looking like they emanate from the same point at the poles.

magnetic-field-lines-around-a-bar-magnet---teachoo-(1)-(1)

@ariel-phet
Copy link

Marking high priority since I would naively think this should be a fairly easy fix, although it may take some time to get looking nice, it more seems tweaky than fundamentally difficult (please correct me if that is wrong).

@arouinfar
Copy link

I agree with @ariel-phet. I think we should try redrawing the magnetic field lines to look more accurate.

@ariel-phet
Copy link

We will not plan to do this work for the current release (but potentially hand to another developer after the upcoming new version is out the door). We will briefly discuss at design meeting.

@jbphet
Copy link
Contributor

jbphet commented Oct 29, 2020

I believe that the code changes could be confined to the MagnetFieldLines class, and would either involve changing the positions of the ellipses or using elliptical arcs instead. We will also probably need to add a line that goes through the center.

We discussed this in a design meeting on 10/29/2020, and @arouinfar is going to do a mockup that will specify how we want it to look, since there are several examples above and they are not all consistent with one another.

@jbphet jbphet assigned arouinfar and unassigned jbphet Oct 29, 2020
@arouinfar
Copy link

arouinfar commented Jan 21, 2021

Here's a mockup of what the updated field lines could look like (please pretend the arrows aren't misisng). The spacing between each loop is similar and the lines don't touch at the magnet's poles.
image
image

Side-by-side comparison with master:
image

The largest loop is perhaps a bit small, but I think the pixel-polishing could be done once the new set of lines are implemented in code.

@arouinfar arouinfar removed their assignment Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants