xxxxxxxxxx
23
function setup() {
createCanvas(windowWidth, windowHeight)
textSize(9)
for (var i = 0; i < windowWidth || i < windowHeight; i = i + 50) {
if(i!==0){
stroke("lightgrey")
line(i, 20, i, windowHeight-20)
line(20, i, windowWidth-20, i)
noStroke()
textAlign(CENTER)
text(i, i, 10)
textAlign(LEFT)
text(i, 0, i+4)
}
}
fill("black")
noStroke()
circle(100, 100, 10)
textSize(18)
text("(100,100)", 115, 105)
}