python画沸羊羊和美羊羊的cp

1.源代码

# coding=gbk

import turtle

def plotLine(points, pencolor=None, width=None, speed=None):
    '''
    功能:画折线
    '''
    # 记录旧参数
    oldpencolor = turtle.pencolor()
    oldwidth = turtle.width()
    oldspeed = turtle.speed()

    # 修改新参数
    if pencolor is not None:
        turtle.pencolor(pencolor)
    if width is not None:
        turtle.width(width)
    if speed is not None:
        turtle.speed(speed)

    # 绘制折线
    turtle.up()
    turtle.goto(points[0])
    turtle.down()
    for point in points[1:]:
        turtle.goto(point)

    # 恢复旧参数
    turtle.pencolor(oldpencolor)
    turtle.width(oldwidth)
    turtle.speed(oldspeed)


def plotPoly(points, fill=False, pencolor=None, fillcolor=None,
             width=None, speed=None):
    '''
    功能:绘制封闭多边形
    '''
    # 保存旧参数
    oldfillcolor = turtle.fillcolor()

    # 更新新参数
    if fillcolor is not None:
        turtle.fillcolor(fillcolor)

    # 绘制封闭多边形
    points_plotline = list(points) + [points[0]]
    if fill:
        turtle.begin_fill()
        plotLine(points_plotline, pencolor, width, speed)
        turtle.end_fill()
    else:
        plotLine(points_plotline, pencolor, width, speed)

    # 恢复旧参数
    turtle.fillcolor(oldfillcolor)

# 设置一些参数
turtle.setup(600, 439, 50, 50)
turtle.speed(10)
turtle.turtlesize(1.5, 1.5, 1.5)

# 绘画


# 二羊轮廓
points = [
    (-76, 84), (-77, 89), (-80, 93), (-84, 96), (-88, 98),
    (-91, 99), (-93, 99), (-97, 97), (-100, 95), (-103, 93),
    (-104, 92), (-106, 94), (-109, 96), (-112, 98), (-114, 99),
    (-116, 99), (-119, 98), (-122, 96), (-125, 93), (-127, 91),
    (-128, 89), (-129, 89), (-132, 92), (-135, 94), (-139, 96),
    (-144, 96), (-147, 95), (-150, 92), (-153, 89), (-157, 91),
    (-160, 92), (-162, 93), (-165, 93), (-168, 92), (-172, 90),
    (-175, 87), (-178, 83), (-180, 78), (-180, 77), (-185, 77),
    (-187, 80), (-190, 84), (-192, 86), (-195, 86), (-199, 84),
    (-203, 80), (-206, 75), (-208, 72), (-209, 71), (-213, 72),
    (-221, 76), (-230, 78), (-236, 80), (-244, 81), (-257, 81),
    (-266, 81), (-272, 79), (-278, 76), (-283, 74), (-284, 72),
    (-284, 71), (-283, 69), (-280, 68), (-272, 67), (-265, 64),
    (-258, 62), (-251, 58), (-244, 54), (-236, 48), (-241, 44),
    (-243, 41), (-243, 39), (-240, 35), (-235, 32), (-233, 26),
    (-232, 23), (-233, 21), (-236, 17), (-240, 10), (-240, 6),
    (-237, 0), (-235, -6), (-237, -11), (-238, -14), (-242, -19),
    (-247, -23), (-242, -27), (-236, -29), (-237, -35), (-237, -41),
    (-236, -46), (-232, -51), (-228, -53), (-228, -61), (-226, -67),
    (-222, -71), (-217, -74), (-214, -76), (-213, -82), (-210, -86),
    (-206, -90), (-201, -92), (-197, -93), (-195, -96), (-190, -96),
    (-184, -94), (-182, -95), (-179, -99), (-176, -100), (-174, -100),
    (-170, -98), (-167, -96), (-162, -95), (-164, -98), (-165, -102),
    (-165, -106), (-164, -111), (-163, -113), (-165, -114), (-167, -118),
    (-167, -125), (-165, -130), (-165, -133), (-167, -137), (-167, -143),
    (-166, -151), (-164, -156), (-163, -160), (-162, -164), (-159, -167),
    (-154, -169), (-151, -170), (-149, -173), (-146, -175), (-140, -175),
    (-135, -175), (-133, -177), (-130, -181), (-127, -185), (-122, -188),
    (-118, -189), (-116, -189), (-112, -187), (-108, -185), (-104, -181),
    (-100, -177), (-99, -176), (-97, -178), (-94, -178), (-91, -177),
    (-89, -180), (-86, -183), (-82, -185), (-79, -186), (-74, -186),
    (-70, -184), (-66, -182), (-63, -179), (-60, -176), (-56, -172),
    (-54, -167), (-52, -161), (-52, -153), (-53, -147), (-57, -142),
    (-63, -138), (-66, -136), (-67, -132), (-67, -131), (-65, -129),
    (-64, -126), (-64, -122), (-65, -119), (-67, -116), (-67, -112),
    (-60, -116), (-55, -119), (-49, -121), (-40, -121), (-42, -128),
    (-44, -133), (-44, -135), (-43, -136), (-41, -136), (-36, -131),
    (-29, -124), (-27, -123), (-25, -124), (-23, -124), (-20, -122),
    (-15, -117), (-12, -114), (-10, -109), (-10, -107), (-7, -105),
    (-6, -109), (-4, -113), (-1, -117), (2, -120), (1, -122),
    (1, -123), (3, -125), (4, -126), (4, -135), (5, -138),
    (7, -141), (9, -144), (10, -152), (11, -158), (13, -165),
    (16, -171), (21, -176), (27, -181), (30, -183), (33, -185),
    (38, -185), (42, -183), (47, -181), (51, -178), (53, -176),
    (56, -179), (59, -180), (63, -180), (67, -178), (68, -176),
    (70, -176), (72, -178), (74, -180), (78, -181), (83, -181),
    (86, -180), (88, -178), (90, -180), (94, -184), (97, -185),
    (101, -186), (104, -186), (108, -185), (113, -183), (117, -180),
    (121, -176), (123, -174), (127, -175), (132, -175), (135, -174),
    (138, -171), (141, -168), (142, -166), (145, -165), (148, -163),
    (150, -160), (152, -157), (153, -153), (155, -152), (158, -151),
    (161, -148), (162, -144), (162, -140), (166, -135), (168, -132),
    (169, -129), (169, -126), (168, -124), (167, -121), (166, -120),
    (166, -118), (170, -114), (172, -111), (174, -107), (175, -104),
    (175, -98), (176, -96), (177, -93), (178, -91), (180, -87),
    (183, -85), (186, -83), (187, -82), (186, -80), (184, -79),
    (181, -77), (179, -75), (178, -73), (178, -71), (180, -66),
    (182, -60), (182, -56), (180, -51), (178, -48), (181, -43),
    (186, -41), (192, -39), (195, -35), (198, -29), (199, -23),
    (203, -21), (207, -18), (211, -13), (213, -7), (214, -2),
    (214, 4), (217, 7), (220, 11), (222, 16), (223, 19),
    (223, 23), (221, 27), (218, 31), (217, 33), (219, 36),
    (221, 40), (222, 44), (222, 49), (220, 53), (220, 56),
    (224, 59), (226, 61), (227, 63), (226, 64), (221, 67),
    (221, 72), (221, 78), (218, 83), (215, 86), (212, 88),
    (213, 93), (214, 99), (212, 103), (209, 107), (205, 109),
    (199, 111), (195, 111), (198, 116), (200, 120), (204, 125),
    (210, 131), (217, 137), (224, 143), (235, 149), (244, 153),
    (254, 155), (258, 156), (262, 158), (263, 159), (263, 160),
    (261, 164), (258, 166), (252, 168), (245, 169), (235, 170),
    (223, 170), (215, 169), (204, 167), (195, 165), (184, 160),
    (173, 155), (166, 149), (160, 146), (159, 144), (156, 144),
    (153, 145), (150, 146), (147, 145), (149, 147), (149, 151),
    (146, 156), (142, 161), (138, 164), (133, 165), (129, 165),
    (125, 163), (119, 161), (117, 160), (114, 163), (111, 166),
    (107, 168), (103, 168), (98, 166), (93, 163), (90, 160),
    (86, 163), (82, 166), (78, 168), (75, 169), (71, 168),
    (66, 165), (63, 163), (62, 161), (58, 163), (55, 165),
    (48, 165), (43, 164), (39, 162), (35, 159), (32, 155),
    (31, 151), (30, 149), (27, 151), (24, 152), (22, 153),
    (19, 153), (16, 152), (13, 153), (6, 159), (-1, 163),
    (-11, 168), (-18, 171), (-27, 174), (-38, 176), (-45, 177),
    (-53, 178), (-64, 177), (-72, 176), (-77, 174), (-81, 172),
    (-82, 170), (-82, 168), (-80, 166), (-75, 164), (-68, 162),
    (-64, 162), (-59, 159), (-52, 154), (-45, 150), (-37, 144),
    (-31, 137), (-26, 130), (-21, 123), (-21, 117), (-23, 115),
    (-27, 114), (-33, 111), (-37, 106), (-38, 102), (-38, 95),
    (-40, 94), (-42, 92), (-44, 91), (-48, 93), (-53, 98),
    (-56, 100), (-58, 101), (-61, 100), (-64, 98), (-66, 93),
    (-67, 86), (-70, 86), (-71, 86), (-72, 85), (-74, 84),
    ]
