xxxxxxxxxx
208
function setup() {
createCanvas(400, 400);
frameRate(10)
}
function draw() {
background(235, 136, 136);
textSize(40)
text('😂',random(100),random(400));
text('📕',random(400),random(400));
text('💻',random(400),random(400));
text('📚',random(400),random(400));
text('💪🏼',random(400),random(400));
text('🏋🏼',random(400),random(400));
text('🌮',random(400),random(400));
text('🥐',random(400),random(400));
text('🎬',random(400),random(400));
text('🦁',random(400),random(400));
text('🌊',random(400),random(400));
text('🇦🇪',random(400),random(400));
text('🇪🇬',random(400),random(400));
text('🌍',random(400),random(400));
text('🥊',random(400),random(400));
text('🗿',random(400),random(400));
text('🛏️',random(400),random(400));
text('❤️❤️',random(400),random(400));
text('🇪🇬',random(400),random(400));
text('✈️',random(400),random(400));
text('😂',random(100),random(400));
text('📕',random(400),random(400));
text('💻',random(400),random(400));
text('📚',random(400),random(400));
text('💪🏼',random(400),random(400));
text('🏋🏼',random(400),random(400));
text('🌮',random(400),random(400));
text('🥐',random(400),random(400));
text('🎬',random(400),random(400));
text('🦁',random(400),random(400));
text('🌊',random(400),random(400));
text('🇦🇪',random(400),random(400));
text('🇪🇬',random(400),random(400));
text('🌍',random(400),random(400));
text('🥊',random(400),random(400));
text('🗿',random(400),random(400));
text('🛏️',random(400),random(400));
text('❤️❤️',random(400),random(400));
text('🇪🇬',random(400),random(400));
text('✈️',random(400),random(400));
if(mouseIsPressed)
{
textSize(80)
let emoji_X = random(200,400);
let emoji_Y;
for (let emoji_Y = 0; emoji_Y < 600; emoji_Y++)
{
text('❤️',emoji_X, emoji_Y)
}
let i = random(200);
for (let emoji_Y = 0; emoji_Y < 600; emoji_Y++)
{
text('💙',i, emoji_Y)
}
let y = random(100,350);
for (let emoji_Y = 0; emoji_Y < 600; emoji_Y++)
{
text('⚡️',y, emoji_Y)
}
}
//shirt
noStroke();
fill(201, 73, 73);
ellipse(189+9, 410+70, 460, 372)
//collar
fill(135, 43, 43);
ellipse(189 +9, 260+70, 221, 138);
//neck
fill(215, 183, 150);
ellipse(189+9, 250+70, 191, 115);
//neck height
fill(215, 183, 150);
rect(94+9, 167+70, 190, 88);
//ear R
fill(215, 183, 150);
ellipse(318, 170, 40, 69);
//ear L
fill(215, 183, 150);
ellipse(72, 170, 40, 69);
//Hair rear
fill(0);
rect(72.5, 10, 245, 170);
//head
noStroke();
fill(215, 183, 150);
rect(79, 10+35, 232, 186);
//jaw
noStroke();
fill(215, 183, 150);
ellipse(195, 200+30, 232, 179);
//right eye
noStroke();
fill(255);
ellipse(250, 135, 79, 41); // white eye
noStroke();
fill(66, 33, 11);
ellipse(250, 135, 40, 40); //pupil brown
noStroke();
fill(0);
ellipse(250, 135, 22, 22); //pupil black
//left eye
noStroke();
fill(255);
ellipse(132, 135, 79, 41); //white eye
noStroke();
fill(66, 33, 11);
ellipse(132, 135, 40, 40);//pupil brown
noStroke();
fill(0);
ellipse(132, 135, 22, 22); //pupil black
//beard
noStroke();
let x = 12;
let y = -120;
fill(184, 156, 128);
beginShape();
vertex(79, 178);
bezierVertex(79, 178, 178, 261, 311, 178);
bezierVertex(311, 243, 323, 325, 195, 325);
bezierVertex(78, 325, 75, 257, 79, 178);
endShape();
//Nose Arc
noFill();
stroke(171, 123, 76);
strokeWeight(7)
strokeCap(ROUND);
bezier(159, 195, 181, 218, 208, 218, 230, 195);
//Nose Tri
noStroke();
fill(171, 123, 76);
triangle(194, 115, 194, 216, 230, 200);
noStroke()
fill(188, 75, 102);
ellipse(196, 253, 94, 34);
//Lip Line
noFill()
strokeCap(ROUND);
stroke(133, 53, 72);
bezier(147, 246, 147, 246, 187, 266, 242, 246);
//Eyebrow R
noFill();
stroke(0);
strokeWeight(17);
bezier(90, 110, 105, 94, 142, 87, 166, 94);
//Eyebrow L
stroke(0);
strokeWeight(17);
bezier(222, 93, 247, 86, 283, 95, 298, 112);
// mouse coordinates
// textSize(18);
// fill(255, 50, 30);
// text("(" + mouseX + ", " + mouseY + ")", mouseX, mouseY);
}