blocking renderings

Hi guys, I’m drawing a cube on the stage and I’m getting a really low quality rendering. I’m trying to follow this tutorial as closely as possible: … sing_WebGL and I can’t seem to figure out what is causing my cube to render so jaggedly. Here’s a link to my project:

The main differences between my project and the tutorial are the separation of code out into files and the animation.

You can fix the problem by putting explicit width and height tags in the canvas element.

Odd, though – you’d think that it shouldn’t matter whether the dimensions are in CSS or in the element itself.

Ahhhh, great! Thanks. It was late last night and I had given up. I never would have found that.