clear for(i<-1 to 10) { val t=newTurtle(0,i*20) runInBackground { repeat(20) { t.forward(10) ;t.left(18) } } }