%  

r = 5;
G = -r+4*rand(2,1);
S = -r*4*rand(2,1);
S = zeros(2,1);
J = -r*4*rand(2,1);

figure; hold on;
axis([-r,r,-r,r]);
plot(0,0,'r+',0,0,'ro','MarkerSize',20);

for t = 0:.01:1
		v = t*G;
		plot(v(1),v(2),'.','MarkerSize',10)
		drawnow;
		pause(.01);
end

return
for t = 0:.01:1
		u = ( (1-t)*G + t*S);
		plot(u(1),u(2),'.','MarkerSize',10)
		drawnow;
		pause(.1);
end
