Simple code using three js that will hopefully help some people