Chapter 4. Time Series
• Acquiring a table of data from a text file
• Parsing the contents of the file into a usable data structure
• Calculating the boundaries of the data to facilitate representation
• Finding a suitable representation and considering alternatives
• Refining the representation with consideration for placement, type, line weight, and color
• Providing a means of interacting with the data so that we can compare variables
  against one another or against the average of the whole data set

• 데이터 구간설정을 위해 읽어들인 데이터의 최대/최소를 구하는 방법, MIN_FLOT, MAX_FLOAT
• 읽어들인 데이터를 map을 사용하여 디스플레이의 플롯(plot)에 매핑하기
• Labeling
• createFont() 를 이용한 시스템 폰트 사용
• 키보드 입력을 통한 화면 전환
• Too many labels make the diagram look like graph paper, and too few suggests that
   only the minimum and maximum values need to be shown.


• % 연산자 (modulo : 나누기 나머지 구하기) - 반복적인 무언가를 할때 활용 가능 
   if (data % 7 == 0) {
           // 여기서 무언가 할일 작성 하면 7의 간격으로 실행됨
   }

• Grid 를 제공하여 가독성 높이기
• Vertex 사용하기
       beginShape( );
       vertex(10, 10);
       vertex(90, 30);
       vertex(40, 90);
       vertex(50, 40);
       endShape();    -> endShape(CLOSE); 하면 구간이 닫히고 면적으로 표시됨

• 특정 점에서 Mouse rollover 사용하기 - dist 활용
       if (dist(mouseX, mouseY, x, y) < 3) {
               // rollover 시 동작 작성
       }


• Integrator class 를 이용한 부드러운 데이터 전환
Posted by 알 수 없는 사용자