added 2d gui for web and opencv