Rewrote renderer using two.js