In Praise of Loops

This week for Intro to Computational Media I was inspired by a Olafur Eliasson piece that I wanted to very roughly emulate and then build upon. Much of his work is elemental in nature and are large-scale installations and sculptures.  The particular piece that inspired me was The Weather Project.  In the Tate Modern he produced a large installation that replicated the sun.  The colors suggest a sun at sunrise or sunset.  It’s such a powerful piece.  To me there’s always been something  primal  about people gathering together to watch the sun.  Olaf transported that feeling to a place that rarely sees the sun in such intensity, London.

img_mda102063_1600px

This image also evokes ideas of sacrifice to me with all of those people laying on the floor.  It reminds me of old sun worshiping religions.  My mother is a Mexican archaeologist and I grew up learning about the sacrificial traditions of ancient Mexican civilizations.

 

I used this inspiration to direct my ICM piece.  I wanted something simple, the sun and rain, with a color palette influence by Shigeo Fukada. The scene would then  reveal itself as something much more, a sacrifice with a press of the mouse.   I’ve been While the piece still looks pretty basic I think this was the first time I dedicated enough time to my ICM home and having a goal helped me find and work through various problems.  Something I’ve found myself focusing on in my ICM pieces which was unexpected was colors and their complements.  Using colors to evoke emotions and trying to find just the perfect match.  It has nothing to do with code but I enjoy it so much in the creation process.

I made this in p5 a new software that appears to have some issues with embedded links but here is the site: http://alpha.editor.p5js.org/full/rJeUHMcp

and video of it below:

CODE:
var a = 0;
var speed = 3;
var on=false;
var redColor = 255;
var R = 69;
var G = 110;
var B= 162;

//var rain =();
function preload() {
img = loadImage(‘glyph45.png’);
}
function setup() {
createCanvas(400, 400);
}

function draw() {
background(204,85,44,8);
for(var i = 0; i < 10; i++){ fill(100); stroke(100); ellipse(i*60,i,20,10); } stroke(255); strokeWeight(4); noFill(); fill(220,174,66); stroke(97,74,23,20); ellipse(200,100,100,100); if(mouseIsPressed){ fill(255); ellipse(200,100,60,60); fill(0); ellipse(200,100,40,40); fill(178,7,7); image(img, 150, 250, 100, 100); on=!on; //R = random(100,255); R=200; B = 0; G= 0; } else { R = 69; G = 110; B= 162; } if (a>height){

a=0;
}
a=a+speed;

stroke(R,G,B,150);
fill(R,G,B);
for(var i = 0; i < 10; i++){

ellipse(80,a,10,40);
ellipse(120,2*a,10,40);
ellipse(160,1.5*a,10,40);
ellipse(300,1.2*a,10,40);
ellipse(370,3*a,10,40);
ellipse(40,1.5*a,10,40);
ellipse(220,1.8*a,10,40);
ellipse(10,1.2*a,10,40);
ellipse(260,2*a,10,40);
ellipse(340,3.2*a,10,40);
ellipse(380,4*a,10,40);
ellipse(0,2.2*a,10,40);
ellipse(250,1.6*a,10,40);
ellipse(350,1.2*a,10,40);
ellipse(100,1.4*a,10,40);
ellipse(220,1.3*a,10,40);
ellipse(320,1.4*a,10,40);

}

//}
noStroke();
fill(57,42,8);
rect(0,170,60,300);
rect(340,170,60,300);

}