Spintronics Simulator is a free, browser-based simulation of spintronic circuits. Build, test, and share spintronic circuits virtually.

We recommend the simulator for intermediate and advanced spintronic circuit builders. Unless you have physically used the parts and built an intuition for spintronic circuits, it can be difficult to interpret what's happening on the screen.

Note that the simulator is currently designed to be run on desktop computers.

Take me to the simulator!


  1. Add spintronic parts to the work area using the buttons on the left.

  1. Connect them together with chain using the button on the top left. Move your mouse over the outside edge of a sprocket until you see a green arrow. Click to connect the chain. You may see buttons appear for '1', '2', and '3'. These choose which sprocket to connect to. '1' is the bottom level sprocket and '3' is the top level sprocket for most parts.

  1. When you first place a battery, it immediately shorts out because it has no resistance. Reset the circuit breaker to make it run again.

  1. Use the Interact button like your finger. Click and drag on parts to push or pull them.

  1. Use the “Change part properties” button to change part values. For example, to change the resistance of a resistor or to turn a switch on or off.

Example Circuits

Download any of the example circuits below and load them in the spintronics simulator to see them in action.

  Simple parallel circuit.spin

A basic parallel circuit. Use the interact button and watch what happens when you stop one of the resistors.

  Sinusoidal oscillator.spin

An oscillator that produces a sinusoidal wave.

  Ring oscillator.spin

Each of three transistors turn on and off in turn.

  Pulse generator.spin

When the switch is turned on, the ammeter will make noise for a set amount of time before it gradually turns back off.

Source Code

Spintronics Simulator was created by Paul Boswell using Phaser 3 for graphics and Box2D for physics simulation. It was initially built for the purpose of simulating spintronic parts before physically building them and to create graphics for the puzzle books.

The source code is available in the spintronics-simulator Github repository. You’re welcome to fork the code. All the code is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.