Generated trees using threejs