Sorry for the broken link and thanks for correcting, so this should hopefully work:
http://htmlpreview.github.io/?https://github.com/meggart/Konthe/blob/master/examples/KontheExamples.html Regarding three.js, which functionality did you have in mind? I think it would be possible to generate Javascript code as an output instead of drawing to OpenGL. However, I don't have any experience with WebGL or three.js so I probably won't do it. Fabian