//Shipra Gupta //Processing, Shape2 //Use different parameters for beginShape() to change //the way a series of vertices are drawn. int i; int j; void setup(){ size(200, 200); background(255, 124, 0); } void draw(){ stroke(199, 0, 255, 100); beginShape(QUAD_STRIP); for(i = 0; i<100; i+=15){ for(j = 0; j <100; j+=15){ vertex(i, mouseY); vertex(mouseX, j); } } endShape(); noLoop(); } void mousePressed(){ redraw(); }