Difference between revisions of "User:Andrew Kim"

Line 1: Line 1:
 
Asymptote Test
 
Asymptote Test
 
<asy>
 
<asy>
size(2inch);
+
size(3inch);
pair A,B,C,D;
+
draw((0,0)--(0,1));
A=(0,0); B=(10,0); C=(10,4); D=(0,4);
+
for (int i=0; i<20; ++i)
draw(A--B--C--D--cycle);
+
{
draw(A);
+
draw((i,0)--(i+1,0)--(i+1,1)--(i,1));
 +
}
 +
for (int i=0; i<10; ++i)
 +
{
 +
fill(circle((i+0.5,0.5),0.1));
 +
}
 
</asy>
 
</asy>

Revision as of 15:14, 1 November 2010

Asymptote Test [asy] size(3inch); draw((0,0)--(0,1)); for (int i=0; i<20; ++i) { draw((i,0)--(i+1,0)--(i+1,1)--(i,1)); } for (int i=0; i<10; ++i) { fill(circle((i+0.5,0.5),0.1)); } [/asy]