diff options
Diffstat (limited to 'Build/source/utils/asymptote/tests/bench/6000circles.asy')
-rw-r--r-- | Build/source/utils/asymptote/tests/bench/6000circles.asy | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/tests/bench/6000circles.asy b/Build/source/utils/asymptote/tests/bench/6000circles.asy new file mode 100644 index 00000000000..53ebecce27a --- /dev/null +++ b/Build/source/utils/asymptote/tests/bench/6000circles.asy @@ -0,0 +1,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)); +} |