This is a fork from the amazing repo by cwarr
I intend to use it as a renderer for my own magic ball 8, since I suck at THREE.js and 3d modelling, so I rewrite it to typescript, classes and other abhorrent stuff in order for it to work as a pluggable npm package.