Project 02 – Variable Face – Sara Frankel

sketch

var eyeSize = 60;
var faceWidth = 300;
var faceHeight = 350;
var value = 'blue';

 
function setup() {
    createCanvas(640, 480);
}
 
function draw() {
    background(141,209,247);
   if (mouseX < width/2)
      background(51);

    //head
    fill(77,47,23);
    arc(width / 2, height / 3 + 0.75 * faceHeight, faceWidth * 1.5 , faceHeight * 2.3, PI, TWO_PI);
    fill('tan');
    ellipse(width / 2,height / 2,faceWidth,faceHeight);
    fill(77,47,23)
    arc(width / 2, height / 3, faceWidth * 0.9 , faceHeight * 0.6, PI, TWO_PI);
    

    //left eye
    fill('white');
    var eyeLX = width / 2 - faceWidth * 0.25;
    ellipse(eyeLX, height / 2, 1.5 * eyeSize, eyeSize);

    //left eyeball (blue iris, black pupil and white glissen)
    fill(value);
    ellipse(eyeLX + 15, height / 2, 0.5 * eyeSize, 0.5 * eyeSize);
    fill(51);
    ellipse(eyeLX + 15, height / 2, 0.25 * eyeSize, 0.25 * eyeSize);
    fill('white');
    ellipse(eyeLX + 10, height / 2, eyeSize / 8, eyeSize / 8);

     //right eye
    fill('white');
    var eyeRX = width / 2 + faceWidth * 0.25;
    ellipse(eyeRX, height / 2, 1.5 * eyeSize, eyeSize);

    //right eyeball (blue iris, black pupil and white glissen)
    fill(value);
    ellipse(eyeRX + 15, height / 2, eyeSize / 2, eyeSize /2);
    fill(51);
    ellipse(eyeRX + 15, height / 2, eyeSize / 4, eyeSize /4);
    fill('white');
    ellipse(eyeRX + 10, height / 2, eyeSize / 8, eyeSize / 8);

    //eyebrows (left then right)
    fill(77,47,23);
    ellipse(eyeLX, height / 2 - 30 , eyeSize * 1.5, eyeSize / 6);
    ellipse(eyeRX, height / 2 - 30, eyeSize * 1.5, eyeSize / 6);

    //mouth
    noFill();
    arc(width / 2, height * 0.66, faceWidth / 4, faceHeight  / 4, 0, PI);

}

function mouseClicked() {
   if(value === 0) {
        value = 'blue';
    } else {
        value = color(random(0,255), random(0,255), random(0,255));
    } 

}
 
function mousePressed() {
    faceWidth = random(200, 350);
    faceHeight = random(325, 350);
    eyeSize = random(35, 50);
}





I really enjoyed this project as I felt that I now have a better understanding of how to use a lot of the code that was established last week and cool new functions introduced this week. I also enjoyed this project in the sense that it was kind of entertaining to play with and trying to understand the ratio of canvas and face features using established values and ratios.

Looking Outwards 02 – Sara Frankel

 

caption: Arnold Schoenberg, mastermind of twelve tone technique, expresses himself within a more mathematical template than traditional music theory.

I found the composer Arnold Schoenberg quite fitting and admirable for this looking outwards post.  Schoenberg, a composer from the mid 20th century, expanded the idea of music with his usage of twelve tone music in his compositions. While he was not necessarily the creator of this concept, he is the so called “poster child” of this concept as he explored its use in his work of the relationship between mathematics and music, bringing more attention to the idea.  Twelve tone technique is the concept that every 12 notes in a chromatic scale must be used before repeating any note again.  What I admire about this concept is the fact that while there are so many constrains and listening to this off hand, everything about it seems quite atonal.  In actuality however, this method is far from atonal.  Somehow, with the introduction of having every note possible at your disposal, you are not only limited to that of the key signature but to so much more.  If anything, that makes my job as the musician that much harder as the possibilities of phrasing and my voice are endless. The video I attached does a great job to explain the work and point of view of Arnold Schoenberg.

 

Sara Frankel Project 1 Face

Face sketch

//Sara Frankel
//9:30
//sfrankel@andrew.cmu.edu
//Project-01

function setup() {
    createCanvas(600, 600);
    background(165,212,157);
}

function draw() {

	//head
	fill(77,47,23);
	arc(300, 500, 460, 770, PI, TWO_PI);
	fill('tan');
	ellipse(300,300,300,350);
	fill(77,47,23)
	arc(300, 180, 230, 110, PI, TWO_PI);
	
	//eyebrows
	fill(77,47,23);
	ellipse(230,220,90,10);
	ellipse(370,220,90,10);

	//glasses
	noFill();
	arc(300, 280, 20, 20, PI + QUARTER_PI, TWO_PI);
	fill('red');
	ellipse(235,280,120,120);
	fill('red');
	ellipse(365,280,120,120);

	fill('tan');
	ellipse(235,280,100,100);
	fill('tan');
	ellipse(365,280,100,100);

	//left eye
	fill('white')
	ellipse(235,270,60,40)

	//right eye
	fill('white');
	ellipse(365,270,60,40);
	//ellipse(mouseX,300,mouseX,395)

	//nose
	line(300,300,320,350);
	line(300,350,320,350); 

	//left eyeball
	fill('blue');
	ellipse(245,270,30,30);
	fill(51);
	ellipse(250,270,20,20);
	fill('white');
	ellipse(243,260,5,5);

	//right eyeball
	fill('blue');
	ellipse(375,270,30,30);
	fill(51);
	ellipse(380,270,20,20);
	fill('white');
	ellipse(373,260,5,5);

	//mouth
	noFill();
	arc(300,390,60,60,0,PI);





}

My process for this project was to first figure out what kind of aesthetic I wanted my portrait to be (i.e. more bubble character vs. a more lined out character).  I also had to figure out which shapes and coordinates I predominately wanted to use to replicate my face.

LO – 1 Sara Frankel

http://
Caption: Music and technology has been advancing and merging recently to the point where robots can perform music live now.

 

“The robot that can play the violin” is essentially a machine that has been built and programmed  to play all, if not most, of the notes on the violin.  Being a music major with a love for the sciences, being in the know of the advancements of music is a must. I admire this project a lot as music is a way of expression from many mediums.  But also, this project inspires me to work harder to achieve my musical goals.  What I mean by this is that nowadays, anyone can just hit the correct notes in any order or time, but the ability to play with meaning and humanity is still something that a robot cannot do and is hard to achieve.