xxxxxxxxxx
19
function setup() {
createCanvas(400, 400);
}
function draw() {
background(255, 252, 242);
// starting point of heart
hx = 200
hy = 300
beginShape();
noStroke();
fill(255, 209, 186);
vertex(hx, hy);
bezierVertex( hx - 150, hy - 160,hx - 80, hy - 230,hx, hy - 130);
vertex(hx, hy);
bezierVertex( hx + 150, hy - 160, hx+ 80, hy - 230, hx, hy - 130);
endShape();
}