Difference between revisions of "User:Daybreakstudent"
Line 1: | Line 1: | ||
+ | |||
<asy> | <asy> | ||
+ | //Original copy at https://artofproblemsolving.com/wiki/index.php/User:Daybreakstudent | ||
+ | //MADE BY DAYBREAKSTUDENT | ||
+ | //THE BEST CHESS SET EVER LOGO (Yes, it's really called that) | ||
+ | //The code may be very convoluted, just warning you... | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | //COLORS+LINE TYPES | ||
+ | |||
+ | //Guide Lines | ||
+ | pen g=(linetype("2 3")+gray+linewidth(.5)); | ||
+ | |||
+ | //Knight Outline | ||
+ | pen b=(gray+linewidth(.5)); | ||
+ | |||
+ | //Knight Fill | ||
+ | pen c=(black); | ||
//*GUIDING POINTS* | //*GUIDING POINTS* | ||
Line 9: | Line 29: | ||
pair C=(0,-3.125); | pair C=(0,-3.125); | ||
//*L4 C*/ | //*L4 C*/ | ||
− | pair D=(-3. | + | pair D=(-3.75,0); |
//*R4 C*/ | //*R4 C*/ | ||
− | pair E=(3. | + | pair E=(3.75,0); |
//*L1 C*/ | //*L1 C*/ | ||
pair F=(-1.25,0); | pair F=(-1.25,0); | ||
Line 66: | Line 86: | ||
//*Diagonal line ends | //*Diagonal line ends | ||
− | pair ELD=(-3.75, -. | + | pair ELD=(-3.75, -.1875); |
− | pair ELU=(-3.75, . | + | pair ELU=(-3.75, .1875); |
− | pair ERD=(3.75, -. | + | pair ERD=(3.75, -.1875); |
− | pair ERU=(3.75, . | + | pair ERU=(3.75, .1875); |
//*Diagonal line starts | //*Diagonal line starts | ||
pair SLD=(-1.75, -2.5); | pair SLD=(-1.75, -2.5); | ||
Line 102: | Line 122: | ||
pair KLUUUUU=(-.25, 1.1875); | pair KLUUUUU=(-.25, 1.1875); | ||
pair KRUU=(.25,.3125); | pair KRUU=(.25,.3125); | ||
+ | pair KRRUU=(.5625,.25); | ||
+ | pair KRRUUU=(.5625,.375); | ||
+ | pair KRUUU=(.4375,.875); | ||
+ | pair KRRU=(.6875,.125); | ||
+ | pair KRRRU=(.9375,.125); | ||
+ | pair KRRRUUUU=(.4375,.875); | ||
+ | pair KRRRRRUUU=(.875,.6875); | ||
+ | pair KRRRRRUU=(1,.25); | ||
+ | pair KRUUUU=(.25,1); | ||
+ | pair KCUUUUUU=(0,1.625); | ||
+ | pair KLUUUUUU=(-.0625,.6875); | ||
+ | pair KRDDD=(.375,-.5625); | ||
+ | pair KRRRDDD=(.875,-.5625); | ||
+ | pair KCD=(0,-.75); | ||
+ | pair KRRDDD=(.5,-1); | ||
+ | pair KCDD=(0,-1.125); | ||
+ | pair KRDDDD=(.5,-1.1875); | ||
+ | pair KCDDD=(0,-1.5); | ||
+ | pair KLD=(-.3125,-.1875); | ||
+ | pair KLLD=(-.5,-.375); | ||
+ | pair KLLLLD=(-.75,-.625); | ||
+ | pair KLLLDDDDD=(-.4375,-1.1875); | ||
+ | pair ICANTHELPMYSELF=(-.46875,-1.1875); | ||
+ | |||
+ | |||
+ | |||
+ | //KNIGHT BASE | ||
+ | pair KBRT=(.8125,-1); | ||
+ | pair KBRU=(.9375,-1.25); | ||
+ | pair KBRD=(1.0625,-1.25); | ||
+ | pair KBRB=(1.0625,-1.5); | ||
+ | |||
+ | pair KBLT=(-.8125,-1); | ||
+ | pair KBLU=(-.9375,-1.25); | ||
+ | pair KBLD=(-1.0625,-1.25); | ||
+ | pair KBLB=(-1.0625,-1.5); | ||
+ | |||
//DRAWING SYSTEMS | //DRAWING SYSTEMS | ||
+ | |||
+ | fill((4,3.125)--(-4,3.125)--(-4,-3.125)--(4,-3.125)--cycle, black); | ||
+ | |||
//GUIDE | //GUIDE | ||
− | draw(circle((0,0),.375), | + | draw(circle((0,0),.375), g); |
− | draw(circle((.75,.375),.375), | + | draw(circle((.75,.375),.375),g); |
− | draw(circle((-.75,.375),.375), | + | draw(circle((-.75,.375),.375),g); |
− | draw(circle((-.75,-.375),.375), | + | draw(circle((-.75,-.375),.375),g); |
− | draw(circle((.75,-.375),.375), | + | draw(circle((.75,-.375),.375),g); |
− | draw(circle((0,-1.625),.375), | + | draw(circle((0,-1.625),.375),g); |
− | draw(circle((0,1.625),.375), | + | draw(circle((0,1.625),.375),g); |
− | draw(circle((CRU),.375), | + | draw(circle((CRU),.375),g); |
− | draw(circle((CLU),.375), | + | draw(circle((CLU),.375),g); |
− | draw(circle((CLD),.375), | + | draw(circle((CLD),.375),g); |
− | draw(circle((CRD),.375), | + | draw(circle((CRD),.375),g); |
− | draw(B--A--C, | + | draw(B--A--C, g); |
− | draw((- | + | draw((-4,0)--(0,0)--(4,0), g); |
− | draw(ELD--SRU, | + | draw(ELD--SRU, g); |
− | draw(ERD--SLU, | + | draw(ERD--SLU, g); |
− | draw(ELU--SRD, | + | draw(ELU--SRD, g); |
− | draw(ERU--SLD, | + | draw(ERU--SLD, g); |
− | draw(K--L, | + | draw(K--L, g); |
− | draw(R--S, | + | draw(R--S, g); |
− | draw(CLU--BB, | + | draw(CLU--BB, g); |
− | draw(CLD--CC, | + | draw(CLD--CC, g); |
− | draw(CRU--DD, | + | draw(CRU--DD, g); |
− | draw(CRD--EE, | + | draw(CRD--EE, g); |
− | draw(PDR--PDL, | + | draw(PDR--PDL, g); |
− | draw(PUL--PUR, | + | draw(PUL--PUR, g); |
//Knight | //Knight | ||
− | fill(KCC--KRC--KRU--KCU--cycle, | + | fill(KCC--KRC--KRU--KCU--cycle, c); |
− | draw(KCC--KRC--KRU--KCU--cycle, | + | draw(KCC--KRC--KRU--KCU--cycle, b); |
+ | |||
+ | fill(KCC--KCU--KLU--cycle, c); | ||
+ | draw(KCC--KCU--KLU--cycle, b); | ||
+ | |||
+ | fill(KCUUU--KCU--KLU--cycle, c); | ||
+ | draw(KCUUU--KCU--KLU--cycle, b); | ||
+ | |||
+ | fill(KCC--KLU--KLC--cycle, c); | ||
+ | draw(KCC--KLU--KLC--cycle, b); | ||
+ | |||
+ | fill(KCUUU--KLU--KLC--KLUU--cycle, c); | ||
+ | draw(KCUUU--KLU--KLC--KLUU--cycle, b); | ||
+ | |||
+ | fill(KLLUUU--KCUUU--KLUU--cycle, c); | ||
+ | draw(KLLUUU--KCUUU--KLUU--cycle, b); | ||
+ | |||
+ | fill(KLLUUU--KLLUUUU--KLUU--cycle, c); | ||
+ | draw(KLLUUU--KLLUUUU--KLUU--cycle, b); | ||
+ | |||
+ | fill(KLC--KLLUUUU--KLUU--cycle, c); | ||
+ | draw(KLC--KLLUUUU--KLUU--cycle, b); | ||
− | fill( | + | fill(KCUUUU--KCUUU--KLLUUU--cycle, c); |
− | draw( | + | draw(KCUUUU--KCUUU--KLLUUU--cycle, b); |
− | fill( | + | fill(KCUUUU--KLLUUU--KLUUUUU--KCUUUUU--cycle, c); |
− | draw( | + | draw(KCUUUU--KLLUUU--KLUUUUU--KCUUUUU--cycle, b); |
− | fill( | + | fill(KRUU--KCUUU--KCU--KRU--cycle, c); |
− | draw( | + | draw(KRUU--KCUUU--KCU--KRU--cycle, b); |
− | fill(KCUUU-- | + | fill(KCUUU--KRRUUU--KRRUU--KRUU--cycle, c); |
− | draw(KCUUU-- | + | draw(KCUUU--KRRUUU--KRRUU--KRUU--cycle, b); |
− | fill( | + | fill(KRRU--KRRRU--KRRUUU--KRRUU--cycle, c); |
− | draw( | + | draw(KRRU--KRRRU--KRRUUU--KRRUU--cycle, b); |
− | fill( | + | fill(KCUUU--KCUUUU--KRRRUUUU--cycle, c); |
− | draw( | + | draw(KCUUU--KCUUUU--KRRRUUUU--cycle, b); |
− | fill( | + | fill(KCUUU--KRRUUU--KRRRUUUU--cycle, c); |
− | draw( | + | draw(KCUUU--KRRUUU--KRRRUUUU--cycle, b); |
− | fill( | + | fill(KRRRRRUUU--KRRUUU--KRRRUUUU--cycle, c); |
− | draw( | + | draw(KRRRRRUUU--KRRUUU--KRRRUUUU--cycle, b); |
− | fill( | + | fill(KRRRRRUUU--KRRRRRUU--KRRUUU--cycle, c); |
− | draw( | + | draw(KRRRRRUUU--KRRRRRUU--KRRUUU--cycle, b); |
− | fill( | + | fill(KCUUUUU--KRUUUU--KRUUU--KCUUUU--cycle, c); |
− | draw( | + | draw(KCUUUUU--KRUUUU--KRUUU--KCUUUU--cycle, b); |
+ | fill(KRC--KRDDD--KCC--cycle, c); | ||
+ | draw(KRC--KRDDD--KCC--cycle, b); | ||
+ | fill(KRC--KRRRDDD--KRDDD--cycle, c); | ||
+ | draw(KRC--KRRRDDD--KRDDD--cycle, b); | ||
+ | fill(KCC--KRDDD--KCD--cycle, c); | ||
+ | draw(KCC--KRDDD--KCD--cycle, b); | ||
+ | fill(KRRRDDD--KRDDD--KCD--cycle, c); | ||
+ | draw(KRRRDDD--KRDDD--KCD--cycle, b); | ||
− | + | fill(KCDD--KRRDDD--KCD--cycle, c); | |
− | + | draw(KCDD--KRRDDD--KCD--cycle, b); | |
− | + | ||
− | + | fill(KRRRDDD--KRRDDD--KCD--cycle, c); | |
− | + | draw(KRRRDDD--KRRDDD--KCD--cycle, b); | |
− | + | ||
− | + | fill(KCDD--KCDDD--KRDDDD--cycle, c); | |
− | + | draw(KCDD--KCDDD--KRDDDD--cycle, b); | |
− | + | ||
− | + | fill(KCDD--KCDDD--KRDDDD--cycle, c); | |
− | + | draw(KCDD--KCDDD--KRDDDD--cycle, b); | |
− | + | ||
− | + | fill(KCDD--KRRDDD--KRDDDD--cycle, c); | |
− | + | draw(KCDD--KRRDDD--KRDDDD--cycle, b); | |
+ | |||
+ | fill(KCC--KCD--KLD--cycle, c); | ||
+ | draw(KCC--KCD--KLD--cycle, b); | ||
+ | |||
+ | fill(KCC--KLC--KLLD--KLD--cycle, c); | ||
+ | draw(KCC--KLC--KLLD--KLD--cycle, b); | ||
+ | |||
+ | fill(KCD--KLLD--KLD--cycle, c); | ||
+ | draw(KCD--KLLD--KLD--cycle, b); | ||
+ | |||
+ | fill(KCD--KLLD--KLLLLD--cycle, c); | ||
+ | draw(KCD--KLLD--KLLLLD--cycle, b); | ||
+ | |||
+ | fill(KCD--KLLLLD--KCDD--cycle, c); | ||
+ | draw(KCD--KLLLLD--KCDD--cycle, b); | ||
+ | |||
+ | fill(KCDDD--KLLLDDDDD--KCDD--cycle, c); | ||
+ | draw(KCDDD--KLLLDDDDD--KCDD--cycle, b); | ||
+ | |||
+ | fill(ICANTHELPMYSELF--KLLLDDDDD--KCDD--(-.3125,-.9375)--cycle, c); | ||
+ | draw(ICANTHELPMYSELF--KLLLDDDDD--KCDD--(-.3125,-.9375)--cycle, b); | ||
+ | |||
+ | fill(KCUUUUUU--KCUUUUU--KLUUUUU--(-.125,1.5)--cycle, c); | ||
+ | draw(KCUUUUUU--KCUUUUU--KLUUUUU--(-.125,1.5)--cycle, b); | ||
+ | //KNIGHT BASE | ||
+ | fill(KCDDD--KBRT--KBRU--cycle, c); | ||
+ | draw(KCDDD--KBRT--KBRU--cycle, b); | ||
− | fill( | + | fill(KCDDD--KBRU--KBRD--KBRB--cycle, c); |
− | draw( | + | draw(KCDDD--KBRU--KBRD--KBRB--cycle, b); |
− | |||
+ | fill(KCDDD--KBLT--KBLU--cycle, c); | ||
+ | draw(KCDDD--KBLT--KBLU--cycle, b); | ||
− | + | fill(KCDDD--KBLU--KBLD--KBLB--cycle, c); | |
− | + | draw(KCDDD--KBLU--KBLD--KBLB--cycle, b); | |
− | |||
− | |||
− | draw( | ||
</asy> | </asy> |
Revision as of 17:13, 8 July 2022