plotPoly(points, True, pencolor=(0.27, 0.15, 0.17),
         fillcolor=(1.0, 1.0, 1.0), width=2)

# 沸羊羊脸
points = [
    (41, 69), (36, 72), (30, 76), (26, 79), (22, 80),
    (20, 81), (16, 84), (13, 87), (11, 90), (9, 93),
    (7, 93), (5, 92), (2, 90), (0, 85), (-1, 80),
    (-4, 76), (-8, 72), (-12, 69), (-14, 66), (-14, 63),
    (-13, 58), (-11, 53), (-11, 50), (-13, 46), (-13, 43),
    (-11, 39), (-7, 35), (-4, 31), (-3, 26), (-2, 22),
    (-2, 19), (-4, 15), (-4, 14), (-2, 11), (0, 8),
    (2, 4), (2, -1), (1, -5), (0, -7), (-1, -9),
    (0, -11), (2, -14), (3, -18), (3, -24), (2, -27),
    (1, -31), (-1, -33), (-2, -35), (0, -37), (2, -39),
    (4, -42), (8, -46), (10, -48), (13, -50), (18, -53),
    (24, -55), (34, -58), (45, -60), (59, -61), (70, -62),
    (85, -62), (94, -61), (103, -59), (112, -57), (120, -54),
    (129, -51), (136, -47), (137, -46), (137, -45), (135, -44),
    (134, -43), (134, -39), (136, -36), (138, -34), (138, -33),
    (135, -31), (134, -28), (133, -24), (134, -21), (138, -18),
    (141, -16), (143, -15), (142, -11), (141, -7), (142, -4),
    (143, -1), (146, 1), (148, 3), (150, 3), (152, 2),
    (154, 2), (154, 4), (153, 12), (154, 16), (155, 20),
    (158, 25), (160, 28), (161, 29), (161, 31), (158, 33),
    (155, 38), (153, 42), (152, 45), (153, 49), (154, 51),
    (155, 52), (153, 53), (150, 56), (147, 59), (143, 64),
    (140, 71), (140, 75), (136, 76), (132, 77), (127, 80),
    (123, 83), (120, 86), (118, 89), (116, 93), (115, 96),
    (113, 91), (110, 87), (107, 83), (103, 80), (101, 77),
    (98, 75), (96, 75), (96, 78), (97, 81), (98, 84),
    (95, 81), (92, 76), (88, 73), (83, 70), (81, 68),
    (78, 67), (79, 73), (80, 77), (77, 73), (73, 68),
    (70, 64), (67, 60), (64, 58), (62, 56), (60, 56),
    (59, 63), (59, 69), (56, 66), (53, 64), (52, 63),
    (49, 65), (46, 69), (43, 73), (42, 74),
    ]
plotPoly(points, True, pencolor=(0.24, 0.22, 0.21),
         fillcolor=(0.79, 0.57, 0.34), width=2)

# 美羊羊脸
points = [
    (-93, 29), (-101, 26), (-112, 24), (-123, 20), (-134, 16),
    (-140, 14), (-147, 12), (-146, 16), (-144, 19), (-138, 26),
    (-146, 22), (-152, 19), (-159, 15), (-164, 13), (-167, 12),
    (-166, 14), (-168, 14), (-169, 6), (-170, 3), (-173, -1),
    (-176, -5), (-180, -7), (-179, -9), (-178, -12), (-177, -14),
    (-177, -16), (-178, -18), (-180, -22), (-181, -24), (-184, -26),
    (-184, -28), (-181, -30), (-179, -34), (-177, -39), (-177, -51),
    (-170, -52), (-168, -53), (-166, -55), (-166, -58), (-166, -65),
    (-162, -67), (-159, -70), (-157, -73), (-157, -76), (-158, -77),
    (-160, -81), (-160, -83), (-158, -85), (-157, -87), (-157, -89),
    (-158, -92), (-159, -93), (-155, -96), (-149, -99), (-143, -101),
    (-135, -103), (-125, -104), (-116, -105), (-108, -105), (-98, -104),
    (-88, -102), (-80, -100), (-72, -98), (-63, -95), (-55, -91),
    (-49, -87), (-43, -82), (-39, -78), (-35, -73), (-34, -70),
    (-36, -66), (-37, -62), (-37, -57), (-34, -55), (-33, -54),
    (-32, -52), (-33, -48), (-34, -44), (-33, -42), (-32, -35),
    (-28, -35), (-31, -33), (-33, -30), (-35, -25), (-36, -23),
    (-36, -20), (-34, -15), (-32, -12), (-30, -9), (-32, -7),
    (-34, -3), (-37, 1), (-36, 7), (-35, 12), (-33, 14),
    (-33, 16), (-38, 17), (-42, 20), (-45, 23), (-47, 27),
    (-47, 28), (-48, 29), (-52, 28), (-56, 28), (-60, 30),
    (-63, 31), (-66, 33), (-72, 29), (-79, 25), (-85, 23),
    (-91, 21), (-96, 19), (-104, 17), (-108, 16), (-104, 20),
    (-98, 25),
    ]
