Saving a list of points into a text file
- by dylanisawesome1
I recently posted a question about this, but was not really sure where to go. I've gotten some progress, and have generated some simple noise here:
http://pastie.org/5408655
That works well enough for me, but I would really like to be able to save the points into an ascii text file. currently it's formatted so that something like this:
http://pastie.org/5409311
would create a square. I need to save in this format with the points(and lines connecting them) generated in the method above.
Essentially, I need to write the array of points created in the first example to a text file formatted like the second example.