Home▸Electronics & Circuits▸2D PN Junction Diode Simulator

2D PN Junction Diode Simulator

Interactive 2D cross-section of a silicon PN junction diode: sweep the applied voltage from reverse to forward bias and watch the depletion region shrink, the band diagram flatten, and current start flowing above the ~0.7V threshold.

Electronics & Circuits2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-3d-pn-junction-diode ↗ Open standalone

This 2D cross-section simulator shows a silicon PN junction diode from the side: p-type material packed with mobile holes on the left, n-type material packed with mobile electrons on the right, and the depletion region between them where fixed dopant ions create a built-in electric field. Drag the bias slider from reverse through zero into forward bias to watch the depletion region shrink as the barrier collapses, current stay essentially zero until the ~0.7V silicon threshold is crossed, and the band diagram below flatten as the junction turns on — then push it further negative to see the depletion region widen and block conduction under reverse bias, with only a trace of leakage current getting through. The doping slider shows how a heavier dopant concentration compresses the depletion width and sharpens the turn-on.

⚙ Under the hood

An interactive 2D cross-section of a silicon PN junction diode where sweeping the applied voltage shrinks or widens the depletion region, flattens or steepens the band diagram, and switches current on above the ~0.7V forward threshold.

PN JunctionDiode SimulationSemiconductor Physics

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)