d.x:=310*k;
d.y:=810*k;
e.x:=10*k;
e.y:=610*k;
f.x:=10*k;
f.y:=210*k;
z.x:=75;
z.y:=75;
Image1.Canvas.Pixels[a.x,a.y]:=clBlack;
Image1.Canvas.Pixels[b.x,b.y]:=clBlack;
Image1.Canvas.Pixels[c.x,c.y]:=clBlack;
Image1.Canvas.Pixels[d.x,d.y]:=clBlack;
Image1.Canvas.Pixels[e.x,e.y]:=clBlack;
Image1.Canvas.Pixels[f.x,f.y]:=clBlack;
for i:=1 to 100000 do
begin
case random(7) of
1:begin
z.x:=Trunc((z.x+a.x)/3);
z.y:=Trunc((z.y+a.y)/3);
Image1.Canvas.Pixels[z.x,z.y]:=clBlack;
end;
2:begin
z.x:=Trunc((z.x+b.x)/3);
z.y:=Trunc((z.y+b.y)/3);
Image1.Canvas.Pixels[z.x,z.y]:=clBlack;
end;