add function to draw hex for canvas