circuitjs1 icon indicating copy to clipboard operation
circuitjs1 copied to clipboard

Choice of symbol for the Ammeter?

Open SirClickALot opened this issue 1 year ago • 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

SirClickALot avatar Oct 06 '24 07:10 SirClickALot

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

pfalstad avatar Oct 06 '24 08:10 pfalstad

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.

SirClickALot avatar Oct 07 '24 11:10 SirClickALot

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

pfalstad avatar Oct 07 '24 17:10 pfalstad

Brilliant, thank you Paul, I will take a look at it alongside the Voltmeter and compare.

On 7 October 2024 18:16:43 BST, Paul Falstad @.***> wrote:

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. This one is done in the draw() method of AmmeterElm.java

-- Reply to this email directly or view it on GitHub: https://github.com/pfalstad/circuitjs1/issues/110#issuecomment-2397477339 You are receiving this because you authored the thread.

Message ID: @.***>

SirClickALot avatar Oct 07 '24 17:10 SirClickALot