Examples updates to 640 x 360 pixels

This commit is contained in:
Casey Reas
2011-08-05 18:26:51 +00:00
parent f1c7aabf14
commit 9b7de8d6b7
52 changed files with 295 additions and 302 deletions
@@ -13,7 +13,7 @@ ArrayList balls;
int ballWidth = 48;
void setup() {
size(200, 200);
size(640, 360);
smooth();
noStroke();
@@ -33,8 +33,8 @@ void setup() {
}
void draw() {
background(255);
fill(0);
background(51);
fill(255);
// Look at words one at a time
String s = tokens[counter];
@@ -10,15 +10,17 @@
*/
Animation animation1, animation2;
float xpos, ypos;
float xpos;
float ypos;
float drag = 30.0;
void setup() {
size(200, 200);
size(640, 360);
background(255, 204, 0);
frameRate(24);
animation1 = new Animation("PT_Shifty_", 38);
animation2 = new Animation("PT_Teddy_", 60);
ypos = height * 0.25;
}
void draw() {
@@ -17,7 +17,7 @@ int[][][] world;
void setup()
{
size(640, 200, P2D);
size(640, 360);
frameRate(12);
sx = width;
sy = height;
@@ -20,7 +20,7 @@ color black = color(0, 0, 0);
void setup()
{
size(640, 200, P2D);
size(640, 360);
frameRate(24);
clearscr();
w = new World();