xxxxxxxxxx
25
function setup() {
createCanvas(400, 400)
fill(0)
stroke(255)
strokeWeight(3)
textAlign(CENTER)
textStyle(BOLD)
textFont("Russo One")
}
function draw() {
background(0)
for (let i = 0; i < 1; i += 0.05) {
push()
let x = width / 2 + 50 * sin(frameCount / 10 + i)
let y = 120 + 250 * i
let size = 150
textSize(size)
translate(x, y)
//scale(1 + 0.5 * sin(frameCount / 13 + i))
text("p5js.org", 0, 0)
pop()
}
}