Assessment 2-Digital Coding

This art was influenced by workshop 6 specifically as we explored repetition and variation, an essential component to the theme of iteration. All aspects within the sketch repeat, such as the triangles which repeat diagonally, the patterns of the circles, the straight lines across the sketch, and the background which repeats on adding circles and eventually fades the red lines. There are also variations as seen with the triangle’s contrasting direction, colour and shape, and colours of the circles. Upon beginning this sketch I was influenced by Andy Warhol’s artwork and style, but as I progressed I made it my own. Workshop 7’s exploration of colours also allowed for me to determine as colour style and range for this work

 

screen-shot-2016-09-22-at-11-42-10-am

Code:

float flash = 1; //speed of flashing
int y;
int x=0;
int diam=80;
int xax=0; //x-axis for circles

void setup (){

background (0); //black background
size (500,500); //large size of screen
noStroke(); //no dark lines accenting shapes

}

void draw (){
fill(420, 0, 0); //dark red colour
if(frameCount%(2*flash)<flash) fill(800, 0, 0); //flashing effect
ellipse(xax, 120, 50,20); //positioning of circles from left of screen to the right
ellipse(xax,220,50,20);
ellipse (xax, 320, 50, 20);
ellipse (xax, 420, 50, 20);
xax=xax+5; //rate of circles running across screen from the x axis

if(x > 800)
background(100);
fill(250);
if(frameCount%(2*flash)<flash) fill(127, 0, 0); //flashes on dark red colour
triangle(50, 50, 100, 100, 150, 50); //triangles positioned within parameters of the circles running across screen
triangle(150, 150, 200,200, 250, 150);
triangle (250, 250, 300, 300, 350, 250);
triangle(350, 350, 400, 400, 450, 350);
triangle(450, 450, 500, 500, 550, 450);

fill(800, 1000, 0); //Yellow colour
ellipse(250, 75, 50, 50); //circles positioned evenly amongst triangles
ellipse(100, 175, 50, 50);
ellipse(100, 275, 50, 50);
ellipse(250, 375, 50, 50);
ellipse(100, 475, 50, 50);

fill(255); //colour white
ellipse(400, 175, 50, 50); //circles completely opposite to yellow circles
ellipse(400, 275, 50, 50);
ellipse(400, 475, 50, 50);

fill(800, 650, 0);
if(frameCount%(2*flash)<flash) fill(700, 0, 0);
triangle(450, 100, 400, 50, 350, 100); //Triangles positioned to be completely opposite to other triangles
triangle(350, 200, 300,150, 250, 200);
triangle (250, 300, 200, 250, 150, 300);
triangle(150, 400, 100, 350, 50, 400);
triangle(50, 500, 0, 450, -50, 500);

fill((int)random(350),(int)random(480),(int)random(78),10); //bunch of colours
ellipse((int)random(width),(int)random(height), diam, diam); //positioning of these eclipses
x=x+1; //the rate of how eclipses fill the screen

}

 

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s