Updated the objects to not use the Graphics object but use WebGLRenderingContext directly. The Graphics object has been deprecated.