void setup(){ //set size of window size(450,450); background(50); fill(random(225),random(225),random(225)); rect(200,100,50,50); rect(350,100,50,50); ellipse(300,150,50,100); } void draw(){ stroke(255); line(pmouseX,pmouseY,mouseX,mouseY); fill(random(225),random(225),random(225)); ellipse(mouseX,mouseY,50,50); } void mousePressed(){ //if mousePressed screen erases and changes color background(random(0,225),random(0225),random(0,225)); frameRate(100); } Johanna Bonilla-Recendez
Category: Drawing Assignment
Assignment 2
For Assignment 2 I was really focused on figuring out how to make things interact with your mouse by following it and by activating an additional shape via a mouse press. For this instance of the sketch I allowed for the colors to all be randomized but I have every intention of separating specific shapes…
Homework Assignment 1
For this assignment I was experimenting with different colors that I thought complimented one another nicely, specifically brighter colors. With the use of these specific colors, I wanted the image to look playful and inviting. I believe with the use of these colors, it can be perceived as reminiscent of childhood and youthfulness. The use…
Processing Assignment 1
I have three shapes: the consecutive squares, the two triangles, and the lines forming a broken up border. The stroke weight of the squares is 2, of the triangles is 3, and the lines are set to 6. When the user clicks the mouse around the frame, tiny colorful cirlces appear where he/she pressed. The…
Processing Assignment
-Miles Shamo My mother requested a Godzilla; I’m not sure this looks like it (especially after the hat). It needs some sort of spines, but I struggled enough with rotating shapes for today. I think I’ll stick towards the abstract in the future. The code: //My mother requested a gozilla, so its terrible…
Assignment 2, Project 1 – Laurel Doak
The colors of the circles and their locations are partly randomized, and partly determined by mouse location. The “grass” effect is a series of narrow green triangles drawn by moving the cursor around. The circles are only drawn at a keypress, while the grass effect is constant. The next step I am tentatively planning is…
Beginning of Assignment 1
In our first assignment, I really just wanted to make a still abstract image with colors from the ’90s. My main goal was to just get the hang of how to use code. I then wanted to create a simple design consisting of different shapes. I added the opposite color for the stroke and it…
Beginning of Assignment one
In this first assignment I created three shapes, one being a triangle, another a square and lastly half a circle. I decided to use the least amount of stroke weight for the half circle, used a good amount of stroke weight for the square and lastly I used the most amount of stroke weight for…
beginning of Assignment One
For our first assignment I wanted to try to play around with a couple of the more complex lines of code that we were introduced to, even if they aren’t the most complex lines of code that we will learn, figuring out how they can change with certain manipulations was my goal. my design focuses…
Assignment 1 Cody Colgren
//program made by Cody Colgren void setup() { size(500, 400); strokeWeight(0); stroke(0, 100); smooth(); } void keyPressed() // if the ‘z’ key is pressed the image will reset, if the ‘s’ key is pressed it will take a screenshot { if (key == ‘z’) { background(255,255,255); } if (key == ‘s’) { saveFrame(“drawing-####.png”); } }…
Assignment 1 – Kimani Smith
int angle = 0; PImage BrickWall; void setup() { size(1000, 1000); background(150); noStroke(); fill(0, 102); BrickWall = loadImage(“Brick Wall.jpg”); BrickWall.resize(1000,1000); background(BrickWall); } void draw() { // Draw only when mouse is pressed if (mousePressed == true) { angle += 15; float val = cos(radians(angle)) * 12.0; for (int a = 0; a < 360; a…
Assignment 1 – Luisa Ruiz
void setup() { size(600,600); background(160,210,230); } void draw() { stroke(0); fill(random(0,255), random(0,255), random(0,255)); rect(mouseX, mouseY, 50, 50); if (mouseX > 300) { }else fill(0,0,255); rect(mouseX, mouseY, 50, 50); if (mousePressed) { background(250); fill(0); rect(mouseX, mouseY,50,50); if (mouseX < 300) { }else fill(0,255,0); rect(mouseX, mouseY, 50, 50); for(int lineX = 10; lineX <= 300; lineX +=…