Spintronics Simulator

version 1.02


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.

Take me to the simulator!

Using the Spintronics simulator


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

Placing a part in the Spintronics simulator

  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.

Connecting parts with chain in the Spintronics simulator

  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.

Resetting the circuit breaker in the Spintronics simulator

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

Using the Interact button in the Spintronics simulator

  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.

Changing spintronic part properties in the Spintronics simulator

Example Circuits

Click any of the following links to load a circuit into the spintronics simulator and see it in action.

Simple parallel circuit

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

A parallel circuit built in the Spintronics simulator

Sinusoidal oscillator

An oscillator that produces a sinusoidal wave.

A sinusoidal oscillator built in the Spintronics simulator

Ring oscillator

Each of three transistors turn on and off in turn.

A ring oscillator built in the Spintronics simulator

Pulse generator

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

A pulse generator built in the Spintronics simulator

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.