plotPoly(points, True, pencolor=(0.42, 0.37, 0.37),
         fillcolor=(0.99, 0.78, 0.66), width=2)

# 美羊羊围巾
points = [
    (-156, -96), (-150, -99), (-143, -101), (-134, -103), (-126, -104),
    (-117, -105), (-106, -105), (-98, -104), (-92, -103), (-84, -101),
    (-77, -99), (-76, -100), (-77, -102), (-81, -105), (-87, -108),
    (-94, -110), (-101, -112), (-113, -113), (-125, -113), (-138, -110),
    (-143, -108), (-148, -106), (-152, -105), (-153, -102), (-154, -99),
    ]
plotPoly(points, True, pencolor=(0.25, 0.01, 0.0),
         fillcolor=(1.0, 0.65, 0.71), width=2)

# 美羊羊围巾
points = [
    (-137, -103), (-126, -104), (-128, -120), (-128, -143), (-131, -163),
    (-141, -163), (-141, -135), (-138, -119), (-137, -109),
    ]
plotPoly(points, True, pencolor=(0.25, 0.01, 0.0),
         fillcolor=(1.0, 0.65, 0.71), width=2)

# 美羊羊胳膊
points = [
    (-160, -94), (-162, -96), (-164, -99), (-165, -103), (-165, -106),
    (-164, -112), (-162, -117), (-159, -122), (-156, -127), (-153, -129),
    (-148, -131), (-143, -133), (-140, -134), (-138, -135), (-135, -138),
    (-132, -141), (-130, -143), (-128, -143), (-122, -143), (-113, -142),
    (-110, -139), (-109, -136), (-108, -134), (-108, -132), (-111, -131),
    (-114, -130), (-118, -130), (-114, -129), (-113, -127), (-112, -126),
    (-112, -124), (-114, -122), (-117, -121), (-126, -122), (-130, -122),
    (-132, -123), (-134, -124), (-136, -124), (-139, -122), (-143, -120),
    (-146, -118), (-149, -117), (-150, -113), (-151, -108), (-153, -102),
    (-154, -99), (-156, -96), (-158, -95), (-159, -94),
    ]
plotPoly(points, True, pencolor=(0.3, 0.12, 0.03),
         fillcolor=(1.0, 0.78, 0.72), width=2)

# 美羊羊胳膊
points = [
    (-67, -98), (-61, -100), (-57, -102), (-53, -105), (-51, -107),
    (-48, -109), (-42, -109), (-36, -109), (-37, -116), (-40, -122),
    (-46, -121), (-51, -120), (-55, -119), (-59, -117), (-62, -115),
    (-66, -112), (-68, -111), (-68, -108), (-69, -104), (-71, -99),
    (-69, -98),
    ]
plotPoly(points, True, pencolor=(0.3, 0.12, 0.03),
         fillcolor=(1.0, 0.78, 0.72), width=2)

# 美羊羊的脚
points = [
    (-120, -136), (-123, -140), (-128, -143), (-130, -145), (-134, -150),
    (-136, -156), (-137, -161), (-136, -168), (-134, -173), (-132, -179),
    (-128, -184), (-124, -187), (-120, -189), (-116, -189), (-111, -187),
    (-107, -184), (-103, -181), (-100, -176), (-98, -171), (-97, -165),
    (-96, -162), (-96, -155), (-97, -150), (-99, -146), (-101, -143),
    (-103, -141), (-107, -139), (-109, -139), (-111, -138), (-116, -138),
    (-118, -137), (-121, -138), (-119, -136),
    ]
plotPoly(points, True, pencolor=(0.45, 0.25, 0.23),
         fillcolor=(1.0, 0.5, 0.66), width=2)

# 美羊羊的脚
points = [
    (-110, -139), (-114, -139), (-117, -140), (-121, -144), (-125, -148),
    (-128, -152), (-130, -157), (-131, -162), (-132, -168), (-133, -175),
    (-133, -178),
    ]
plotLine(points, pencolor=(0.45, 0.25, 0.23), width=2)

# 美羊羊的脚
points = [
    (-66, -137), (-71, -137), (-76, -138), (-80, -139), (-84, -141),
    (-88, -146), (-91, -151), (-93, -156), (-94, -160), (-94, -165),
    (-93, -171), (-92, -176), (-89, -180), (-86, -183), (-82, -185),
    (-78, -186), (-75, -186), (-70, -185), (-65, -181), (-61, -177),
    (-57, -172), (-54, -167), (-52, -163), (-51, -158), (-51, -151),
    (-53, -147), (-54, -144), (-58, -141), (-61, -139), (-64, -137),
    ]
plotPoly(points, True, pencolor=(0.45, 0.25, 0.23),
         fillcolor=(1.0, 0.5, 0.66), width=2)

# 美羊羊的脚
points = [
    (-64, -138), (-69, -139), (-74, -141), (-79, -144), (-83, -148),
    (-86, -153), (-88, -157), (-90, -162), (-91, -166), (-92, -173),
    (-92, -176),
    ]
plotLine(points, pencolor=(0.45, 0.25, 0.23), width=2)

# 冰淇淋
points = [
    (-44, -135), (-43, -136), (-41, -135), (-33, -129), (-27, -123),
    (1, -97), (2, -96), (-2, -95), (-7, -93), (-11, -90),
    (-15, -87), (-18, -83), (-21, -81), (-23, -78), (-23, -83),
    (-29, -96), (-32, -105), (-42, -129),
    ]
plotPoly(points, True, pencolor=(0.8, 0.59, 0.27),
         fillcolor=(1.0, 0.69, 0.55), width=2)

# 冰淇淋
points = [
    (-22, -78), (-19, -83), (-15, -87), (-10, -91), (-6, -93),
    (-1, -95), (3, -96), (8, -95), (14, -92), (19, -87),
    (23, -83), (25, -80), (26, -76), (27, -70), (26, -67),
    (25, -65), (21, -64), (17, -63), (14, -61), (11, -59),
    (8, -56), (6, -54), (4, -51), (3, -50), (-1, -50),
    (-8, -51), (-12, -52), (-16, -55), (-19, -59), (-21, -65),
    (-22, -68), (-23, -73),
    ]
plotPoly(points, True, pencolor=(0.79, 0.57, 0.62),
         fillcolor=(0.99, 0.66, 0.74), width=2)

