BetterSPICE is an open-source circuit simulator for Windows, macOS and Linux, with a browser version that requires no installation. It combines an always-running visual simulation with conventional SPICE analysis: as a schematic is edited, wire colours indicate voltage, animated markers show current, and part values and waveforms update. Users can then run transient, AC and DC analyses, plus tools such as noise, FFT, pole-zero and loop-gain analysis, with results checked against ngspice. The simulator also runs microcontroller programs as part of a circuit. In a demonstrated buck converter, a controller samples output 20,000 times per second and generates 100 kHz PWM to regulate 12 V down to 5 V.
The project emphasizes accuracy, scale and practical design workflows. Its reported tests include 5,767 of 5,767 signals passing across 455 circuits, with comparisons against ngspice; it also includes 160,807 vendor models from more than 70 manufacturers and 1,000 runnable examples. Schematics can be imported from EasyEDA Pro, SPICE netlists, Multisim and Altium. Additional features include tolerance analysis, measurements, large-schematic navigation, model comparison and warnings about the time and memory required for large runs. A native engine accelerates large desktop simulations, while the same core also runs in WebAssembly. Version 1.0.0 adds crash recovery, problem reporting, physical quantities such as motor speed and temperature, and datasheet-checked labels for 9,294 models.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.