-
Recent Posts
Recent Comments
- Danielle Small on Final Blog Post
- Calli Higgins on Homework 10.2
- Calli Higgins on Homework 10.2
- Calli Higgins on Homework 10.2
- Calli Higgins on Nafis Sabir HW 10.2
Archives
Categories
Meta
Author Archives: T4mas
homework 4.1
//tried my best but there seems to be an error(s). Stuck on the freezing ball theorem. int x=300; int speed=2; boolean button=false; void setup(){ size(600,600); } void draw(){ background(mouseX,mouseY); noStroke(); if (button) { x=x; } fill(mouseX,121,30); rect(x,200,100,100); if(x > … Continue reading
Posted in Uncategorized
Leave a comment
homework 2.2 part 2
//My new creation updated a little. int s =260; int a =540; int b= 80; int c= 20; void setup() { size(800,600); } void keyPressed(){ background(mouseX,mouseY,0); } void mousePressed(){ fill(mouseX,mouseY,0);//set red color rect(0,0,200,445);//uno rectangle fill(mouseX,mouseY,0);//set color green rect(559,0,230,445);//3rd rectangle } … Continue reading
Posted in Uncategorized
Leave a comment
homework 2.2 part 1
Part 1 int r=255; int g=255; int b=255; boolean sunny=false; float x=12.0; float z; z=x+25; float y=z+x;
Posted in Uncategorized
Leave a comment
homework 2.1 part 3
//Thomas Wu- Prof. Calli Higgins-2/6/13- Homework 2.1 part 3 //have trouble uploading my creation but here is the code. void setup() { size(800,600); } void keyPressed(){ background(mouseX,mouseY,44); } void mousePressed(){ fill(mouseX,mouseY,0);//set red color rect(0,0,200,300);//uno rectangle fill(mouseX,mouseY,255);//set color blue rect(0,360,200,700);//2nd rectangle … Continue reading
Posted in Uncategorized
Leave a comment
homework 2.1 part 2.
//all 15 errors fixed. void setup(){ size(200,200); } void draw(){ background(0); fill(255,255); ellipse(100,100,100,100); line(100,100,150,150); rect(mouseX, mouseY, 50,50); }
Posted in Uncategorized
Leave a comment
homework 1.2 part 3
It looks like I have trouble uploading my picture but I will post the code so at least you know I did it. //Thomas Wu-Prof.Calli Higgins-2/1/13-Assignment 1.2-pt3 size(200,200);//size change background(18,113,10); //color change. rectMode(CENTER);//rectangle center. stroke(0); //constructing Cyborg body. fill(31,147,111); rect(100,100,30,100);// … Continue reading
Posted in Uncategorized
Leave a comment
homework 1.2 part 2
//Thomas Wu-Prof. Calli Higgins-2/1/13-Assignment 1.2 size(400,400);//sets window size ellipseMode(CENTER); //set ellipse to center mode noStroke();//shape has no outline fill(255,0,0);//set red color rect(0,0,200,200);//uno rectangle fill(0,0,255);//set color blue rect(0,200,200,200);//2nd rectangle fill(0,255,0);//set color green rect(200,0,200,200);//3rd rectangle fill(113,121,115);//Set color to grey rect(200,200,200,200);//4th rectangle stroke(0);//stroke … Continue reading
Posted in Uncategorized
Leave a comment