About. An open source physics at Singapore simulation based on codes written by Fu-Kwun Hwang and Loo Kang WEE. More resources can be found here. Duction. The Easy JavaScript Simulation Magnetic Field from 2 wires model computes the B-field created by an electric current through 2 straight wires in the z direction with the options of external magnetic fields.