Difference between revisions of "User:EddieBates/Asymptote-testing"
From Encyclopedia of Mathematics
EddieBates (talk | contribs) |
EddieBates (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | <asy> | ||
+ | size(10cm); | ||
+ | |||
+ | path g=box((-1,-1),(1,1)); | ||
+ | pen [] col= new pen[]{gray,yellow}; | ||
+ | real k=sqrt(10)/4; | ||
+ | transform T=scale(k)*rotate(degrees(acos(17/(16*k*sqrt(2))))); | ||
+ | int nb=10; | ||
+ | |||
+ | for (int i=0; i<nb; ++i) filldraw(T^i*g,col[i%2]); | ||
+ | </asy> | ||
+ | |||
+ | |||
<asy> | <asy> | ||
size(10cm,0); | size(10cm,0); | ||
Line 17: | Line 30: | ||
tree(trk,12,a=25,b=40,r=.75); | tree(trk,12,a=25,b=40,r=.75); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</asy> | </asy> |
Revision as of 15:32, 22 October 2014
How to Cite This Entry:
EddieBates/Asymptote-testing. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=EddieBates/Asymptote-testing&oldid=33991
EddieBates/Asymptote-testing. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=EddieBates/Asymptote-testing&oldid=33991