pfalstad/circuitjs1

Choice of symbol for the Ammeter?

SirClickALot opened this issue · 4 comments

I am hoping to use circuitjs1 in helping to teach very basic secondary school level (aged 11-16) electronics in Computer Science.

Pretty early on I have discovered that the symbol for the ammeter is not what I expected, is at odds with the normal convention and that's going to confuse young learners needlessly I think.

I'm curious as the default choice for the Ammeter symbol because (in my setup at least) it looks far too close to Diode to me and that's really going to cause confusion.

Here is a mock-up of what I (and students) would expect an ammeter to look like...

image

Thank you

That code was contributed by someone. I like your choice of symbol better.

OK, great, thanks Paul.
Do you know where these graphics exist within the codebase - I want to do some experiments to see if I can override the Ammeter one but I am unsure where to find and in what format. My instinct was that they might be SVG files but I cannot see any such collection.

They're all done procedurally, in code. I don't know if SVG existed when I started working on this, or I didn't know about it at least. Also, I don't know if SVG would work because the various parts need to be draw in different colors depending on the voltage, and we need to know the path of the current so we can animate it.

This one is done in the draw() method of AmmeterElm.java