3d environment testing with webgl