SPICE++
A circuit simulator in the browser, written from scratch.

Overview
SPICE++ is an LTspice replacement that runs in the browser. It has a schematic editor, a waveform viewer, and a simulation engine I wrote myself in TypeScript.
Problem
A real SPICE engine is hard numerical work. It also has to open the files engineers already use.
Approach
A modified nodal analysis solver with operating point, DC sweep, transient, and AC analysis, plus diode, MOSFET, and op-amp models. An AI assistant can place parts, wire them, run the simulation, and debug the circuit. It imports and exports SPICE, LTspice, KiCad, and Verilog.
Results
- .op, .dc, .tran, and .ac analysis
- AI assistant with 15+ circuit tools
- Checked against UCSD ECE coursework
Built with
TypeScript, Azure OpenAI, Supabase, Stripe
NextProject