>øfunction rectd(x0,y0,w,h,c1,c2) for x=x0,x0+w-1 do for y=y0,y0+h-1 do p=(x-x0)/w if math.random()>p then c=c1 else c=c2 end pix(x,y,c) end end end function TIC() cls() math.randomseed(1) rectd(30,40,180,50,8,9) end