Utilities for dealing with webcam input in WebGL