Login
You're viewing the code4lib.social public feed.
  • Nov 21, 2026, 10:20 PM

    @twilliability Wow, that is fantastic!! I too have been longing for something like the Falstad simulator, but with ngspice analysis.

    I tried yours and got sensible results out of a simple common emitter amplifier drawn by hand (suggesting it's all learnable by trial and error, since I didn't bother reading any docs). One minor nitpick is that the plot colours seem to be deterministic but I didn't find a way to configure them, and sometimes two nodes' colours collide. (Also, I miss the Falstad single key shortcuts, like 'r' to add a resistor, 'N' for N-channel MOSFET, etc.) I'd love to see the features listed in webapp/notes.txt (especially AC source frequency, AC analysis, and current measurements). And perhaps even .sp analysis on Smith chart plots? :blobcat_smilehappyeyes:

    The source looks really good, BTW. Good enough that I feel slightly guilty whining about features on Mastodon instead of submitting a proper pull request. Great job!!

    💬 1🔄 0⭐ 0

Replies

  • Nov 22, 2026, 10:05 AM

    @gtw thanks for the feedback!

    there are six colors and they should not collide until you've used them all up... if they did, that's a bug. i wonder if you can find repro steps?

    the letters to insert parts are definitely coming. it's a tiny bit tricky coz you do need to select a specific part eventually, so i'm not sure which is better: pretend it's easy to place the part and then making you browse anyway, or forcing to browse right away. i use ctrl+d to duplicate a lot!

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 3:19 PM

    @twilliability Ah, that makes sense... I think I had used up all 6 colours, then removed some of the probes, and so I suspect I eventually ended up with a collision between what had at some point been (e.g.) the first and seventh.

    My guess is that it's better to pretend placement is easy and then forcing browsing for the actual component later... mainly because for trivial (e.g., passive LCR) parts, the pretense might turn out to be true and the browsing can sometimes be omitted?

    Again, great work!

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 3:39 PM

    @gtw yeah for passives definitely! i'm hesitant about parts where the model is important.

    thanks for the feedback! do let me know if you have any other thoughts to share :)

    💬 0🔄 0⭐ 0