A port of three.js to C++