Анімація в Delphi 7
with form1.Canvas do
begin
buf:=pen.Color;
pen.Color:=color;
moveto(0,161);
lineto(530,161);
ellipse(480,40,600,-80);
moveto(500,30);
if z=1 then
lineto(500-x*2,30+x*2);
moveto(480,10);
if z=1 then
lineto(480-x*2,10+x*2);
moveto(520,40);
if z=1 then
lineto(520-x*2,40+x*2);
ellipse (197+s,150-4*dy+n,202+s,150-3*dy+n);
moveto(200+s,150+n);
lineto(200+s,150-3*dy+n);
moveto(200+s,150+n);
if (z=1) then
lineto(200+x+s,150+y+n);
if (z=0) then
lineto(200-x+s,150+y+n);
moveto(200+s,150+n);