For creating a Three js cube you'd better start with a boilerplate code. Then, add a cube instead of a sphere to the scene. Then, add 2 point