Author Archives: Mohammad Rahat

Final project

Line thatLine; Line2 thatLine2; Line3 thatLine3;b Line4 thatLine4; void setup() {   background(0);   size(400, 400);   smooth();   thatLine = new Line();   thatLine2 = new Line2();   thatLine3 = new Line3();   thatLine4 = new Line4(); } void … Continue reading

Posted in Uncategorized | Leave a comment

Idea for Final

I have an idea for the final, which is probably out of my league, to do a game of hangman. It’s going to be just like regular hangman. I will already have words set for you guys to guess and … Continue reading

Posted in Uncategorized | Leave a comment

Mohammad Rahat 10.2

since I didn’t really have a decent midterm, I just did something simple class Rect { color c; int xpos; int ypos; Rect() { c = color(255); xpos = 100; ypos = 50; } void display() { fill(c); rect(xpos, ypos, … Continue reading

Posted in Uncategorized | Leave a comment

Mohammad Rahat hw 3.2 part 3

int x = 300; int speed = 10; void setup() { size (600, 600); } void draw() { background(0); stroke(0, 255, 0); fill(0, 0, 255); ellipse(x, x, 100, 100); if (x > width) { speed = speed * -1; } … Continue reading

Posted in Uncategorized | Leave a comment

Mohammad Rahat Week 2 HW (Open processing isn’t letting me upload again. Idk if I’m doing something wrong)

Part 1: int r = 225; int g = 225; int b = 225; boolean sunny = false; float x = 12.0; float z; z = x+25; y = z+x; Part 2: int s = 400; int x = 0; … Continue reading

Posted in Uncategorized | Leave a comment

Mohammad Rahat hw 2.1 open processing wasn’t letting me upload

Posted in Uncategorized | 1 Comment

Mohammad Rahat 1.2 I tried

If this doesn’t work http://www.openprocessing.org/sketch/88219/check

Posted in Uncategorized | 1 Comment