Super cool. Wonder if we can input the circuit as code.

> Wonder if we can input the circuit as code.

SPICE. You're describing SPICE. :)

As others have mentioned, SPICE is the traditional answer to that question. But SPICE feels more like a macro-assembler for circuits.

One project that comes to mind for high-level programming style circuits-as-code:

https://github.com/atopile/atopile

Show HN: https://news.ycombinator.com/item?id=39263854 More recent HN thread: https://news.ycombinator.com/item?id=44548449

There used to be some really good web-based SPICE interpreters but I can't find them now. This was before javascript ate everything, so you would enter the netlist, click a button, and get a GIF or the current at a specified terminal or whatever

Well, SPICE is still around in its zillion forks and dialects…

AIUI the best frontend is kicad, though I never really tried that, I just wrote the text files by hand.

No one realistically speak SVG. Human consciousness isn't a software built on language. Speech center is just a part of a human brain.