All right I can see the issue!
This is because you are using a large stroke like :
stroke(0);
strokeWeight(10);
The WEBGL implementation in p5js is still experimental as stated in this thread :
Also the reference for the GitHub issue :
Also you might want to look at a more advanced 3d library like Three.js :
Have fun!