xxxxxxxxxx
15
let x=0.0;
function setup() {
createCanvas(400, 400);
stroke(0,0,200);
//strokeWeight(0.5);
console.log("dD "+nf(displayDensity(),1,1)+" pD "+pixelDensity());
}
function draw() {
background(200,200,0);
line(x,0,x,height);
x+=0.1;
if ( x > width ) x = 0.0;
}