xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(100);
}
function draw() {
ellipse(mouseX, mouseY, 20, 20);
}
//My madlibs is below because I'm too scared to change anything from above
String sentence1part1 = "In the park, Mark sat down on a bench and saw";
int ducks = 6;
String sentence1part2 = "ducks swimming in the river in front of him.";
int time = 10;
String sentence2 = "minutes later, a little kid sat next to him and opened the backpack he was carrying.";
String sentence3 = "From his backpack, he pulled out a box of chocolates.";
String sentence4part1 = "Mark was very hungry, so he offered the kid";
float priceoffer = .15;
String sentence4part2 = "cents for one piece of candy.";
String sentence5part1 = "The kid smiled and laughed, saying how he would normally charge his classmates";
float normalprice = .25;
String sentence5part2 = "cents for his chocolate.";
String sentence6part1 = "Mark wanted";
int wantchocolate = 5;
String sentence6part2 = "chocolates, so he paid";
float totalprice = 2.25;
String sentence6part3 = "for everything.";
String sentence7part1 = "Satisfied, the two of them exchanged goods and met again";
int dayslater = 13;
String sentence7part2 = "days later.";
println (sentence1part1, ducks, sentence1part2, time, sentence2, sentence3, sentence4part1, priceoffer, sentence4part2, sentence5part1, normalprice, sentence5part2, sentence6part1, wantchocolate, sentence6part2, totalprice, sentence6part3, sentence7part1, dayslater, sentence7part2);