A physical engine. Written in JavaScript.