The above simulation was created with EJS. You can download EJS source (just click download link below the simulation).
It is an XML format.