/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://bard117f12.sketchpad.cc/sp/pad/view/ro.h1AePe93Bts/rev.713
*
* authors:
* Keith O'Hara
*
*
*
*
*
*
* Gwendolyn
* Sam Taffel
* Victoria Castiglione
*
*
* Diana Ruggiero
* Ally Smith
*
* Cole Berry-Miller
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
//This piece is titled 'The Second Self Portrait,' by Gwendolyn Knapp. It was created on September 24, 2012, and was done through Processing and then transposed onto Sketchpad. Please contact Gwendolyn Knapp at [email protected], if at all necessary.
//This project was done through exploration of nailing the basic details of Processing. Though it could of been a bit more complex or abstract, I felt confident in understanding each point that was put into the processor. This design is a string of collored ellipses, that flow effortlessly with the direction of a mouse. If the right or left click of the mouse is pressed, the mouse dragged flow of the ellipses is then attached to a string that also flows at the command of the mouse.
//This project is different than the one mae through Design Blocks becuase it was no longer a game of where to place simple shapes. In making this it took a lot more time to understand what each integer meant, and how movement and mouse dragging abilities were added into the piece. I much more prefer working with Processesing, versus the experience with design Blocks, becuase even though Design Blocks posses as a more 'user friendly' version of Processing, it seems that it then holds you back from all you can do. It is much more direct and efficent to retain codes by using Processing and either computing them right, or being told the error.
void setup(){
size(500, 500);
stroke(mouseX, mouseY, 78);
fill(90);
smooth();
background(1);
}
void mouseDragged(){
strokeWeight(frameCount%5);
line(pmouseX, pmouseY, mouseX, mouseY);
}
void draw(){
fill(mouseX, mouseY, 70);
ellipse(mouseX, mouseY, 10, 10);
fill(mouseX, mouseY, 200);
}