log (x+1) value to console on mouse click in canvas