title: How to create MS Paint clone with Python and pygame
body: <p>As I see it, there are two ways to handle mouse events to draw a picture.</p>
  
  <p>The first is to detect when the mouse moves and draw a line to where the mouse is, shown <a href="http://www.cs.iupui.edu/~aharris/pygame/ch05/paint.py" rel="noreferrer">here</a>.  However, the problem with this is that  with a large brush size, many gaps appear between each "line" that is not straight since it is using the line's stroke size to create thick lines.</p>
  
  <p>The other way is to draw circles when the mouse moves as is shown <a href="http://www.ida.liu.se/~ETE257/timetable/LecturePythonPygame2.html" rel="noreferrer">here</a>.  The problem with this is that gaps appear between each circle if the mouse moves faster than the computer detects mouse input.</p>
  
  <p>Here's a screenshot with my issues with both:</p>
  
  <p><img src="https://i.stack.imgur.com/7ILzZ.png" alt="http://imgur.com/32DXN.jpg"></p>
  
  <p>What is the best way to implement a brush like MS Paint's, with a decently-big brush size with no gaps in the stroke of the line or no gaps between each circle?</p>