Advertisement
smay

Untitled

Jan 29th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.56 KB | None | 0 0
  1. uses
  2.   graphABC;
  3.  
  4. var
  5.   x, x1: Real;
  6.   y, y1: Integer;
  7.  
  8. begin
  9.   LockDrawing;
  10.   y := 355;
  11.   y1:=378;
  12.   while y > 140 do
  13.   begin
  14.     setpencolor(clblack);
  15.     setbrushcolor(clWhite);
  16.     ellipse(220, 100, 390, 180);
  17.     line(220, 140, 250, 350);
  18.     line(390, 140, 360, 350);
  19.     setbrushcolor(clLightBlue);
  20.     setpencolor(clblack);
  21.     ellipse(250, 330, 360, 380);
  22.     setpencolor(clLightBlue);
  23.     x := (y + 1400) / (7);
  24.     x1 := -(y1 - 2870) / (7);
  25.     ellipse(Round(x), y, Round(x1), y1);
  26.     y := y - 1;
  27.     y1:=y1-1;
  28.     Redraw;
  29.   end
  30. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement