myPhysicsLab vs ngspice
myPhysicsLab
myphysicslab.comngspice
ngspice.sourceforge.ioSide by side
| Figure | myPhysicsLab | ngspice |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Physics Simulation Software | 8.8 (#4) | 8.2 (#21) |
| Free plan | Yes | Yes |
| Purpose | myPhysicsLab provides interactive, real-time animated physics simulations that users can change by dragging objects and adjusting parameters. | ngspice is an open-source simulator for electric and electronic circuits. |
| Support | The author identifies himself as Erik Neumann and provides an email address on the home page; no support plan is listed there. | The project offers mailing lists, discussion forums, a bug tracker, an FAQ, and documentation. |
Plans
In their own words
myPhysicsLab
myPhysicsLab is a free, open-source project with interactive physics simulations and JavaScript classes for building animated models. Simulations run in real time, and users can drag objects or change parameters such as gravity. Its library includes examples such as pendulums, springs, colliding blocks, roller coasters, billiards, and molecular models. Many simulation pages explain the mathematics behind the models. Users can customize simulations with EasyScript or JavaScript in a browser and text editor, then share a setup through a URL that embeds EasyScript. Numeric results can be retrieved through VarsHistory, JavaScript, or collision-data scripts. Downloadable versions can be used offline. The source code is available on GitHub under the Apache 2.0 License. The simulations do not specify measurement units, so values need to be used consistently within each model. Building from source requires TypeScript, esbuild, Perl, and GNU Make. The project began in 2001, and its maker is based in Seattle, Washington.
ngspice
ngspice is a free, open-source simulator for electric and electronic circuits described as netlists. It handles analog, digital, and mixed-signal designs, with models for active, passive, analog, and digital elements; model parameters can come from collections, manufacturers, or foundries. Its SPICE compatibility supports PSPICE or LTSPICE device model parameters and netlists for discrete circuits. For mixed-signal co-simulation, it supports Verilog blocks compiled with Verilator and, since ngspice-44, VHDL blocks using GHDL. The OSDI/OpenVAF interface connects Verilog-A compact device models without requiring programming on the ngspice side. It can also be built as a shared library or DLL for another application to control. Listed integrations include KiCad, Autodesk Fusion, and Python interfaces such as PySpice. ngspice does not include schematic entry: input is through the command line or files. The stable download page offers source archives and Windows binaries; Linux users are directed to their distributor or source compilation, and the project's own macOS release is unavailable there.