Курсовая работа: Построение траектории Броуновского движения
Bevel1: TBevel;
ColorDialog1: TColorDialog;
Button4: TButton;
procedure Button1Click(Sender: TObject);
procedure initz;
procedure paint;
procedure ScrollBar1Change(Sender: TObject);
procedure FormCreate(Sender: TObject);
procedure Button2Click(Sender: TObject);
procedure Button3Click(Sender: TObject);
procedure Timer1Timer(Sender: TObject);
procedure Button4Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
x1,x2,y1,y2,time,tx,ty:integer;
implementation
{$R *.dfm}
procedure tform1.initz;
begin
tx:=136;
ty:=120;
x1:=tx;
y1:=ty;
canvas.MoveTo(x1,y1);