Difference between revisions of "User:Me@home"
m |
|||
Line 11: | Line 11: | ||
}; | }; | ||
pair D[] = { (2P[4]+P[5])/3,(P[4]+2P[5])/3 }; | pair D[] = { (2P[4]+P[5])/3,(P[4]+2P[5])/3 }; | ||
− | draw( D[0]--P[6] ); | + | draw( D[0]--P[6] ,blue+1mm); |
pair E[] = {(D[0]+P[6])/2,D[0] + P[6] - P[4]}; | pair E[] = {(D[0]+P[6])/2,D[0] + P[6] - P[4]}; | ||
− | dot(E[0]);dot(E[1]);draw(P[6]--E[1]);draw(P[4]--E[1]); | + | dot(E[0]);dot(E[1]); |
− | draw( D[1]--P[7] ); | + | draw(P[6]--E[1],red+1mm); |
− | draw( P[0] -- P[1] -- P[2] -- P[3] --cycle | + | draw(P[4]--E[1],red+1mm); |
+ | draw(P[4]--P[5]); | ||
+ | draw(D[1]--P[7]); | ||
+ | draw( P[0] -- P[1] -- P[2] -- P[3] --cycle) ; | ||
label( "13", (P[0]+P[1])/2 ); | label( "13", (P[0]+P[1])/2 ); | ||
label( "13", (0,-1) ); | label( "13", (0,-1) ); | ||
Line 24: | Line 27: | ||
label( S[i], P[i]); | label( S[i], P[i]); | ||
} else { | } else { | ||
− | |||
dot( (i<8) ? P[i] : D[i-8] ); | dot( (i<8) ? P[i] : D[i-8] ); | ||
} | } |
Revision as of 00:08, 15 September 2008