xxxxxxxxxx
34
// ICM-2016
// Take a look at the HTML file where some things have been
// added for mobile viewing
var colors;
function setup() {
createCanvas(windowWidth, windowHeight);
background(255,190,138);
colors =
[color(255,188,188),
color(153,52,52),
color(255,255,255),
color(200, 233,0),
color(56,103,133)
];
}
function draw() {
beginShape();
for (var i = 0; i < touches.length; i++) {
vertex(touches[i].x, touches[i].y);
}
endShape(CLOSE);
}
function touchMoved() {
return false;
}