# 冰淇淋
points = [
    (4, -52), (7, -56), (11, -60), (15, -62), (20, -64),
    (25, -65), (30, -62), (36, -58), (41, -53), (43, -49),
    (45, -45), (44, -40), (40, -34), (35, -31), (30, -27),
    (26, -25), (20, -25), (14, -26), (9, -30), (5, -34),
    (4, -39), (3, -46),
    ]
plotPoly(points, True, pencolor=(0.87, 0.92, 0.82),
         fillcolor=(0.77, 0.9, 0.8), width=2)

# 美羊羊脸旁线条
points = [
    (-35, -69), (-33, -72), (-31, -74), (-28, -76), (-26, -76),
    (-24, -75), (-23, -72),
    ]
plotLine(points, pencolor=(0.28, 0.18, 0.11), width=2)

# 美羊羊脸旁线条
points = [
    (-1, -34), (-2, -35), (0, -37), (1, -41), (0, -44),
    (-1, -49),
    ]
plotLine(points, pencolor=(0.28, 0.18, 0.11), width=2)

# 沸羊羊胸口颜色
points = [
    (7, -97), (8, -102), (12, -106), (18, -109), (24, -111),
    (30, -113), (36, -116), (40, -117), (45, -119), (49, -119),
    (54, -123), (58, -126), (60, -128), (63, -126), (66, -123),
    (67, -121), (69, -122), (70, -129), (71, -135), (72, -136),
    (73, -136), (75, -132), (77, -129), (80, -126), (83, -124),
    (85, -122), (86, -119), (87, -117), (88, -115), (88, -108),
    (87, -109), (85, -111), (82, -114), (79, -120), (78, -122),
    (75, -120), (73, -113), (72, -108), (71, -106), (70, -106),
    (68, -109), (65, -113), (62, -118), (60, -119), (56, -116),
    (53, -113), (48, -110), (43, -105), (41, -102), (39, -98),
    (37, -94), (36, -98), (37, -104), (39, -109), (40, -112),
    (38, -113), (35, -111), (31, -108), (27, -105), (24, -102),
    (21, -99), (18, -95), (17, -92), (16, -96), (18, -100),
    (20, -103), (21, -105), (18, -105), (14, -103), (10, -100),
    ]
plotPoly(points, True, pencolor=(0.86, 0.86, 0.86),
         fillcolor=(0.86, 0.86, 0.86), width=1)

# 沸羊羊右胳膊
points = [
    (-34, -72), (-36, -75), (-37, -77), (-39, -79), (-34, -78),
    (-30, -77), (-26, -76), (-24, -74), (-23, -73), (-26, -74),
    (-27, -75), (-30, -74), (-32, -73),
    ]
plotPoly(points, True, pencolor=(0.4, 0.28, 0.24),
         fillcolor=(0.76, 0.56, 0.35), width=1)

# 沸羊羊左胳膊
points = [
    (164, -47), (162, -50), (160, -52), (158, -53), (153, -53),
    (151, -56), (150, -59), (148, -63), (146, -66), (144, -69),
    (142, -72), (141, -76), (140, -80), (138, -83), (132, -85),
    (127, -85), (124, -82), (121, -80), (118, -78), (114, -78),
    (108, -77), (105, -76), (103, -75), (100, -75), (97, -76),
    (96, -79), (96, -81), (97, -84), (99, -86), (105, -88),
    (98, -88), (91, -88), (88, -89), (87, -90), (86, -91),
    (86, -92), (87, -94), (89, -96), (92, -98), (105, -100),
    (91, -98), (88, -98), (87, -100), (87, -101), (88, -103),
    (90, -105), (94, -107), (105, -109), (92, -107), (90, -107),
    (89, -108), (89, -110), (91, -111), (94, -113), (96, -114),
    (101, -116), (105, -116), (112, -115), (118, -114), (122, -112),
    (125, -109), (131, -108), (142, -107), (150, -106), (155, -104),
    (158, -101), (160, -97), (162, -93), (164, -90), (172, -79),
    (175, -74), (178, -71), (180, -66), (181, -62), (182, -60),
    (182, -57), (181, -54), (179, -50), (178, -48), (177, -47),
    (174, -48), (167, -48), (165, -47),
    ]
plotPoly(points, True, pencolor=(0.36, 0.31, 0.25),
         fillcolor=(0.73, 0.55, 0.35), width=2)

# 沸羊羊右脚
points = [
    (36, -119), (29, -120), (21, -123), (15, -127), (12, -132),
    (11, -139), (10, -144), (10, -150), (11, -155), (12, -162),
    (14, -167), (18, -173), (23, -179), (29, -183), (34, -185),
    (38, -185), (42, -183), (47, -181), (52, -177), (56, -172),
    (58, -168), (60, -163), (61, -156), (61, -150), (60, -143),
    (58, -137), (54, -132), (51, -126), (47, -123), (42, -121),
    (40, -120),
    ]
plotPoly(points, True, pencolor=(0.39, 0.35, 0.31),
         fillcolor=(0.92, 0.64, 0.37), width=2)

# 沸羊羊右脚
points = [
    (27, -122), (33, -122), (38, -124), (42, -127), (46, -132),
    (50, -138), (52, -144), (54, -149), (54, -156), (54, -162),
    (53, -168), (51, -173), (49, -176), (47, -179), (44, -181),
    (42, -183), (40, -184),
    ]
plotLine(points, pencolor=(0.39, 0.35, 0.31), width=2)

# 沸羊羊右脚
points = [
    (44, -123), (50, -129), (53, -136), (56, -142), (58, -150),
    (58, -156), (58, -163), (57, -167), (55, -172), (53, -176),
    ]
plotLine(points, pencolor=(0.39, 0.35, 0.31), width=2)

# 沸羊羊左脚
points = [
    (100, -121), (94, -122), (88, -124), (84, -127), (81, -131),
    (79, -136), (78, -141), (77, -143), (77, -149), (78, -155),
    (79, -161), (81, -167), (84, -172), (87, -177), (91, -181),
    (95, -184), (100, -186), (105, -186), (111, -184), (116, -181),
    (120, -177), (123, -172), (126, -168), (128, -160), (128, -152),
    (127, -144), (125, -139), (122, -134), (120, -130), (117, -127),
    (114, -125), (109, -122), (104, -121),
    ]
plotPoly(points, True, pencolor=(0.39, 0.35, 0.31),
         fillcolor=(0.92, 0.64, 0.37), width=2)

# 沸羊羊左脚
points = [
    (100, -123), (105, -125), (110, -129), (114, -133), (117, -139),
    (119, -144), (120, -149), (121, -156), (121, -163), (120, -167),
    (118, -172), (116, -176), (114, -179), (111, -182), (108, -185),
    ]
plotLine(points, pencolor=(0.39, 0.35, 0.31), width=2)

# 沸羊羊左脚
points = [
    (109, -124), (114, -128), (118, -133), (121, -138), (123, -144),
    (125, -149), (125, -159), (124, -167), (123, -171), (121, -176),
    ]
