xxxxxxxxxx
47
function setup() {
createCanvas(920, 600);
background(21, 145, 211);
slider = createSlider(75, 255, 50);
//let button;
//button = createButton('color');
//button.position(0, 0);
//button.mousePressed(changeColors);
}
function changeColors() {
//let val = random(255);
background(colors);
}
function draw() {
//background(21, 145, 211);
background(21, 0);
fill(255);
//fill(255, 87, 51);
//fill(slider.value());
stroke(255);
//stroke(slidersize.value());
//textSize(slidersize.value());
textSize(100);
text("TEACHING", slider.value()-50, 150);
text("CHILDREN", slider.value()-50, 300);
text("THINKING", slider.value()-50, 450);
fill(255, 110, 51); // 234, 110, 84. // 227, 112, 77
stroke(255, 110, 51); // 255, 87, 51
//stroke(slidersize.value());
//textSize(slidersize.value());
textSize(100);
text("TEACHING", 380, 150);
text("CHILDREN", 380, 300);
text("THINKING", 415, 450);
}