This file contains 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 com.francisli.processing.http.*; | |
HttpClient client; | |
void setup() { | |
client = new HttpClient(this, "api.wunderground.com"); | |
client.GET("/api/[api_key]/conditions/q/CA/San_Francisco.json"); | |
} | |
void responseReceived(HttpRequest request, HttpResponse response) { |
This file contains 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 com.francisli.processing.http.*; | |
HttpClient client; | |
void setup() { | |
client = new HttpClient(this, "api.wunderground.com"); | |
client.GET("/api/[api_key]/conditions/q/CA/San_Francisco.json"); | |
} | |
void responseReceived(HttpRequest request, HttpResponse response) { |
This file contains 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 com.francisli.processing.http.*; | |
PFont cityFont, timeFont, weatherFont; | |
PImage backgroundImg; | |
PImage conditionImg; | |
PImage windImg; | |
String locationInfo, currentTime, currentConditions; | |
float tempF, tempC; |
This file contains 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 com.francisli.processing.http.*; | |
PFont cityFont, timeFont, weatherFont; | |
PImage backgroundImg; | |
PImage conditionImg; | |
PImage windImg; | |
String locationInfo, currentTime, currentConditions, iconURL, wind, windDirection; | |
float tempF, tempC, windSpeed; |
This file contains 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
class Glyph { | |
int x, y, glyphsize; | |
Glyph() { | |
x = 10; | |
y = 10; | |
glyphsize = 10; | |
} | |
void paint(int i) { |
This file contains 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
class Glyph { | |
int x, y, glyphsize; | |
Glyph() { | |
x = 410; | |
y = 50; | |
glyphsize = 10; | |
} | |
void paint(int i) { |
OlderNewer