Skip to content

Instantly share code, notes, and snippets.

View MiChaElLa's full-sized avatar

MiChaElLa MiChaElLa

View GitHub Profile
@MiChaElLa
MiChaElLa / arduino linksprite code
Created October 29, 2011 23:52
linksprite + arduino sd shield
/*
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.
@MiChaElLa
MiChaElLa / GoogleCode
Created October 13, 2011 03:21
A data representation of love and heart break songs turned to poem ( not working )
/*
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() {
@MiChaElLa
MiChaElLa / WeFeelFine_DivGenderFeelings
Created October 10, 2011 20:38
WeFeelFine_Assignment
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);
@MiChaElLa
MiChaElLa / WeFeelFine_DivGenderFeelings
Created October 10, 2011 18:07
WeFeelFine_InClassExampleSep27
String url = "http://api.wefeelfine.org:8080/ShowFeelings?returnfields=feeling,sentence,gender&display=xml";
void setup() {
size(600, 600);
background(0);
smooth();
loadFeelings();
}
@MiChaElLa
MiChaElLa / WeFeelFine_AllFeelings
Created October 10, 2011 17:55
WeFeelFine_InClassExample
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);