Code viewer for World: 10SHIFT
var spacing = 10
var x = 0
var y = 0
var choice;

function setup() {
  createCanvas(400, 400);
	frameRate(60)
	background(10,255,193)
  }

function draw() {
	choice = random(1)
	strokeWeight(1)
	stroke(255,69,10)
	if(choice > .5){
		line(x,y,x+spacing,y+spacing)
	} 
	else if (choice < .5){ line(x,y+spacing,x+spacing,y) }
	else if(choice > .9){
	 line(x,y,x,y+spacing)
	}
	
	x += spacing
	if(x > 400){
		x = 0
		y += spacing
	}
	console.log(x)
}