Digital Coding Artworks

img_1770
Inspiration for my piece

For my second assessment using processing, I found inspiration from a past students photo that had been taken during the MEDA computational thinking and instructions workshop. My sketches use the themes of iteration through the process of creating the numerous bars that crossed through the centre of the page. By including iteration in this art piece it allows for it to become somewhat aesthetically pleasing and interesting. However, not all of the bars are created equal, as a selected few of them have been put to ‘random’ letting the system pick the thickness of the lines each time. With each repetition of the lines, the space between each one, the thickenss, size, width and colour change and vary. I believe that by doing this it makes the artwork interesting and somewhat pleasing to the audience.

 

The finished product:

 

 

My processing Code:

size(450, 600);
background(255, 255, 255);
noLoop();
}
void draw() {

// Center Line
stroke (random (150, 255), random (150, 255), random (150, 255));
// function allows for an array of different colours within the specified
// colour codes
strokeWeight(2); // Thickness of the lines
rect(220,25,0.1,550);

// First Rectangle
// ( Side to side, up and down, length, Area )
strokeWeight(1);
rect(120, 50, 200, 10);

// Second Rectangle
strokeWeight(random(20));
// Stroke weight will remain random, affecting the positioning of the squares
rect(80, 70, 300, 35);

// Third Rectangle
strokeWeight(2);
rect(60, 130, 350, 20);

// Fourth Rectangle
strokeWeight(1);
rect(15, 160, 420, 35);

//
strokeWeight(random(20));
rect(180, 230, 100, 10);

//
strokeWeight(1);
rect(120, 250,200,40);

//
strokeWeight(5);
rect(100, 300, 300, 10);

//
strokeWeight(2);
rect(120, 330, 159, 20);

//
strokeWeight(random(20));
rect(140, 390, 200, 10);

//
strokeWeight(random(20));
rect(115, 415, 200, 35);

//
strokeWeight(1);
rect(50, 460, 350, 20);

//
strokeWeight(10);
rect(130, 500, 200, 5 );

//
strokeWeight(random(20));
rect(50, 530, 350, 20);
}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s