xxxxxxxxxx
34
let fontPixel, msg;
function preload() {
fontPixel = loadFont('PressStart2P.ttf');
}
function setup() {
createCanvas(800, 80);
frameRate(60);
msg="Unsupported devices in ZEN?";
createLoop({
duration: 8.5,
gif: {
download: true,
}
})
}
function draw() {
textFont(fontPixel);
textAlign(LEFT, CENTER);
textSize(40);
background(0);
i=width-4* (frameCount)%(textWidth(msg)+1000);
fill(0,255,0);
text ( msg , i, height/2);
textFont('Georgia');
textSize(60);
text ( "🔬" , i-90, height/2+10);
text ( " ⬇️⬇️⬇️" , i+textWidth(msg)+280, height/2+10);
}