I started thinking about this a few weeks ago. Your best bet is to read the threejs documentation/tutorials/books available and hack something in for now.