flwebgl-0.2.min.js reverse engineered to a TypeScript project