function setup() {
createCanvas(200, 200);
background(220);
text("p5.js vers 0.5.12 test.", 10, 15);
}
function draw() {
translate(100, 100);
//colors are preserved past draws, rotations are not
//try commenting out stoke(0);
stroke(0);
line(0, -100, 0, 100);
line(-100, 0, 100, 0);
rotate(45);
stroke(255, 0, 0);
line(0, -100, 0, 100);
line(-100, 0, 100, 0);
}