11/29/2016

Processing_Import Data



How do we read the data that we exported?
This CSV file we exported contains XYZ codes as many points.
How do we bring these points into processing?




Here are the steps:

1. Global variable: String [ ] data will come from text.
( We can do many operations with text. )

2. Call this string data.

3. Split the data.
( Data is an array that contains lines of text.
Each line of text will represent an entity.
One entity contains three values. 
We have to split the data in order to make variables to x, y, z )

4. Use data to create points.
( We need one for loop that will go from the beginning of the data, get the values from that data, and make points out of it.)

5. Start positioning points in a grid fashion. 



No comments:

Post a Comment