We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to map html text on top of a webgl p5.js sphere of nodes that is rotating. I know I have to do something with a projection matrix and a view matrix in order to convert from 3d space to 2d but not sure how to get the matrix of the camera, if that's what I'm supposed to do? I found this which looked promising http://webglfactory.blogspot.co.uk/2011/05/how-to-convert-world-to-screen.html
You can see an Instagram vid example here: http://brendandawes.com/blog/07-31-471
Any help would be great. Incidentally I did something similar when using Three.js but I could get the projection matrix, with he p5.js one I'm not sure how I get that.