xxxxxxxxxx
62
let font; // Jean: this goes here!
function preload() { // Jean: this function makes the page load the font before the sketch!
font=loadFont("DancingScript-VariableFont_wght.ttf");
}
function setup() {
createCanvas(400, 400);
}
//HAAALP! How do I get text up in here?
function draw() {
background(220);
textFont(font);
// Jean: text("the text to display", x, y);
text("Thai tea, black semame & pistachio Ice Cream");
fill(191, 146, 82);
noStroke();
triangle(170, 200, 230, 200, 200, 320);
//3rd scoop (sage green pistachio)
fill(224, 245, 208);
circle(200,180, 40);
circle(175,195, 23); //1st left mini circle
circle(190,205,23); //2nd mini circle
circle(205,205,23); //3rd mini circle
circle(220,195,23); //4rd mini circle
//middle scoop black sesame (black)
fill(85, 89, 92);
noStroke();
circle(200,140, 40);
circle(175,148,20); //1st left mini circle
circle(190,155,20); //2nd mini circle
circle(210,155,20); //3rd mini circle
circle(225,150,20); //4rd mini circle
//top scoop (color terra cotta orange for thai tea)
fill(227, 139, 14);
noStroke();
circle(200,100, 40);
circle(175,110,20); //1st left mini circle
circle(190,115,20); //2nd mini circle
circle(210,115,20); //3rd mini circle
circle(225,110,20); //4rd mini circle
//cherry on top (fill red )
fill(227, 16, 55);
circle(200,80,15)
stroke(3);
line(205,75,210,70)
}