This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| JPEG Camera Example Sketch | |
| The sketch will take a picture on the JPEG Serial Camera and store the jpeg to an SD card | |
| on an SD Shield | |
| Written by Ryan Owens | |
| SparkFun Electronics | |
| Hardware Notes: | |
| This sketch assumes the arduino has the microSD shield from SparkFun attached. | |
| The camera Rx/Tx should be attached to pins 2 and 3. | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| Code is from Jer Thorpe's Website: | |
| http://blog.blprnt.com/blog/blprnt/your-random-numbers-getting-started-with-processing-and-data-visualization | |
| */ | |
| // Get Theme of Song | |
| String[] getTheme() { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import processing.opengl.*; | |
| String url = "http://api.wefeelfine.org:8080/ShowFeelings?returnfields=feeling,sentence,gender&display=xml"; | |
| ArrayList<FeelingEntry> feelingList = new ArrayList(); // an array list is built in. java is a strictly written language | |
| // array list can only hold one type of object | |
| void setup() { | |
| size(600, 600, OPENGL); | |
| background(0); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | String url = "http://api.wefeelfine.org:8080/ShowFeelings?returnfields=feeling,sentence,gender&display=xml"; | |
| void setup() { | |
| size(600, 600); | |
| background(0); | |
| smooth(); | |
| loadFeelings(); | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import processing.opengl.*; | |
| String url = "http://api.wefeelfine.org:8080/ShowFeelings?returnfields=feeling,sentence,gender&display=xml"; | |
| ArrayList<FeelingEntry> feelingList = new ArrayList(); // an array list is built in. java is a strictly written language | |
| // array list can only hold one type of object | |
| void setup() { | |
| size(600, 600,OPENGL); |