summaryrefslogtreecommitdiff
path: root/graphics/asymptote/tests/bench/6000circles.asy
blob: 53ebecce27a327f15bcf39faa641f32243c6424d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
size(0,100);
import math; 
import stats; 
 
currentpen=magenta; 
// A centered random number 
real crand() {return unitrand()*5;} 
 
real r1; 
pair pcenter; 
 
for(int i=0; i < 6000; ++i) { 
 
r1 = unitrand()/10; 
pcenter = ( crand(), crand()); 
Draw(circle(pcenter,r1)); 
}