import java.util.regex.*; //String twitterURL = "http://twitter.com/#search?q=%23soundcheck"; String query = "%23soundcheck"; String since = "2009-08-10"; String twitterURL = "http://search.twitter.com/search.atom?q="+query+"&since="+since; String regex1 = "<(.|\n)+?>"; String proxyHost="hawkeye.pfpcint.com"; String proxyPort="8080"; String paramProxyHost="proxyHost"; String paramProxyPort="proxyPort"; String[][] content; float verticalVelocity=0.0; float verticalAcceleration=0.1; void setup() { size(800,600); background(0); smooth(); frameRate(25); PFont font=loadFont("DejaVuSansCondensed-Bold-12.vlw"); textFont(font); if (param("query")!=null) query=param("query"); // if (param(paramProxyHost)!=null) // System.setProperty("http.proxyHost", param(paramProxyHost)); // else System.setProperty("http.proxyHost", proxyHost); // // if (param(paramProxyPort)!=null) // System.setProperty("http.proxyPort", param(paramProxyPort)); // else System.setProperty("http.proxyPort", proxyPort); // Download RSS feed of tweets tagged with [query] refreshTweets(); } void draw(){ fill(0,80); rect(0,0,width,height); int h=20; int x=0; int y=0; int dir=1; for (int i=0;i