One of the more basic things to do in WebGL.

I'm creating an animation on my site by a simple shader on a single static full-canvas rectangle of two polygons with a single texture. (Technically 3 greyscale textures packed on a single texture which are unpacked via the shader)

I think I have 2-3 problems: I am either unable to assign UV coordinates to the rectangle... I am unable to properly assign the texture to it... and I don't know how to properly assign "time" to the shader.

You could check it out at

If I made any other mistakes (except sloppy/clean-up suggestions... I'll save those for after I get it working -- very little experience with OpenGL so I don't want to get more confused until I get this figured out) please tell me.