I started this with the two basic shapes of a rectangle and an ellipse and implemented the random() function for the colors because I liked how that added a sort of graffiti look to the piece. My conditionals were if the mouse was pressed, draw a circle, and if the mouse was just simply…
Category: All Posts
Processing assignment 1 – Daniel Barrera
I knew I wanted to do something in space as soon as i saw what you can do with shapes in processing. here I have a blue planet, a sun, a black hole, a satellite, some UFOs (one of which can move around) and a lot of stars. something that you cant see is that…
Processing Assignment 1
For this first assignment I was just trying to practice writing the code with no mistakes and also getting used to the measurements and how the affect the placement of the shapes. It was actually pretty hard to get the placement right but I think I got a little better at understanding how they work…
Processing Assignment 2
For this assignment I experiment with using 3D shapes to create an image. I used the camera function in order to change the orientation of each box using the position of the mouse. I also wanted to incorporate 2D circles in the image so I randomized the position with each mouse click. In order to…
Processing Class Assignment
code: int pointX = 0; int pointY = 0; int ewidth = 0; int elength = 0; void setup(){ size(640,480); background(100,50,50); } void draw(){ stroke(200,0,0); strokeWeight(5); fill(1,200,1); stroke(106,13,170); rect(320,240,300,200); //rectangle stroke(0,200,200); strokeWeight(1); fill(1,1,200); stroke (random(200),random(200),random(200)); // random outline color of the ellipse ellipse(300 + pointX,260 + pointY,40 + ewidth,40 + elength); // creates a…
Processing Assignment 1
I aimed to create something that was both fun and colorful. I didn’t want to create shapes or figures that were too complex (as I’m still getting the hang of making them) but so far I have what is my interpretation of confetti and chaos through a mix of circles, squares, and elongated triangles that,…
Assignment one
In my first assignment, the three shapes I chose was a square, circle, and ellipses. The variable I used was “computer” to replace all 100s in the code. The conditional I used was that when you press the mouse, the inside of the square will turn a maroon color. Also, the shapes are randomly changing…
Assignment 2
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
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 first started by substituting every 0 for “CIRCLES”. I used a triangle in the background, centering it and setting the fill color to the same as the background, and setting the strokeWeight to 3 to get the outline. I used a mouse follow code and had circles randomly generated to follow the mouse. The…
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…
