
my phone went off in class

[OLD FALL 2018] 15-104 • Introduction to Computing for Creative Practice
Professor Roger B. Dannenberg • Fall 2018 • Introduction to Computing for Creative Practice
bleewifhoiawehfiowahefiod
hey!
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);
}