I've said it before, and I'll say it again.

WebGL is a bad idea:

https://www.khronos.org/registry/webgl/sdk/tests/extra/lots-of-polys-example.html