plotLine(points, pencolor=(0.39, 0.35, 0.31), width=2)

# 沸羊羊胳膊带子
points = [
    (147, -65), (156, -71), (163, -74), (172, -78), (170, -84),
    (168, -88), (165, -90), (163, -89), (155, -85), (149, -81),
    (143, -76), (141, -76), (143, -71), (145, -67),
    ]
plotPoly(points, True, pencolor=(0.18, 0.21, 0.29),
         fillcolor=(0.0, 0.22, 0.5), width=2)

# 沸羊羊胳膊带子
points = [
    (171, -81), (176, -79), (181, -78), (185, -81), (186, -81),
    (186, -82), (183, -84), (181, -86), (179, -86), (176, -84),
    (174, -84), (171, -83), (171, -84), (173, -86), (174, -89),
    (177, -92), (177, -95), (176, -97), (174, -97), (172, -96),
    (169, -94), (167, -91), (166, -90), (166, -87), (169, -83),
    ]
plotPoly(points, True, pencolor=(0.18, 0.21, 0.29),
         fillcolor=(0.0, 0.22, 0.5), width=2)

# 美羊羊耳朵
points = [
    (-219, 6), (-224, 4), (-228, 1), (-231, -3), (-233, -5),
    (-236, -9), (-238, -14), (-239, -17), (-242, -19), (-244, -21),
    (-247, -22), (-247, -22), (-247, -23), (-243, -26), (-240, -27),
    (-237, -29), (-231, -30), (-227, -30), (-222, -28), (-217, -26),
    (-212, -23), (-209, -21), (-207, -18), (-206, -14), (-206, -9),
    (-207, -5), (-208, -2), (-210, 1), (-212, 3), (-214, 4),
    (-215, 5), (-217, 6),
    ]
plotPoly(points, True, pencolor=(0.42, 0.33, 0.31),
         fillcolor=(0.99, 0.78, 0.69), width=2)

# 美羊羊头发
points = [
    (-113, 61), (-120, 60), (-127, 58), (-135, 55), (-142, 51),
    (-148, 47), (-152, 44), (-156, 40), (-158, 38), (-154, 39),
    (-144, 39), (-147, 37), (-151, 33), (-156, 28), (-160, 24),
    (-162, 20), (-164, 17), (-166, 15), (-168, 12),
    ]
plotLine(points, pencolor=(0.09, 0.02, 0.02), width=2)

# 美羊羊头发
points = [
    (-56, 46), (-58, 41), (-61, 38), (-63, 35), (-66, 33),
    ]
plotLine(points, pencolor=(0.27, 0.22, 0.18), width=2)

# 美羊羊右蝴蝶结
points = [
    (-220, 54), (-225, 53), (-229, 52), (-233, 50), (-236, 48),
    (-240, 45), (-242, 43), (-243, 40), (-243, 39), (-241, 36),
    (-237, 33), (-234, 32), (-232, 31), (-229, 31), (-227, 29),
    (-225, 26), (-224, 23), (-222, 20), (-219, 17), (-217, 15),
    (-215, 15), (-212, 18), (-208, 23), (-206, 28), (-204, 32),
    (-203, 36), (-202, 39), (-199, 40), (-196, 42), (-194, 45),
    (-193, 47), (-189, 47), (-185, 48), (-180, 51), (-175, 54),
    (-172, 56), (-171, 58), (-170, 59), (-170, 61), (-172, 63),
    (-176, 66), (-179, 68), (-182, 69), (-184, 70), (-184, 73),
    (-186, 77), (-188, 81), (-190, 84), (-192, 86), (-195, 86),
    (-199, 84), (-202, 81), (-205, 77), (-208, 72), (-209, 68),
    (-210, 65), (-213, 64), (-216, 62), (-218, 60), (-219, 57),
    ]
plotPoly(points, True, pencolor=(0.53, 0.22, 0.29),
         fillcolor=(0.99, 0.65, 0.73), width=2)

# 美羊羊右蝴蝶结
points = [
    (-209, 65), (-203, 63), (-199, 59), (-195, 55), (-193, 51),
    (-193, 47),
    ]
plotLine(points, pencolor=(0.53, 0.22, 0.29), width=2)

# 美羊羊右蝴蝶结
points = [
    (-220, 55), (-219, 52), (-217, 49), (-214, 45), (-211, 42),
    (-207, 40), (-204, 39), (-201, 39),
    ]
plotLine(points, pencolor=(0.53, 0.22, 0.29), width=2)

