generate grid background for your canvas, optionally show cursor coordinates on mouse move.