Advertisement
smay

Untitled

Jan 28th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.48 KB | None | 0 0
  1. uses crt,graphABC;
  2. var x,y,i,n, a: Integer;
  3. r: Color;
  4. begin
  5. randomize;
  6. for n:=1 to 10 do
  7. begin
  8.  i:=1;
  9.  a:=random(-100,300);
  10. for i:=1 to 800 do
  11. begin
  12. clearwindow(clblack);
  13.  setbrushcolor(clLightGray);
  14.  Ellipse(-100+i,120+a,50+i,200+a);
  15.  setbrushcolor(rgb(186,219,235));
  16.  Pie(-25+i,160+a,50,0,180);
  17.  setpencolor(clLightGray);
  18.  setpenwidth(9);
  19.  line(-70+i,192+a, -80+i,230+a);
  20.  line(-36+i,200+a, -36+i, 235+a);
  21.  line(18+i,192+a, 28+i,230+a);
  22.  sleep(30);
  23.  end;
  24.  end;
  25. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement