Author Archives: Jay

week 3 homework part 3

int x=100; int speed=10; float r, g, b; void setup() { size(600, 600); background(0); } void draw(){ r=random(255); g=random(100); b=random(200); fill(255); rect(0,50,600,100); fill(0);   ellipse(x, 100, 50, 50); if(x>width) { speed=speed*-1; } else if (x < 0) speed=speed*-1; x = … Continue reading

Posted in Uncategorized | Leave a comment

homework 2.2

part 2 // sketch int EW=100; int EH=100; float EY; float EX; float r; float g; float b; float x; float y; float w; float h; void setup (){ size(600,600); EW=(100); EH=(100);   background(255); } void draw() { r=random(255); g=random(255); … Continue reading

Posted in Uncategorized | Leave a comment

homework week 2 1.1

Posted in Uncategorized | 2 Comments

Homework 1.2

Geremias Blanco //making size 400×400 size(400,400); //making red rect size/cords (0,0,200,200) fill(255,0,0); rect (0,0,200,200); //making blue rect size/cords (0,200,200,200) fill (0,0,255); rect(0,200,200,200); //making green rect siz/cord (200,0,200,200) fill(0,255,0); rect (200,0,200,200); // making gray rect size/cord (200,200,200,200) fill(126,122,122); rect(200,200,200,200); // making … Continue reading

Posted in Uncategorized | Leave a comment