size(500,100); for(int i=0; i<5000; i++){ int x = i/10; int y = (int)(50. * cos(PI/180.* i) ); point(x , y+50); }