A simple graphics library for plotting 2d phase diagrams with the canvas element in HTML5