Simulating continuous-time differential equations on discrete clock cycles in a JavaScript engine is wonderfully perverse, but it works.