# 美羊羊右蝴蝶结
points = [
    (-238, 45), (-235, 43), (-233, 40), (-233, 37), (-235, 35),
    (-236, 34),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊右蝴蝶结
points = [
    (-231, 33), (-227, 35), (-223, 35), (-220, 33), (-220, 28),
    (-220, 26), (-222, 24), (-223, 23),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊右蝴蝶结
points = [
    (-209, 26), (-211, 26), (-214, 26), (-215, 28), (-216, 31),
    (-214, 33), (-210, 34), (-208, 33), (-207, 31), (-207, 28),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊右蝴蝶结
points = [
    (-226, 50), (-229, 48), (-229, 46), (-228, 44), (-224, 43),
    (-222, 44), (-222, 47), (-223, 49),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊右蝴蝶结
points = [
    (-204, 41), (-203, 44), (-200, 46), (-197, 45), (-196, 44),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊右蝴蝶结
points = [
    (-213, 62), (-212, 60), (-212, 58), (-214, 56), (-216, 56),
    (-218, 57),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊右蝴蝶结
points = [
    (-205, 57), (-207, 56), (-208, 53), (-207, 51), (-205, 50),
    (-202, 50), (-201, 52), (-201, 54), (-202, 56),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊右蝴蝶结
points = [
    (-194, 67), (-197, 66), (-198, 64), (-198, 62), (-197, 60),
    (-195, 59), (-192, 60), (-190, 62), (-190, 64), (-191, 66),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊右蝴蝶结
points = [
    (-208, 69), (-206, 68), (-203, 68), (-201, 69), (-200, 71),
    (-201, 73), (-202, 75), (-204, 77),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊右蝴蝶结
points = [
    (-190, 82), (-192, 80), (-193, 78), (-192, 75), (-190, 74),
    (-187, 73), (-185, 73),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊右蝴蝶结
points = [
    (-186, 50), (-187, 54), (-186, 57), (-183, 58), (-180, 58),
    (-176, 57), (-175, 56),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊左蝴蝶结
points = [
    (-57, 101), (-59, 101), (-62, 99), (-65, 95), (-66, 91),
    (-67, 86), (-68, 83), (-71, 80), (-75, 77), (-77, 75),
    (-79, 72), (-79, 70), (-77, 67), (-73, 65), (-68, 64),
    (-63, 62), (-57, 61), (-54, 61), (-52, 59), (-50, 57),
    (-48, 56), (-44, 55), (-43, 52), (-41, 49), (-38, 44),
    (-35, 40), (-31, 36), (-29, 35), (-28, 34), (-26, 34),
    (-24, 35), (-22, 37), (-20, 41), (-19, 45), (-18, 49),
    (-16, 51), (-13, 52), (-10, 54), (-7, 56), (-6, 57),
    (-5, 59), (-4, 62), (-6, 64), (-7, 66), (-9, 68),
    (-13, 70), (-17, 71), (-21, 72), (-27, 74), (-29, 74),
    (-30, 77), (-32, 79), (-35, 81), (-38, 82), (-41, 83),
    (-41, 85), (-44, 88), (-47, 92), (-51, 96), (-54, 99),
    ]
plotPoly(points, True, pencolor=(0.53, 0.22, 0.29),
         fillcolor=(0.99, 0.65, 0.73), width=2)

# 美羊羊左蝴蝶结
points = [
    (-39, 82), (-43, 81), (-47, 79), (-50, 75), (-53, 70),
    (-54, 66), (-54, 62), (-54, 60),
    ]
plotLine(points, pencolor=(0.53, 0.22, 0.29), width=2)

# 美羊羊左蝴蝶结
points = [
    (-29, 74), (-29, 70), (-31, 66), (-34, 61), (-38, 58),
    (-40, 56), (-44, 55),
    ]
plotLine(points, pencolor=(0.53, 0.22, 0.29), width=2)

# 美羊羊左蝴蝶结
points = [
    (-74, 67), (-70, 70), (-67, 70), (-63, 68), (-61, 65),
    (-61, 63),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊左蝴蝶结
points = [
    (-66, 84), (-61, 85), (-59, 86), (-58, 88), (-58, 91),
    (-60, 93), (-63, 95),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊左蝴蝶结
points = [
    (-57, 84), (-60, 82), (-61, 78), (-60, 75), (-57, 72),
    (-54, 73), (-52, 75), (-51, 78), (-51, 81), (-52, 83),
    (-54, 84),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊左蝴蝶结
points = [
    (-50, 60), (-46, 61), (-43, 61), (-40, 58),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊左蝴蝶结
points = [
    (-44, 73), (-47, 71), (-48, 67), (-46, 65), (-43, 64),
    (-41, 65), (-39, 67), (-39, 70), (-40, 72),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊左蝴蝶结
points = [
    (-37, 79), (-37, 76), (-36, 74), (-34, 73), (-31, 74),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊左蝴蝶结
points = [
    (-22, 71), (-25, 69), (-26, 67), (-25, 65), (-22, 64),
    (-19, 65), (-19, 69),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊左蝴蝶结
points = [
    (-33, 51), (-36, 50), (-37, 47), (-35, 44), (-33, 43),
    (-30, 45), (-29, 48), (-30, 50),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊左蝴蝶结
points = [
    (-22, 45), (-24, 47), (-25, 50), (-24, 53), (-22, 55),
    (-17, 56), (-12, 55),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊左蝴蝶结
points = [
    (-10, 66), (-12, 64), (-12, 61), (-10, 58), (-8, 57),
    ]
plotLine(points, pencolor=(1.0, 0.87, 0.93), width=2)

# 美羊羊右羊角
points = [
    (-285, 70), (-285, 71), (-283, 74), (-278, 77), (-272, 79),
    (-266, 81), (-259, 82), (-253, 82), (-245, 81), (-235, 80),
    (-229, 78), (-224, 76), (-218, 74), (-211, 71), (-209, 70),
    (-210, 66), (-211, 65), (-213, 64), (-216, 63), (-218, 60),
    (-220, 57), (-220, 54), (-222, 54), (-226, 53), (-229, 52),
    (-232, 51), (-235, 49), (-237, 48), (-240, 51), (-244, 54),
    (-248, 57), (-252, 59), (-258, 62), (-264, 64), (-268, 66),
    (-273, 67), (-280, 67), (-283, 68),
    ]
plotPoly(points, True, pencolor=(0.54, 0.42, 0.29),
         fillcolor=(0.98, 0.57, 0.56), width=2)

# 美羊羊右羊角
points = [
    (-249, 59), (-253, 61), (-256, 63), (-261, 65), (-266, 66),
    (-266, 72), (-265, 76), (-263, 80), (-252, 80), (-239, 79),
    (-242, 75), (-245, 71), (-247, 67), (-248, 62),
    ]
plotPoly(points, True, pencolor=(1.0, 0.95, 0.96),
         fillcolor=(1.0, 0.95, 0.96), width=1)

# 美羊羊右羊角
points = [
    (-226, 54), (-222, 55), (-221, 56), (-220, 59), (-218, 61),
    (-215, 64), (-212, 65), (-211, 67), (-210, 69), (-212, 69),
    (-216, 67), (-219, 64), (-222, 61), (-224, 58), (-226, 55),
    ]
plotPoly(points, True, pencolor=(1.0, 0.95, 0.96),
         fillcolor=(1.0, 0.95, 0.96), width=1)

# 美羊羊左羊角
points = [
    (-46, 90), (-40, 93), (-34, 95), (-26, 97), (-19, 98),
    (-13, 99), (-7, 100), (-2, 100), (3, 99), (7, 98),
    (10, 96), (12, 95), (12, 94), (10, 91), (4, 89),
    (-1, 87), (-6, 83), (-12, 80), (-18, 76), (-21, 73),
    (-25, 73), (-29, 74), (-31, 78), (-34, 80), (-37, 81),
    (-40, 82), (-41, 85), (-43, 87),
    ]
plotPoly(points, True, pencolor=(0.54, 0.42, 0.29),
         fillcolor=(0.98, 0.57, 0.56), width=2)

# 美羊羊左羊角
points = [
    (-36, 92), (-32, 90), (-29, 87), (-26, 84), (-23, 80),
    (-22, 76), (-21, 75), (-16, 79), (-13, 81), (-8, 84),
    (-4, 86), (-7, 91), (-9, 94), (-12, 98), (-14, 98),
    (-19, 97), (-23, 96), (-27, 95), (-33, 93),
    ]
plotPoly(points, True, pencolor=(1.0, 0.95, 0.95),
         fillcolor=(1.0, 0.95, 0.95), width=1)

# 沸羊羊头发
points = [
    (7, 110), (6, 108), (6, 104), (7, 98),
    ]
plotLine(points, pencolor=(0.25, 0.14, 0.15), width=2)

# 沸羊羊头发阴影
points = [
    (19, 96), (24, 84), (27, 82), (30, 79), (31, 78),
    (34, 77), (36, 76), (40, 74), (41, 75), (42, 76),
    (45, 73), (48, 69), (51, 67), (52, 66), (55, 68),
    (59, 72), (61, 68), (62, 63), (63, 60), (67, 64),
    (70, 68), (74, 73), (78, 77), (81, 80), (82, 83),
    (82, 87), (79, 83), (76, 78), (72, 74), (69, 70),
    (66, 68), (65, 72), (64, 78), (62, 82), (60, 78),
    (57, 75), (54, 73), (52, 72), (49, 76), (46, 79),
    (42, 82), (39, 86), (37, 90), (37, 85), (37, 79),
    (33, 80), (30, 82), (27, 85), (24, 89), (22, 93),
    ]
plotPoly(points, True, pencolor=(0.84, 0.84, 0.84),
         fillcolor=(0.84, 0.84, 0.84), width=1)

# 沸羊羊右羊角
points = [
    (-20, 123), (-22, 126), (-26, 131), (-30, 136), (-35, 142),
    (-43, 148), (-52, 155), (-62, 160), (-71, 163), (-76, 164),
    (-80, 166), (-82, 169), (-82, 170), (-80, 173), (-76, 175),
    (-69, 177), (-57, 178), (-44, 177), (-33, 175), (-26, 173),
    (-22, 172), (-16, 170), (-9, 167), (-2, 163), (4, 160),
    (9, 157), (14, 153), (15, 152), (12, 152), (9, 149),
    (6, 144), (5, 139), (4, 138), (-8, 138), (-12, 136),
    (-16, 133), (-18, 130), (-20, 126),
    ]
plotPoly(points, True, pencolor=(0.19, 0.13, 0.05),
         fillcolor=(0.56, 0.41, 0.25), width=2)

# 沸羊羊右羊角
points = [
    (-53, 177), (-58, 174), (-61, 170), (-62, 167), (-62, 163),
    (-61, 160),
    ]
plotLine(points, pencolor=(0.19, 0.13, 0.05), width=2)

# 沸羊羊右羊角
points = [
    (-25, 172), (-29, 170), (-34, 167), (-37, 163), (-40, 157),
    (-41, 152), (-42, 148),
    ]
plotLine(points, pencolor=(0.19, 0.13, 0.05), width=2)

# 沸羊羊右羊角
points = [
    (5, 159), (-2, 156), (-8, 152), (-12, 149), (-17, 143),
    (-21, 138), (-24, 134), (-25, 130),
    ]
plotLine(points, pencolor=(0.19, 0.13, 0.05), width=2)

# 沸羊羊左羊角
points = [
    (158, 143), (164, 148), (171, 153), (180, 158), (189, 162),
    (198, 165), (207, 167), (219, 169), (232, 170), (243, 169),
    (251, 167), (258, 165), (261, 161), (262, 160), (262, 159),
    (260, 157), (254, 156), (247, 154), (240, 152), (233, 148),
    (226, 145), (223, 142), (217, 138), (211, 133), (207, 129),
    (204, 126), (201, 122), (198, 117), (196, 112), (194, 110),
    (191, 110), (190, 109), (188, 109), (186, 110), (185, 111),
    (185, 114), (184, 116), (181, 118), (179, 119), (175, 118),
    (173, 116), (171, 115), (170, 115), (170, 118), (169, 120),
    (167, 123), (166, 125), (164, 126), (162, 127), (160, 127),
    (159, 128), (160, 132), (160, 139), (160, 143),
    ]
plotPoly(points, True, pencolor=(0.19, 0.13, 0.05),
         fillcolor=(0.56, 0.41, 0.25), width=2)

# 沸羊羊左羊角
points = [
    (175, 155), (180, 153), (184, 149), (189, 145), (193, 141),
    (197, 136), (200, 131), (203, 125),
    ]
plotLine(points, pencolor=(0.19, 0.13, 0.05), width=2)

# 沸羊羊左羊角
points = [
    (206, 167), (210, 164), (214, 160), (217, 155), (219, 150),
    (220, 143), (220, 141),
    ]
plotLine(points, pencolor=(0.19, 0.13, 0.05), width=2)

# 沸羊羊左羊角
points = [
    (235, 170), (238, 167), (240, 164), (241, 159), (241, 156),
    (240, 153),
    ]
plotLine(points, pencolor=(0.19, 0.13, 0.05), width=2)

# 沸羊羊耳朵
points = [
    (196, 88), (200, 88), (204, 87), (208, 83), (212, 77),
    (213, 73), (215, 70), (217, 68), (221, 66), (224, 64),
    (227, 63), (227, 62), (226, 61), (223, 59), (220, 56),
    (214, 55), (210, 54), (204, 54), (199, 56), (194, 59),
    (191, 61), (189, 64), (187, 67), (185, 72), (185, 76),
    (187, 80), (189, 83), (192, 86),
    ]
plotPoly(points, True, pencolor=(0.37, 0.3, 0.22),
         fillcolor=(0.78, 0.56, 0.37), width=2)

# 美羊羊眉毛
points = [
    (-156, 6), (-154, 9), (-151, 11), (-148, 12), (-144, 13),
    (-140, 13), (-133, 12), (-128, 11), (-125, 9), (-128, 9),
    (-132, 10), (-137, 11), (-140, 11), (-146, 10), (-151, 8),
    (-154, 7),
    ]
plotPoly(points, True, pencolor=(0.34, 0.15, 0.07),
         fillcolor=(0.34, 0.15, 0.07), width=0)

# 美羊羊眉毛
points = [
    (-79, 11), (-76, 15), (-71, 17), (-66, 18), (-62, 19),
    (-57, 19), (-52, 18), (-48, 16), (-47, 14), (-52, 15),
    (-57, 16), (-63, 16), (-67, 15), (-74, 13), (-76, 12),
    ]
plotPoly(points, True, pencolor=(0.34, 0.15, 0.07),
         fillcolor=(0.34, 0.15, 0.07), width=0)

# 美羊羊右眼
points = [
    (-144, -8), (-150, -12), (-154, -17), (-155, -21), (-156, -27),
    (-155, -32), (-152, -37), (-148, -41), (-143, -43), (-139, -44),
    (-134, -44), (-130, -43), (-125, -40), (-121, -35), (-118, -31),
    (-117, -28), (-117, -24), (-119, -18), (-122, -13), (-126, -9),
    (-131, -7), (-136, -6), (-141, -7),
    ]
plotPoly(points, True, pencolor=(0.21, 0.09, 0.05),
         fillcolor=(1.0, 0.99, 1.0), width=2)

# 美羊羊右眼
points = [
    (-131, -14), (-135, -15), (-138, -18), (-140, -22), (-140, -24),
    (-138, -28), (-135, -31), (-132, -32), (-128, -32), (-124, -30),
    (-122, -27), (-121, -24), (-121, -21), (-122, -18), (-124, -16),
    (-128, -14),
    ]
plotPoly(points, True, pencolor=(0.0, 0.01, 0.01),
         fillcolor=(0.0, 0.01, 0.01), width=1)

turtle.up()
turtle.goto((-127, -20))
turtle.down()
turtle.pencolor((1.0, 1.0, 0.96))
turtle.dot(5)

# 美羊羊右睫毛
points = [
    (-155, -19), (-160, -20),
    ]
plotLine(points, pencolor=(0.0, 0.0, 0.0), width=2)

# 美羊羊右睫毛
points = [
    (-152, -14), (-156, -11),
    ]
plotLine(points, pencolor=(0.0, 0.0, 0.0), width=2)

# 美羊羊右睫毛
points = [
    (-146, -9), (-148, -6),
    ]
plotLine(points, pencolor=(0.0, 0.0, 0.0), width=2)

# 美羊羊左眼
points = [
    (-64, 0), (-70, -1), (-75, -5), (-78, -9), (-80, -13),
    (-81, -16), (-81, -20), (-80, -25), (-77, -30), (-73, -34),
    (-68, -37), (-64, -38), (-60, -38), (-56, -37), (-52, -35),
    (-48, -32), (-45, -29), (-43, -25), (-42, -21), (-42, -17),
    (-43, -12), (-47, -8), (-51, -4), (-54, -2), (-58, -1),
    (-62, 0),
    ]
plotPoly(points, True, pencolor=(0.21, 0.09, 0.05),
         fillcolor=(1.0, 0.99, 1.0), width=2)

# 美羊羊左眼
points = [
    (-57, -8), (-60, -9), (-63, -12), (-65, -16), (-65, -17),
    (-64, -21), (-61, -24), (-58, -25), (-56, -26), (-54, -26),
    (-50, -24), (-48, -22), (-46, -19), (-46, -16), (-47, -13),
    (-49, -10), (-52, -9), (-54, -8),
    ]
plotPoly(points, True, pencolor=(0.0, 0.0, 0.0),
         fillcolor=(0.0, 0.0, 0.0), width=1)

turtle.up()
turtle.goto((-52, -13))
turtle.down()
turtle.pencolor((0.99, 0.98, 0.97))
turtle.dot(5)

# 美羊羊左睫毛
points = [
    (-55, -2), (-54, 2),
    ]
plotLine(points, pencolor=(0.0, 0.0, 0.0), width=2)

# 美羊羊左睫毛
points = [
    (-48, -6), (-45, -1),
    ]
plotLine(points, pencolor=(0.0, 0.0, 0.0), width=2)

# 美羊羊左睫毛
points = [
    (-44, -11), (-40, -8),
    ]
plotLine(points, pencolor=(0.35, 0.31, 0.2), width=2)

# 美羊羊鼻子
points = [
    (-85, -48), (-88, -49), (-91, -51), (-93, -53), (-93, -55),
    (-91, -58), (-87, -59), (-83, -59), (-79, -58), (-77, -56),
    (-76, -55), (-75, -54), (-75, -53), (-76, -51), (-78, -49),
    (-82, -48),
    ]
plotPoly(points, True, pencolor=(0.05, 0.0, 0.0),
         fillcolor=(0.05, 0.0, 0.0), width=1)

turtle.up()
turtle.goto((-79, -52))
turtle.down()
turtle.pencolor((1.0, 0.97, 0.9))
turtle.dot(5)

# 美羊羊嘴巴
points = [
    (-115, -73), (-111, -76), (-107, -78), (-101, -80), (-90, -80),
    (-83, -79), (-78, -78), (-74, -76), (-71, -74), (-70, -73),
    (-70, -71),
    ]
plotLine(points, pencolor=(0.52, 0.29, 0.18), width=2)

# 沸羊羊脸旁线条
points = [
    (136, -46), (139, -48), (144, -49), (147, -50), (150, -52),
    (153, -53),
    ]
plotLine(points, pencolor=(0.35, 0.31, 0.2), width=2)

# 沸羊羊眉毛
points = [
    (-2, 68), (-5, 58), (35, 45), (38, 46), (41, 54),
    (40, 56),
    ]
plotPoly(points, True, pencolor=(0.01, 0.01, 0.0),
         fillcolor=(0.01, 0.01, 0.0), width=1)

# 沸羊羊眉毛
points = [
    (80, 56), (81, 48), (83, 45), (87, 45), (123, 57),
    (125, 58), (123, 67), (120, 68),
    ]
plotPoly(points, True, pencolor=(0.01, 0.01, 0.01),
         fillcolor=(0.01, 0.01, 0.01), width=1)

# 沸羊羊眼睛
points = [
    (2, 12), (6, 9), (11, 7), (15, 6), (18, 6),
    (23, 7), (27, 9), (31, 12), (34, 14), (36, 16),
    ]
plotLine(points, pencolor=(0.01, 0.01, 0.01), width=3)

# 沸羊羊眼睛
points = [
    (86, 17), (89, 13), (93, 9), (98, 6), (103, 4),
    (109, 4), (113, 5), (117, 6), (120, 8),
    ]
plotLine(points, pencolor=(0.01, 0.01, 0.01), width=3)

# 沸羊羊鼻子
points = [
    (46, 10), (41, 9), (36, 7), (33, 5), (32, 1),
    (32, 0), (33, -3), (36, -6), (39, -8), (45, -9),
    (51, -9), (56, -8), (59, -7), (61, -5), (63, -2),
    (63, 1), (62, 4), (59, 6), (56, 8), (52, 9),
    (49, 10),
    ]
plotPoly(points, True, pencolor=(0.01, 0.02, 0.05),
         fillcolor=(0.01, 0.02, 0.05), width=1)

# 沸羊羊鼻子
points = [
    (40, 7), (37, 6), (35, 5), (34, 4), (34, 3),
    (36, 1), (38, 0), (41, 0), (43, 2), (43, 3),
    (42, 5),
    ]
plotPoly(points, True, pencolor=(1.0, 1.0, 0.98),
         fillcolor=(1.0, 1.0, 0.98), width=0)

# 沸羊羊嘴巴
points = [
    (55, -28), (52, -32), (50, -37), (49, -41), (46, -45),
    (43, -50), (40, -55), (39, -58), (40, -62), (42, -63),
    (45, -63), (49, -62), (53, -60), (58, -58), (63, -55),
    (67, -52), (69, -48), (71, -42), (73, -36), (74, -29),
    (74, -27), (73, -25), (71, -25), (67, -26), (61, -27),
    ]
plotPoly(points, True, pencolor=(0.27, 0.05, 0.0),
         fillcolor=(0.95, 0.7, 0.56), width=2)

# 沸羊羊嘴巴
points = [
    (47, -28), (48, -33), (49, -35), (49, -40), (51, -36),
    (52, -32), (54, -30), (55, -28),
    ]
plotPoly(points, True, pencolor=(0.3, 0.09, 0.0),
         fillcolor=(0.47, 0.26, 0.13), width=2)

# 沸羊羊嘴巴
points = [
    (34, -23), (37, -25), (41, -27), (47, -28),
    ]
plotLine(points, pencolor=(0.3, 0.09, 0.0), width=2)

# 沸羊羊嘴巴
points = [
    (78, -15), (81, -18), (83, -20), (85, -24),
    ]
plotLine(points, pencolor=(0.3, 0.09, 0.0), width=2)

# 隐藏海龟
turtle.hideturtle()
turtle.done()

你可能感兴趣的:(python,开发语言)