title: Creating a polygon shape from a 2d tile array
body: <p>I have a 2D array which just contains boolean values showing if there is a tile at that point in the array or not. This works as follows, say if array[5,6] is true then there is a tile at the co-ordinate (5,6). The shape described by the array is a connected polygon possibly with holes inside of it.</p>
  
  <p>Essentially all i need is a list of vertex's and faces which describe the shape in the array. </p>
  
  <p>I have looked for a while and could not find a solution to this problem, any help would be appreciated.</p>
  
  <p>Edit: This is all done so that i can then take the shapes and collide them together. </p>
  
  <p>This project is just something i am doing to help advance my programming skills / physics etc. </p>
  
  <p>Edit2: Thanks for all the help. Basicly my problem was very similar to converting a bitmap image to a vector image. <a href="http://cardhouse.com/computer/vector.htm" rel="nofollow noreferrer">http://cardhouse.com/computer/vector.htm</a> is useful if someone else in the future encounters the same problems i have done.</p>