Nafis Contact

Engineering

OpenSpice.

A circuit simulator for my classmates and me. Draw a schematic and run it in the browser, even on a Mac.

Built with
  • ngspice
  • WebAssembly
A voltage-divider schematic with two resistors and voltage markers in OpenSpice.

Why I built it

I got a MacBook as a gift in April 2025. As my first term approached, seniors told me we’d be using PSpice 9.2 to study circuits over several terms. Getting that software running on my Mac was the problem I wanted to solve for myself and my peers.

What to try

OpenSpice opens a schematic in the browser. The interface includes parts, wires, voltage and current markers, and identifies ngspice running through WebAssembly. A DC sweep is the analysis I’d start with: vary a DC source and see how a circuit responds.

Built independently with AI assistance.

Back to projects