ceemofolio ?>


float mouseSensitive=20;
float mouseSensitive2=4;
float angle = 0.0;
boolean recording=false;

void setup() {
size(1250, 800);
// frameRate(5);
}

void draw() {
background(255);
fill(209);
noStroke();
ellipse(mouseX, mouseY, 50, 50);
float dx = mouseX - 100;
float dy = mouseY - 100;
angle = atan2(dy, dx);


//T
fill(0);
beginShape();
vertex(150, 300-mouseY/mouseSensitive);
vertex(150, 350);
vertex(200, (650-mouseY/mouseSensitive)/2);
vertex(150, 300-mouseY/mouseSensitive);
endShape();

beginShape();
vertex(200, (650-mouseY/mouseSensitive)/2);
vertex(250, 350);
vertex(250, 300-mouseY/mouseSensitive);
vertex(200, (650-mouseY/mouseSensitive)/2);
endShape();

beginShape();
vertex(250, 300-mouseY/mouseSensitive);
vertex(250, 350);
vertex(300, (650-mouseY/mouseSensitive)/2);
vertex(250, 300-mouseY/mouseSensitive);
endShape();

beginShape();
vertex(300, (650-mouseY/mouseSensitive)/2);
vertex(350, 350);
vertex(350, 300-mouseY/mouseSensitive);
vertex(300, (650-mouseY/mouseSensitive)/2);
endShape();

// sharp
angle = atan2(mouseX-625, 400);
//angle = atan2(mouseY-pmouseY, mouseX-pmouseX);
//float a=constrain(angle, -PI/24, PI/24);
pushMatrix();
translate(250, 350);
rotate(-angle/12);
beginShape();
vertex(-25, 0);
vertex(0, mouseY/mouseSensitive2+200);
vertex(25, 0);
vertex(-25, 0);
endShape();
popMatrix();


//Y


beginShape();
vertex(400, 300-mouseY/mouseSensitive);
vertex(450, (700-mouseY/mouseSensitive)/2);
vertex(450, 300-mouseY/mouseSensitive);
vertex(400, 300-mouseY/mouseSensitive);
endShape();

beginShape();
vertex(450, (700-mouseY/mouseSensitive)/2);
vertex(500, 400);
vertex(550, (700-mouseY/mouseSensitive)/2);
vertex(450, (700-mouseY/mouseSensitive)/2);
endShape();


beginShape();
vertex(550, 300-mouseY/mouseSensitive);
vertex(550, (700-mouseY/mouseSensitive)/2);
vertex(600, 300-mouseY/mouseSensitive);
vertex(550, 300-mouseY/mouseSensitive);
endShape();

// sharp


angle = atan2(mouseX-625, 400);
pushMatrix();
translate(500, 400);
rotate(-angle/12);

beginShape();
vertex(-25, 0);
vertex(0, mouseY/mouseSensitive2+150);
vertex(25, 0);
vertex(-25, 0);
endShape();

popMatrix();

 

 

//P

beginShape();
vertex(650, 300-mouseY/mouseSensitive);
vertex(675, (700-mouseY/mouseSensitive)/2);
vertex(700, 300-mouseY/mouseSensitive);
vertex(650, 300-mouseY/mouseSensitive);
endShape();

// beginShape();
// vertex(650, 400);
// vertex(675, (700-mouseY/mouseSensitive)/2);
// vertex(700, 400);
// endShape();

// angle = atan2(mouseX-625, 400);
// pushMatrix();
// translate(675, 400);
// rotate(-angle/12);

// beginShape();
// vertex(-25, 0);
// vertex(25, 0);
// vertex(0, mouseY/mouseSensitive2+150);
// //vertex(650, 400);

// endShape();
// popMatrix();

 

// SHARP

angle = atan2(mouseX-625, 400);
pushMatrix();
translate(675, (700-mouseY/mouseSensitive)/2);
rotate(-angle/12);


beginShape();
vertex(-25, 400-(700-mouseY/mouseSensitive)/2);
vertex(0, 0);
vertex(25, 400-(700-mouseY/mouseSensitive)/2);
vertex(0, mouseY/mouseSensitive2+550-(700-mouseY/mouseSensitive)/2);
vertex(-25, 400-(700-mouseY/mouseSensitive)/2);

endShape();
popMatrix();

 

 

 

beginShape();
vertex(750, 300-mouseY/mouseSensitive);
vertex(800, 300-mouseY/mouseSensitive);
vertex(850, (700-mouseY/mouseSensitive)/2);
vertex(800, 400);
vertex(750, 400);
vertex(800, (700-mouseY/mouseSensitive)/2);
vertex(750, 300-mouseY/mouseSensitive);
endShape();

 


//E

beginShape();
vertex(900, 300-mouseY/mouseSensitive);
vertex(925, (700-mouseY/mouseSensitive)/2);
vertex(950, 300-mouseY/mouseSensitive);
vertex(900, 300-mouseY/mouseSensitive);
endShape();

// beginShape();
// vertex(900, 400);
// vertex(925, (700-mouseY/mouseSensitive)/2);
// vertex(950, 400);
// vertex(925, mouseY/mouseSensitive2+550);
// vertex(900, 400);
// endShape();

 


// SHARP

angle = atan2(mouseX-625, 400);
pushMatrix();
translate(925, (700-mouseY/mouseSensitive)/2);
rotate(-angle/12);


beginShape();
vertex(-25, 400-(700-mouseY/mouseSensitive)/2);
vertex(0, 0);
vertex(25, 400-(700-mouseY/mouseSensitive)/2);
vertex(0, mouseY/mouseSensitive2+550-(700-mouseY/mouseSensitive)/2);
vertex(-25, 400-(700-mouseY/mouseSensitive)/2);

endShape();
popMatrix();

 

 


beginShape();
vertex(950, 300-mouseY/mouseSensitive);
vertex(1000, (700-mouseY/mouseSensitive)/2);
vertex(mouseY/mouseSensitive+1100, 300-mouseY/mouseSensitive);
vertex(950, 300-mouseY/mouseSensitive);
endShape();


beginShape();
vertex(1000, ((700-mouseY/mouseSensitive)/2+450)/2+25);
vertex(1000, ((700-mouseY/mouseSensitive)/2+450)/2-25);
vertex(mouseY/mouseSensitive+1100, ((700-mouseY/mouseSensitive)/2+450)/2);
vertex(1000, ((700-mouseY/mouseSensitive)/2+450)/2+25);
endShape();

 


beginShape();
vertex(950, 500);
vertex(1000, 450);
vertex(mouseY/mouseSensitive+1100, 500);
vertex(950, 500);
endShape();




if(recording){
saveFrame("export2/time_#####.jpg");
}
}

 

void keyPressed(){
if (key==' '){
recording= !recording;


}


}

time_00408
typeword-03
e-02525
© Ceemo Yu 2022

NY, PA, REMOTE

Email: ceemoyu77@gmail.com
IG: @cmofragments
Dribbble:  https://dribbble.com/C33MO
Behance: www.behance.net/cmoyucmo

View