Login
You're viewing the techdon.dev public feed.
  • Oct 13, 2026, 7:16 PM

    Stealth preview of the $thing I've been working on: a browser-based SPICE simulator.

    Today for the first time I got to run a real simulation and put the result on a chart! This is an opamp square wave generator with a true model for the TL071.

    The engine is NGSPICE, compiled to WASM. Most of the effort so far has gone into the schematic editor.

    All of the code has been human-written by me, in vanilla JS + HTML/CSS.

    Screenshot from a browser-based app. On the left is a schematic with an opamp and some passive parts. On the right, a chart with the voltage at the opamp's output and at the top of the capacitor.
    💬 1🔄 19⭐ 48

Replies

  • Oct 13, 2026, 7:25 PM

    I'm doing this because I've been spending an obscene amount of time in LTSpice and loving how simulations build intuition and understanding, but... being very frustrated by so many things about that software.

    In Falstad I miss realism and in KiCad (which I love) I found a lot of friction when trying to use it for simulation. And I know of no other tool accessible to a hobbyist/student/indie designer.

    💬 1🔄 0⭐ 4
  • Oct 13, 2026, 7:28 PM

    So maybe an app like this fills a real need out there? Maybe there's even a market for it?

    Or maybe not.

    If you have thoughts, please share. Also very eager to have feedback from early testers!

    💬 1🔄 0⭐ 3
  • Oct 13, 2026, 7:36 PM

    This will be open-source BTW. Partly it's only fair because it's just a little brick on top of existing open source work out there.

    But also because I honestly feel like I can't be arsed to put effort into something proprietary at this point. So much good work has gotten lost and gone to waste because companies get bought, or go out of business, or change priorities. Or because authors lose interest or retire.

    Now only if someone will show me a good way to make money with open source :P

    💬 1🔄 0⭐ 4
  • Nov 6, 2026, 9:48 AM

    The menagerie of symbols the schematic editor knows has been slowly growing. There's now also a way to probe random nets and plot the simulation result from there.

    I'm truly getting close to a point where I can share a YOLO version with the Brave and Fearless among you.

    Nonsensical schematic with various parts like transistors, diodes, passives, an opamp, and a box for LM555.
    💬 2🔄 0⭐ 3
  • Nov 6, 2026, 3:28 PM

    Now with the CMOS version of 555 and an actual simulation. It's been a multi-hour sidetrack because TLC555's manufacturer model is very not NGSPICE-friendly, and (more importantly) because ad-hoc build fuckery is needed to statically link some XSPICE component models for the WASM target.

    But I have access to Superintelligence, and thus will not be stopped.

    Simulation of a TLC555 astable multivibrator. It's a CMOS chip, so you can observe the oscillation gradually ramping up because of the 100nF cap on the CV pin.
    💬 0🔄 0⭐ 1
  • Nov 21, 2026, 5:27 PM

    It's release time! [swallows] I'm ready to share the YOLO version of FshSPICE. It is still pre-beta, but you can define and simulate real circuits with it.

    It's written by me, not by an LLM.

    yolo.fsh-spice.xyz/

    FshSPICE is a fully local app where you can edit schematics and simulate them using NGSPICE. The circuits are saved in your browser.

    If you try it, I would love to hear from you.

    #electronics #simulation #SPICE

    Square waveform generator with an opamp; the chart is showing the voltages at the opamp's output and at the top of the capacitor.
    💬 0🔄 7⭐ 6