I\'m trying to allow the user to draw a rectangle on the canvas (like a selection box). I\'m getting some ridiculous results, but then I noticed that even just trying the co
You haven't indicated canvas size in pixels, so it is scaled up. It is 300x150 here. Try setting the width, height