<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Nodesim</title>
    <description>The latest articles on DEV Community by Nodesim (@nodesim).</description>
    <link>https://dev.to/nodesim</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4271591%2F2ba47e07-ec32-437e-9d52-67135139c13d.png</url>
      <title>DEV Community: Nodesim</title>
      <link>https://dev.to/nodesim</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nodesim"/>
    <language>en</language>
    <item>
      <title>How NodeSim Runs Real ngspice SPICE Simulations 100% Inside the Browser via WebAssembly</title>
      <dc:creator>Nodesim</dc:creator>
      <pubDate>Sun, 29 Nov 2026 02:24:46 +0000</pubDate>
      <link>https://dev.to/nodesim/how-nodesim-runs-real-ngspice-spice-simulations-100-inside-the-browser-via-webassembly-1nlh</link>
      <guid>https://dev.to/nodesim/how-nodesim-runs-real-ngspice-spice-simulations-100-inside-the-browser-via-webassembly-1nlh</guid>
      <description>&lt;p&gt;Most browser-based circuit simulators either send schematics to a backend server (introducing latency, login walls, and usage limits) or rely on simplified custom solvers that diverge from textbook SPICE behavior.&lt;/p&gt;

&lt;p&gt;When building &lt;strong&gt;&lt;a href="https://www.nodesimapp.com/" rel="noopener noreferrer"&gt;NodeSim&lt;/a&gt;&lt;/strong&gt; (open-source under MIT at &lt;a href="https://github.com/SiD4422/multisimLive" rel="noopener noreferrer"&gt;github.com/SiD4422/multisimLive&lt;/a&gt;), the goal was straightforward: run full &lt;strong&gt;Modified Nodal Analysis (MNA)&lt;/strong&gt; locally inside your browser tab with zero downloads, zero paywalls, and no account required.&lt;/p&gt;

&lt;h3&gt;
  
  
  How the Client-Side SPICE Pipeline Works
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Schematic Canvas (&lt;code&gt;React 19 + Konva&lt;/code&gt;)&lt;/strong&gt;: Wire together 250+ SPICE &amp;amp; behavioral analog, power, and digital gate models (&lt;code&gt;SchematicEditor.tsx&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Instant State &amp;amp; Short Sharing (&lt;code&gt;Zustand + LZString + /c/&lt;/code&gt;)&lt;/strong&gt;: Circuits live client-side with zero mandatory signup, exportable via compressed URLs or 8-character &lt;code&gt;/c/&amp;lt;id&amp;gt;&lt;/code&gt; share links with live link previews.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Web Worker + Pre-Warmed ngspice WASM (&lt;code&gt;spiceWorker.ts&lt;/code&gt; + &lt;code&gt;@o.z/ngspice-wasm&lt;/code&gt;)&lt;/strong&gt;: Runs Transient, AC Bode sweeps, DC sweeps, &lt;code&gt;.op&lt;/code&gt;, &lt;code&gt;.step&lt;/code&gt; parametric sweeps, &lt;code&gt;.noise&lt;/code&gt; spectral noise, and &lt;code&gt;.step temp&lt;/code&gt; thermal sweeps without freezing the UI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interactive Waveforms &amp;amp; Exports (&lt;code&gt;Grapher.tsx&lt;/code&gt;)&lt;/strong&gt;: Watch 60 FPS SPICE current-flow animation, drag component sliders with ghost trace overlays, and export CSV traces, &lt;code&gt;.cir&lt;/code&gt; / KiCad &lt;code&gt;.net&lt;/code&gt; netlists, or IEEE PDF lab reports.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Try Live Interactive Guides &amp;amp; Templates
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.nodesimapp.com/simulator" rel="noopener noreferrer"&gt;Launch NodeSim Free&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.nodesimapp.com/tutorials/rc-circuit" rel="noopener noreferrer"&gt;RC Low-Pass Filter Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.nodesimapp.com/tutorials/buck-converter" rel="noopener noreferrer"&gt;PWM Buck Converter Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.nodesimapp.com/tutorials/wien-bridge-oscillator" rel="noopener noreferrer"&gt;Wien Bridge Oscillator Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.nodesimapp.com/compare/ltspice" rel="noopener noreferrer"&gt;NodeSim vs LTspice Comparison&lt;/a&gt; · &lt;a href="https://www.nodesimapp.com/compare/multisim" rel="noopener noreferrer"&gt;NodeSim vs NI Multisim&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Contributions, issues, and circuit templates are welcome on &lt;a href="https://github.com/SiD4422/multisimLive" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;!&lt;/p&gt;

</description>
      <category>webassembly</category>
      <category>electronics</category>
      <category>engineering</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
