title: Numpy: particle coordinates into image
body: <p>I have a list of coordinates that represent some particles on a 5x5 plane. E.g.: </p>
  
  <pre><code>coords = [ [1.4, 3.2], [2.221, 4.313], [0.411, 4.3221] ]
  </code></pre>
  
  <p>I would like to obtain an image, say of size 64x64 where the pixels are black at the coordinates and white everywhere else.</p>