Port of the qstetrix Qt example to Emscripten. Most of the logic is implemented in Javascript, executed by QScriptEngine via JavascriptCore.