Probably raw WebGL. Canvas 2d is limited and doesn't perform very well for a large number of polygons. And I'm not aware of any WebGL libraries that have good 2d support.
This is very good stuff. I'd also recommend CS50x, [1] the Intro to Computer Science from Harvard for those who need an intro before diving deeper, as it gives a solid grounding in most of these topics.