make polygons out of text in the browser