User:Piphi/Asymptote/Flying Pig

< User:Piphi‎ | Asymptote
Revision as of 16:31, 21 June 2020 by Piphi (talk | contribs) (Created page with "{{User:Piphi/Template:Header}} <br><center><asy> /** * Flying Pig * * Made by piphi * * For more information go to the link below. * https://artofproblemsolving.com/wik...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


[asy] /**  * Flying Pig  *  * Made by piphi  *   * For more information go to the link below.  * https://artofproblemsolving.com/wiki/index.php/User:Piphi/Asymptote/Flying_Pig  */  size(600);  int pw = 3;  draw((269,124)--(269,421), dashed+linewidth(pw-1)); draw(ellipse((269,438),7,16), linewidth(pw-1)); draw(ellipse((269,124),367,91), dashed+linewidth(pw-1));  fill((234,448)--(303,448)--(303,454)--(701,454)--(701,458)--(-164,458)--(-164,454)--(234,454)--cycle);  draw((-44,33){dir(165)}..(-145,145)..{dir(20)}(-80,190),linewidth(pw-1),Arrow(Fill(black),size=30));  fill((48,178-153)..(49,178-165)..(57,178-173)--(57,178-166)--(61,178-171)..(60,178-160)..(63,178-152)--cycle, rgb(209/255,210/255,212/255)); fill((81,178-154)..(92,178-159)--(81,178-170)--(86,178-168)--(86,178-173)--(91,178-170)--(114,178-154)--(108,178-150)..(98,178-153)..(81,178-154)--cycle, rgb(209/255,210/255,212/255)); fill((47,178-64)..(45,178-55)..(44,178-53)--(44,178-53)..(40,178-51)..(37,178-52)--(37,178-52)..(31,178-56)..(25,178-58)--(25,178-58)..(29,178-60)..(35,178-61)--(35,178-66)--cycle, rgb(209/255,210/255,212/255)); fill((77,178-73)..(75,178-68)--(75,178-68)..(70,178-64)..(65,178-57)--(65,178-57)..(61,178-55)..(57,178-58)--(57,178-58)..(54,178-64)..(50,178-73)--(50,178-73)..(60,178-77)..(72,178-74)--cycle, rgb(209/255,210/255,212/255));  fill((54,178-65)..(35,178-66)..(19,178-74)--(19,178-74)..(15,178-72)..(12,178-70)--(12,178-70)..(5,178-78)..(3,178-90)--(9,178-94)..(8,178-99)..(14,178-102)..(22,178-109)..(34,178-112)--(34,178-112)..(38,178-127)..(45,178-139)--(56,178-138)..(36,178-143)..(27,178-153)--(33,178-150)--(30,178-156)--(37,178-152)--(48,178-153)..(55,178-153)..(63,178-152)--(63,178-152)..(81,178-154)..(92,178-159)--(81,178-154)..(98,178-153)..(108,178-150)--(102,178-139)..(114,178-154)..(127,178-156)--(127,178-156)..(116,178-166)..(115,178-172)--(118,178-169)--(119,178-174)..(134,178-159)..(143,178-147)--(143,178-147)..(140,178-141)..(137,178-137)--(137,178-137)..(139,178-109)..(133,178-94)--(133,178-94)..(126,178-93)..(121,178-92)--(121,178-92)..(113,178-93)..(106,178-91)--(85,178-81)--(98,178-72)--(98,178-72)..(89,178-71)..(77,178-73)--(72,178-74)..(60,178-77)..(50,178-73)--cycle, rgb(209/255,210/255,212/255));  fill((105,178-81)..(115,178-60)..(118,178-37)--(121,178-38)--(123,178-35)--(127,178-36)--(132,178-31)--(157,178-30)--(134,178-34)..(131,178-38)..(126,178-39)--(126,178-39)..(125,178-42)..(122,178-44)--(122,178-44)..(117,178-65)..(105,178-81)--cycle, rgb(170/255,170/255,170/255));  fill((115,178-84)..(123,178-86)..(128,178-82)..(127,178-78)--(127,178-78)..(134,178-77)..(136,178-73)--(136,178-73)..(135,178-69)..(133,178-66)--(142,178-66)..(147,178-64)..(148,178-62)..(147,178-60)--(147,178-60)..(154,178-59)..(158,178-55)--(158,178-55)..(151,178-50)..(143,178-49)--(143,178-49)..(150,178-52)..(154,178-55)--(154,178-55)..(149,178-56)..(140,178-55)--(140,178-55)..(140,178-59)..(142,178-61)--(142,178-61)..(132,178-62)..(126,178-60)--(126,178-60)..(124,178-62)..(125,178-65)--(125,178-65)..(129,178-68)..(132,178-73)--(132,178-73)..(131,178-75)..(124,178-76)--(124,178-76)..(124,178-78)..(125,178-80)--(125,178-80)..(126,178-82)..(121,178-85)..(115,178-84)--cycle, rgb(170/255,170/255,170/255));  fill((167,178-29)..(179,178-30)..(193,178-28)--(193,178-28)..(199,178-32)..(197,178-37)--(197,178-37)..(193,178-39)..(187,178-42)--(187,178-42)..(190,178-44)..(190,178-47)--(190,178-47)..(185,178-52)..(167,178-52)--(167,178-52)..(182,178-50)..(187,178-46)--(187,178-46)..(180,178-44)..(174,178-40)--(174,178-40)..(176,178-39)..(181,178-38)--(181,178-38)..(190,178-36)..(195,178-33)--(195,178-33)..(178,178-32)..(167,178-29)--cycle, rgb(170/255,170/255,170/255));  fill((29,178-85)..(32,178-80)..(40,178-79)..(43,178-85)..(42,178-90)..(39,178-88)..(36,178-87)..(32,178-88)..cycle); filldraw(circle((38,178-81),2),white,white);  fill((8,178-79)..(7,178-82)..(8,178-83)..(9,178-81)--cycle); fill((12,178-74)..(13,178-77)..(14,178-78)..(17,178-85)--(17,178-85)..(16,178-89)..(11,178-91)..(7,178-89)--(7,178-89)..(11,178-88)..(13,178-85)..(12,178-82)--(12,178-82)..(11,178-77)..(12,178-74)--cycle);  draw((54,178-65)..(35,178-66)..(19,178-74), linewidth(pw)); draw((47,178-64)..(45,178-55)..(44,178-53), linewidth(pw));  draw((47,178-110)..(63,178-102)..(66,178-85), linewidth(pw)); draw((66,178-85)..(72,178-81)..(77,178-73)..(75,178-68), linewidth(pw)); draw((75,178-68)..(70,178-64)..(65,178-57), linewidth(pw)); draw((65,178-57)..(61,178-55)..(57,178-58), linewidth(pw)); draw((57,178-58)..(54,178-64)..(50,178-73), linewidth(pw)); draw((50,178-73)..(60,178-77)..(72,178-74), linewidth(pw));  draw((44,178-53)..(40,178-51)..(37,178-52), linewidth(pw)); draw((37,178-52)..(31,178-56)..(25,178-58), linewidth(pw)); draw((25,178-58)..(29,178-60)..(35,178-61)--(35,178-66), linewidth(pw)); draw((19,178-74)..(15,178-72)..(12,178-70), linewidth(pw)); draw((12,178-70)..(5,178-78)..(3,178-90), linewidth(pw)); draw((3,178-90)..(13,178-96)..(26,178-97), linewidth(pw)); draw((27,178-94)..(28,178-97)..(27,178-100), linewidth(pw/2)); draw((9,178-94)..(8,178-99)..(14,178-102)..(22,178-109)..(34,178-112), linewidth(pw)); draw((34,178-112)..(38,178-127)..(45,178-139), linewidth(pw)); draw((56,178-138)..(36,178-143)..(27,178-153), linewidth(pw)); draw((27,178-153)--(33,178-150)--(30,178-156)--(37,178-152)--(48,178-153), linewidth(pw)); draw((48,178-153)..(49,178-165)..(57,178-173)--(57,178-166)--(61,178-171), linewidth(pw)); draw((61,178-171)..(60,178-160)..(63,178-152), linewidth(pw)); draw((48,178-153)..(55,178-153)..(63,178-152), linewidth(pw)); draw((63,178-152)..(77,178-147)..(84,178-141), linewidth(pw)); draw((63,178-152)..(81,178-154)..(92,178-159), linewidth(pw)); draw((92,178-159)--(81,178-170)--(86,178-168)--(86,178-173)--(91,178-170)--(114,178-154), linewidth(pw)); draw((102,178-139)..(114,178-154)..(127,178-156), linewidth(pw)); draw((81,178-154)..(98,178-153)..(108,178-150), linewidth(pw)); draw((127,178-156)..(116,178-166)..(115,178-172)--(118,178-169)--(119,178-174)..(134,178-159)..(143,178-147), linewidth(pw)); draw((143,178-147)..(140,178-141)..(137,178-137), linewidth(pw)); draw((137,178-137)..(139,178-109)..(133,178-94), linewidth(pw)); draw((139,178-109)..(149,178-109)..(153,178-117)..(145,178-118)..(149,178-109)..(159,178-108)..(162,178-112), linewidth(pw)); draw((133,178-94)..(126,178-93)..(121,178-92), linewidth(pw)); draw((121,178-92)..(113,178-93)..(106,178-91), linewidth(pw));  draw((82,107)--(269,421), linewidth(pw-1));  draw((77,178-73)..(89,178-71)..(98,178-72), linewidth(pw)); draw((98,178-72)..(101,178-67)..(98,178-61)--(104,178-61), linewidth(pw)); draw((147,178-23)..(156,178-14)..(161,178-6), linewidth(pw)); draw((161,178-6)..(160,178-3)..(156,178-3), linewidth(pw)); draw((156,178-3)..(148,178-7)..(129,178-11), linewidth(pw)); draw((129,178-11)..(87,178-16)..(62,178-27)..(56,178-37), linewidth(pw)); draw((56,178-37)..(58,178-42)..(64,178-46)..(70,178-51)..(72,178-65), linewidth(pw));  draw((133,178-94)..(136,178-91)..(137,178-88), linewidth(pw)); draw((137,178-88)..(141,178-86)..(142,178-85)..(142,178-81), linewidth(pw)); draw((142,178-81)..(145,178-77)..(143,178-72), linewidth(pw)); draw((143,178-72)..(155,178-74)..(160,178-73)..(161,178-70), linewidth(pw)); draw((161,178-70)..(169,178-72)..(174,178-70)..(174,178-66), linewidth(pw)); draw((174,178-66)..(187,178-67)..(196,178-64)..(199,178-60), linewidth(pw)); draw((199,178-60)..(197,178-57)..(194,178-56), linewidth(pw)); draw((194,178-56)..(209,178-49)..(219,178-40), linewidth(pw)); draw((219,178-40)..(218,178-37)..(216,178-37), linewidth(pw)); draw((216,178-37)..(226,178-27)..(228,178-13), linewidth(pw)); draw((228,178-13)..(211,178-20)..(192,178-23), linewidth(pw)); draw((192,178-23)..(174,178-24)..(139,178-22), linewidth(pw)); draw((139,178-22)..(116,178-29)..(106,178-52), linewidth(pw)); draw((106,178-52)..(98,178-72)..(85,178-81), linewidth(pw));  fill(circle((118,178-110),8)--cycle); fill(circle((114,178-129),6)--cycle); fill(circle((128,178-121),3)--cycle);[/asy]

Flying Pig

This is my first drawing uploaded to the AoPS Wiki that's not a logo. I decided to draw this after seeing lots of users this a section of this image as their avatars.

Original Flying Pig

I started by drawing the flying pig, as seen below.

[asy] int pw = 3;  fill((48,153)..(49,165)..(57,173)--(57,166)--(61,171)..(60,160)..(63,152)--cycle, rgb(209/255,210/255,212/255)); fill((81,154)..(92,159)--(81,170)--(86,168)--(86,173)--(91,170)--(114,154)--(108,150)..(98,153)..(81,154)--cycle, rgb(209/255,210/255,212/255)); fill((47,64)..(45,55)..(44,53)--(44,53)..(40,51)..(37,52)--(37,52)..(31,56)..(25,58)--(25,58)..(29,60)..(35,61)--(35,66)--cycle, rgb(209/255,210/255,212/255)); fill((77,73)..(75,68)--(75,68)..(70,64)..(65,57)--(65,57)..(61,55)..(57,58)--(57,58)..(54,64)..(50,73)--(50,73)..(60,77)..(72,74)--cycle, rgb(209/255,210/255,212/255));  fill((54,65)..(35,66)..(19,74)--(19,74)..(15,72)..(12,70)--(12,70)..(5,78)..(3,90)--(9,94)..(8,99)..(14,102)..(22,109)..(34,112)--(34,112)..(38,127)..(45,139)--(56,138)..(36,143)..(27,153)--(33,150)--(30,156)--(37,152)--(48,153)..(55,153)..(63,152)--(63,152)..(81,154)..(92,159)--(81,154)..(98,153)..(108,150)--(102,139)..(114,154)..(127,156)--(127,156)..(116,166)..(115,172)--(118,169)--(119,174)..(134,159)..(143,147)--(143,147)..(140,141)..(137,137)--(137,137)..(139,109)..(133,94)--(133,94)..(126,93)..(121,92)--(121,92)..(113,93)..(106,91)--(85,81)--(98,72)--(98,72)..(89,71)..(77,73)--(72,74)..(60,77)..(50,73)--cycle, rgb(209/255,210/255,212/255));  fill((105,81)..(115,60)..(118,37)--(121,38)--(123,35)--(127,36)--(132,31)--(157,30)--(134,34)..(131,38)..(126,39)--(126,39)..(125,42)..(122,44)--(122,44)..(117,65)..(105,81)--cycle, rgb(170/255,170/255,170/255));  fill((115,84)..(123,86)..(128,82)..(127,78)--(127,78)..(134,77)..(136,73)--(136,73)..(135,69)..(133,66)--(142,66)..(147,64)..(148,62)..(147,60)--(147,60)..(154,59)..(158,55)--(158,55)..(151,50)..(143,49)--(143,49)..(150,52)..(154,55)--(154,55)..(149,56)..(140,55)--(140,55)..(140,59)..(142,61)--(142,61)..(132,62)..(126,60)--(126,60)..(124,62)..(125,65)--(125,65)..(129,68)..(132,73)--(132,73)..(131,75)..(124,76)--(124,76)..(124,78)..(125,80)--(125,80)..(126,82)..(121,85)..(115,84)--cycle, rgb(170/255,170/255,170/255));  fill((167,29)..(179,30)..(193,28)--(193,28)..(199,32)..(197,37)--(197,37)..(193,39)..(187,42)--(187,42)..(190,44)..(190,47)--(190,47)..(185,52)..(167,52)--(167,52)..(182,50)..(187,46)--(187,46)..(180,44)..(174,40)--(174,40)..(176,39)..(181,38)--(181,38)..(190,36)..(195,33)--(195,33)..(178,32)..(167,29)--cycle, rgb(170/255,170/255,170/255));  fill((29,85)..(32,80)..(40,79)..(43,85)..(42,90)..(39,88)..(36,87)..(32,88)..cycle); filldraw(circle((38,81),2),white,white);  fill((8,79)..(7,82)..(8,83)..(9,81)--cycle); fill((12,74)..(13,77)..(14,78)..(17,85)--(17,85)..(16,89)..(11,91)..(7,89)--(7,89)..(11,88)..(13,85)..(12,82)--(12,82)..(11,77)..(12,74)--cycle);  draw((54,65)..(35,66)..(19,74), linewidth(pw)); draw((47,64)..(45,55)..(44,53), linewidth(pw));  draw((47,110)..(63,102)..(66,85), linewidth(pw)); draw((66,85)..(72,81)..(77,73)..(75,68), linewidth(pw)); draw((75,68)..(70,64)..(65,57), linewidth(pw)); draw((65,57)..(61,55)..(57,58), linewidth(pw)); draw((57,58)..(54,64)..(50,73), linewidth(pw)); draw((50,73)..(60,77)..(72,74), linewidth(pw));  draw((44,53)..(40,51)..(37,52), linewidth(pw)); draw((37,52)..(31,56)..(25,58), linewidth(pw)); draw((25,58)..(29,60)..(35,61)--(35,66), linewidth(pw)); draw((19,74)..(15,72)..(12,70), linewidth(pw)); draw((12,70)..(5,78)..(3,90), linewidth(pw)); draw((3,90)..(13,96)..(26,97), linewidth(pw)); draw((27,94)..(28,97)..(27,100), linewidth(pw/2)); draw((9,94)..(8,99)..(14,102)..(22,109)..(34,112), linewidth(pw)); draw((34,112)..(38,127)..(45,139), linewidth(pw)); draw((56,138)..(36,143)..(27,153), linewidth(pw)); draw((27,153)--(33,150)--(30,156)--(37,152)--(48,153), linewidth(pw)); draw((48,153)..(49,165)..(57,173)--(57,166)--(61,171), linewidth(pw)); draw((61,171)..(60,160)..(63,152), linewidth(pw)); draw((48,153)..(55,153)..(63,152), linewidth(pw)); draw((63,152)..(77,147)..(84,141), linewidth(pw)); draw((63,152)..(81,154)..(92,159), linewidth(pw)); draw((92,159)--(81,170)--(86,168)--(86,173)--(91,170)--(114,154), linewidth(pw)); draw((102,139)..(114,154)..(127,156), linewidth(pw)); draw((81,154)..(98,153)..(108,150), linewidth(pw)); draw((127,156)..(116,166)..(115,172)--(118,169)--(119,174)..(134,159)..(143,147), linewidth(pw)); draw((143,147)..(140,141)..(137,137), linewidth(pw)); draw((137,137)..(139,109)..(133,94), linewidth(pw)); draw((139,109)..(149,109)..(153,117)..(145,118)..(149,109)..(159,108)..(162,112), linewidth(pw)); draw((133,94)..(126,93)..(121,92), linewidth(pw)); draw((121,92)..(113,93)..(106,91), linewidth(pw));  draw((77,73)..(89,71)..(98,72), linewidth(pw)); draw((98,72)..(101,67)..(98,61)--(104,61), linewidth(pw)); draw((147,23)..(156,14)..(161,6), linewidth(pw)); draw((161,6)..(160,3)..(156,3), linewidth(pw)); draw((156,3)..(148,7)..(129,11), linewidth(pw)); draw((129,11)..(87,16)..(62,27)..(56,37), linewidth(pw)); draw((56,37)..(58,42)..(64,46)..(70,51)..(72,65), linewidth(pw));  draw((133,94)..(136,91)..(137,88), linewidth(pw)); draw((137,88)..(141,86)..(142,85)..(142,81), linewidth(pw)); draw((142,81)..(145,77)..(143,72), linewidth(pw)); draw((143,72)..(155,74)..(160,73)..(161,70), linewidth(pw)); draw((161,70)..(169,72)..(174,70)..(174,66), linewidth(pw)); draw((174,66)..(187,67)..(196,64)..(199,60), linewidth(pw)); draw((199,60)..(197,57)..(194,56), linewidth(pw)); draw((194,56)..(209,49)..(219,40), linewidth(pw)); draw((219,40)..(218,37)..(216,37), linewidth(pw)); draw((216,37)..(226,27)..(228,13), linewidth(pw)); draw((228,13)..(211,20)..(192,23), linewidth(pw)); draw((192,23)..(174,24)..(139,22), linewidth(pw)); draw((139,22)..(116,29)..(106,52), linewidth(pw)); draw((106,52)..(98,72)..(85,81), linewidth(pw));  fill(circle((118,110),8)--cycle); fill(circle((114,129),6)--cycle); fill(circle((128,121),3)--cycle);  picture p = reflect((0, 0), (1, 0))*currentpicture; erase(); add(p); [/asy]

Then I drew the other parts of the drawing.

Credits: Chishimotoji for help on the arrow and to cosmicgenius for help on flipping the image

See Also