3D graphing with WebGL