xxxxxxxxxx
79
let canvas
var customfont;
function preload(){
customFont=loadFont("./Absans-Regular.otf")
customFont2=loadFont("Leiko-Regular.otf")
}
function setup() {
createCanvas(400, 700);
//background(200);
}
function draw() {
//straight
line(200,0,200,700)
//horiz
line(0,350,700,350)
stroke('white')
}
function draw(){
background('white')
strokeWeight(25);
noFill()
stroke('#f009')
circle(260, 350, 120)
//middle right
circle(150, 350, 120)
//middle left
stroke('#00F9')
circle(200, 410, 120)
//bottom
// stroke('#0000FF')
stroke('#00F9')
circle(200, 290, 120);
//top
//set 2
//strokeWeight(19);
//noFill()
// stroke('white')
// circle(260, 350, 120)
//middle right
// circle(140, 350, 120)
//middle left
//circle(200, 410, 120)
//bottom
// circle(200, 290, 120);
//top
noStroke()
fill('blue')
textFont(customFont);
textSize(30);
text('Caitlin Brown', 120,520)
textFont(customFont2)
text('Insta:Cait.Collage' , 20,550)
text('Graphic Design student', 10, 580)
}
function mouseClicked(){
console.log ('ive been clicked')
saveCanvas(canvas,'circle.jpg')
//txt
}