for (var i=0; i != this.it ; i++){ this.moveTo(200*math.random(), 200*math.random()); this.lineTo(200*math.random(), 200*math.random()); } this.closePath(); this.strokeStyle = 0xff0000; this.lineWidth = 1; this.stroke(); for (var i=0; i != this.it ; i++){ 200*math.random(); 200*math.random(); 200*math.random(); 200*math.random(); }