Comment by JKCalhoun

3 months ago

Deep dive, for sure. I suspect Cliff Stoll is enjoying this site.

I played with creating a logarithmic slider thing [1] in Javascript that I hoped I could package up as a kind of "widget" people could use on their web pages. But I don't really know Javascript that well—or rather how to make an API out of a Javascript thing.

Anyway, to test it I tried to make an Ohm's Law calculator [2].

I would love to see a site like the one in this post have some kind of interactive slide rule on the web page itself.

[1] https://github.com/EngineersNeedArt/SlideRule

[2] https://www.engineersneedart.com/ohmslaw/index.html (the yellow slider is not directly user-moveable in this example)

It works well enough to get the idea of "set the voltage, set the resistance, read the current off the voltage scale above the 1 on the resistance scale". It might be a little easier to do if the rules were closer, which would probably require a little noodling about with the code to make the "resistance" box sit below the rule scale.