2022世界杯La‘eeb肖像,python海龟实现啦

news2024/12/25 0:23:51

在这里插入图片描述

努力是为了不平庸~

学习的最大理由是想摆脱平庸,早一天就多一份人生的精彩;迟一天就多一天平庸的困扰。

 

目录

 一、La'eeb的身世

 二、开始作画

1、准备阶段

2、常用指令 

3、开始做画 


 一、La'eeb的身世

         2022年卡塔尔世界杯(英语:FIFA World Cup Qatar 2022)是第二十二届世界杯足球赛,是历史上首次在卡塔尔和中东国家境内举行、也是第二次在亚洲举行的世界杯足球赛。除此之外,卡塔尔世界杯还是首次在北半球冬季举行、首次由从未进过世界杯决赛圈的国家举办的世界杯足球赛。

        2022年世界杯将于11月21日至12月18日在中东国家卡塔尔举办,这也是世界杯历史上首次在冬季举办比赛。2022年4月1日,卡塔尔世界杯进行了分组抽签仪式,并且发布了本届世界杯的吉祥物“La'eeb”,一个调皮可爱的虚拟形象。而早在2019年9月,2022年卡塔尔世界杯官方Logo就已经正式揭晓,设计灵感依旧来自于世界杯最高荣誉“大力神杯”。

        2022年卡塔尔世界杯吉祥物“La'eeb”的设计灵感源自阿拉伯人标志性的长袍,设计团队巧妙地抓住了白色和头饰的特色,并对其做了拟人化处理,可爱的笑脸赋予吉祥物青春活力,可以随意飞翔的能力使其成为一个有趣的动画形象,犹如阿拉丁神灯里的飞毯一样,将足球的快乐带给所有人。即便是其他国家的观众也能通过“La'eeb”轻而易举地捕捉到阿拉伯文化的特点。

        “La'eeb”的名字来自阿拉伯语,意思为“超级天才球员”。官方表示,La'eeb是一个虚拟形象,拥有随意变化的形象,球迷也可以根据自己的想象赋予其任何形态。

        基于当下正热的元宇宙概念,卡塔尔官方推出了一支宣传片。在片中,La'eeb来自于一个虚拟宇宙,那是一个聚集了全球重大赛事吉祥物的平行世界。La'eeb还带领着主持人进入其中,共同追忆足球历史和发展。我们在片中还看到往届世界杯吉祥物与La'eeb在同一时空出现。

 二、开始作画

1、准备阶段

Python环境、turtle库以及你聪明的大脑(懂数学那种😎)

2、常用指令 

import turtle                                                            导入turtle功能模块

# 前进 后退 转向 forward backward left right
turtle.bgcolor("black")                                             设置画面背景色
turtle.setup(width=200,height=200,startx=0,starty=0)

#设置窗口大小和在屏幕上的坐标
turtle.bgpic("1.gif")

#设置背景图片,只支持gif格式
turtle.onscreenclick(x,y)

#用户点击屏幕时获得笔的坐标,制作app时响应用户的点击操作32
turtle.bye()

#退出turtle,无任何提示信息
turtle.exitonclick()

#点击后退出turtle
turtle.done()

#关闭turtle,一般在使用完turtle后添加,否则会无响应
turtle.Pen()

#启用画笔
turtle.Pen().color("#cc4455")

#画笔颜色设置,颜色可以使用英文单词或常见的#开头十六进制数表示
turtle.Pen().forward(2)

#画笔前进长度,以像素为单位
turtle.Pen().backward(2)

#画笔后退长度
turtle.Pen().home()

#画笔的初始位置
turtle.Pen().left(90)

#画笔向左转
turtle.Pen().right(90)

#画笔向右转
turtle.Pen().width(3)

#设置画笔宽度,以像素为单位
t=turtle.Pen()

#让t代表turtle.Pen(),上面的内容可以简化

#例如turtle.Pen.color("#cc4455")简化为t.color("#cc4455")

#后面内容都用t表示
t.penup()

#抬起笔,停止写
t.pendown()

#放下笔,开始写
t.write("balabala",font=("Arial",23,"bold"))

#写指定内容”balabala“,并设置字体、字号、加粗等
t.circle(4)

#以参数为半径画圆
t.dot(4)

#以参数为直径画点
t.position()

#笔的坐标(x,y)
t.heading()

#笔的朝向
t.setx(position[0])

#设置笔的x坐标为position记录的x坐标,position由position=t.position()获得
t.sety(position[1])

#设置笔的y坐标为position记录的y坐标
t.setheading(30)

#设置笔的朝向,画笔默认朝向为正右方
t.setpos(x,y)

#设置笔的坐标
t.fillcolor("#33de55")

t.begin_fill()

t.circle(5)

t.end_fill()

#设置填充颜色,开始填充,画圆填充,填充结束
t.goto(x,y)

#笔移动到坐标(x,y)
t.speed(0)

#笔的移动速度参数范围0.5——10,范围之外为0,最快,不设置速度为最慢
t.hideturtle()

#隐藏画笔
t.showturtle()

#显示画笔
t.clear()

#删除画的内容,不修改画笔参数

t.reset()

#删除画的内容,还原画笔参数为初始值

3、开始做画 

from turtle import *
import time
def set_start(x, y, w=0.5, c='black'):      #初始设置
    penup()  
    setx(x)  
    sety(y)  
    setheading(towards(0, 0))  
    width(w)  
    pencolor(c)  
    pendown()  
    speed(10)  

def left_rotate(time, angle, length):
    for i in range(time):  
        left(angle)  
        forward(length)  

def right_rotate(time, angle, length):
    for i in range(time):  
        right(angle)  
        forward(length)  

def fill_color_patch(x, y, c='white'):
    set_start(x, y, 1, c=c)
    forward(1)

def draw_circle(radius, color, color2=''):
    if color2 == '':
        color2 = color
    penup()
    setheading(towards(0, 0))
    right(90)
    pencolor(color)
    pendown()
    begin_fill()
    circle(radius)  
    fillcolor(color2)
    end_fill()

def draw_body():
    # 绘制身体
    fill_color_patch(-114, 125)
    begin_fill()
    set_start(-114, 125, w=2, c='black')
    right_rotate(1, 20, 10)
    left_rotate(3, 6, 10)
    left_rotate(2, 5, 20)
    left_rotate(2, 6, 20)
    left_rotate(1, 9, 20)
    left_rotate(3, 0.5, 43)
    left_rotate(3, 7, 5)
    left_rotate(3, 4.5, 10)
    right_rotate(3, 10, 10)
    right_rotate(2, 14, 10)
    right_rotate(3, 35, 0.8)
    left_rotate(3, 10, 8)
    left_rotate(3, 2, 10)
    right_rotate(3, 2, 10)
    right_rotate(3, 6, 10)
    right_rotate(3, 5, 10)
    right_rotate(3, 4, 10)
    left_rotate(3, 1, 7)
    left_rotate(1, 95, 7)
    left_rotate(3, 3, 8)
    left_rotate(1, 30, 0)
    right_rotate(3, 21.3, 2.2)
    right_rotate(3, 8.5, 7)
    right_rotate(3, 8, 7)
    right_rotate(3, 20, 1)
    right_rotate(1, 15, 10)
    right_rotate(5, 7.7, 20)
    right_rotate(4, 2.5, 18)
    left_rotate(4, 4.5, 18)
    left_rotate(4, 6, 20)
    left_rotate(1, 10, 0)
    right_rotate(2, 5, 10)
    right_rotate(2, 12, 5)
    right_rotate(6, 5, 6)
    goto(-114, 125)
    fillcolor('#EFEFED')
    end_fill()

    fill_color_patch(-102.74, 79.16)
    begin_fill()
    set_start(-102.74, 79.16, w=2, c='black')
    right_rotate(1, 0, 8)
    left_rotate(3, 10, 8)
    left_rotate(1, 0, 5)
    right_rotate(3, 4, 7)
    right_rotate(3, 10, 5)
    right_rotate(3, 5, 7)
    right_rotate(3, 3, 10)
    left_rotate(3, 6, 6)
    left_rotate(3, 27, 4)
    left_rotate(3, 3, 10)
    right_rotate(3, 3, 10)
    right_rotate(3, 5, 8)
    right_rotate(3, 10, 4)
    right_rotate(3, 10, 6)
    right_rotate(2, 5, 5)
    left_rotate(3, 3, 5)
    left_rotate(3, 22, 5)
    left_rotate(2, 6, 5)
    right_rotate(3, 3.5, 10)
    goto(186.32, 2.93)
    setheading(347.36)
    right_rotate(2, 14, 10)
    right_rotate(3, 35, 0.8)
    left_rotate(3, 10, 8)
    left_rotate(3, 2, 10)
    right_rotate(3, 2, 10)
    right_rotate(3, 6, 10)
    right_rotate(3, 5, 10)
    right_rotate(3, 4, 10)
    left_rotate(3, 1, 7)
    right_rotate(1, 3, 7)
    left_rotate(2, 6.5, 6)
    left_rotate(3, 36, 2)
    left_rotate(2, 7, 6)
    left_rotate(2, 6, 8)
    goto(92.19, -171.88)
    setheading(336.36)
    right_rotate(3, 21.3, 2.2)
    right_rotate(3, 8.5, 7)
    right_rotate(3, 8, 7)
    right_rotate(3, 20, 1)
    right_rotate(1, 15, 10)
    right_rotate(5, 7.7, 20)
    right_rotate(4, 2.5, 18)
    left_rotate(4, 4.5, 18)
    left_rotate(4, 6, 20)
    left_rotate(1, 10, 0)
    right_rotate(2, 5, 10)
    goto(-102.74, 79.16)
    fillcolor('#EFEFED')
    end_fill()
    fill_color_patch(-81.69, 68.15)
    begin_fill()
    set_start(-81.69, 68.15, w=2, c='black')
    setheading(342.39)
    left_rotate(1, 10, 8)
    left_rotate(1, 0, 5)
    right_rotate(3, 4, 7)
    right_rotate(3, 10, 5)
    right_rotate(3, 5, 7)
    right_rotate(3, 3, 10)
    left_rotate(3, 6, 6)
    left_rotate(3, 27, 4)
    left_rotate(3, 3, 10)
    right_rotate(3, 3, 10)
    right_rotate(3, 5, 8)
    right_rotate(3, 10, 4)
    right_rotate(3, 10, 6)
    right_rotate(2, 5, 5)
    left_rotate(3, 3, 5)
    left_rotate(3, 22, 5)
    left_rotate(2, 6, 5)
    right_rotate(3, 3.5, 10)
    goto(186.32, 2.93)
    setheading(347.36)
    right_rotate(2, 14, 10)
    right_rotate(3, 35, 0.8)
    left_rotate(3, 10, 8)
    left_rotate(3, 2, 10)
    right_rotate(3, 2, 10)
    right_rotate(1, 6, 10)
    width(1)
    right_rotate(1, 128, 2)
    pencolor('#DAD6D3')
    right_rotate(1, 0, 8)
    left_rotate(3, 5.5, 20)
    left_rotate(3, 14, 20)
    left_rotate(3, 9, 20)
    right_rotate(3, 3, 7)
    right_rotate(3, 27, 3)
    left_rotate(5, 8, 20)
    goto(-81.69, 68.15)
    fillcolor('#DAD6D3')
    end_fill()
    set_start(-11, -12, w=1, c='black')
    right_rotate(1, 70, 5)
    width(2)
    left_rotate(1, 21, 5)
    left_rotate(3, 8.5, 5)
    right_rotate(3, 7.5, 16)
    right_rotate(4, 4.5, 16)
    set_start(42, -15, w=1, c='black')
    right_rotate(1, 157, 10)
    width(2)
    right_rotate(4, 7.5, 16)
    width(1)
    right_rotate(1, 5, 12)

    fill_color_patch(35, -24)
    begin_fill()
    set_start(35, -24, w=1, c='#DAD6D3')
    right_rotate(1, 170, 20)
    right_rotate(1, 10, 20)
    right_rotate(2, 13, 20)
    right_rotate(1, 10, 20)
    left_rotate(1, 165, 20)
    left_rotate(1, 5, 20)
    left_rotate(2, 18, 10)
    left_rotate(2, 16, 20)
    goto(35, -24)
    fillcolor('#DAD6D3')
    end_fill()
    set_start(55, -34, w=1, c='black')
    left_rotate(1, 178, 10)
    width(2)
    right_rotate(3, 6.5, 11)
    width(1)
    right_rotate(1, 5, 10)
    set_start(67, -72, w=1, c='black')
    left_rotate(1, 152, 10)
    width(2)
    right_rotate(2, 7, 15)
    width(3)
    right_rotate(1, 7, 15)
    right_rotate(1, 11, 15)
    width(2)
    right_rotate(1, 11, 15)
    fill_color_patch(30, -48)
    begin_fill()
    set_start(30, -48, w=1, c='#DAD6D3')
    left_rotate(1, 175, 20)
    right_rotate(4, 10, 20)
    left_rotate(1, 155, 15)
    left_rotate(2, 18, 20)
    left_rotate(2, 18, 20)
    goto(30, -48)
    fillcolor('#DAD6D3')
    end_fill()


def draw_head():
    # 绘制头的形状
    fill_color_patch(-16.6, 4.97)
    begin_fill()
    set_start(-16.6, 4.97, w=1.5, c='black')
    setheading(284.5)
    left_rotate(3, 6.5, 6)
    left_rotate(3, 27, 4)
    left_rotate(3, 3, 10)
    right_rotate(3, 3, 10)
    right_rotate(2, 5, 9)
    left_rotate(1, 130, 8)
    right_rotate(1, 40, 9)
    left_rotate(6, 12, 10)
    left_rotate(2, 12, 9)
    left_rotate(1, 50, 9)
    right_rotate(3, 7.5, 8)
    left_rotate(3, 15, 4)
    left_rotate(2, 5, 8)
    # print(pos())
    goto(-16.6, 4.97)
    fillcolor('#EFEFED')
    end_fill()


def draw_mouth():
    # 嘴
    fill_color_patch(-14, 22)
    begin_fill()
    set_start(-14, 22, w=2, c='#4B4542')
    right_rotate(1, 5, 8)
    right_rotate(4, 8, 5)
    left_rotate(1, 25, 3)
    left_rotate(2, 35, 1.5)
    left_rotate(2, 15, 3)
    left_rotate(1, 12, 6)
    left_rotate(3, 14, 4)
    left_rotate(3, 33, 2.2)
    right_rotate(2, 13, 5)
    right_rotate(2, 10, 4)
    goto(-14, 22)
    fillcolor('#712532')
    end_fill()
    fill_color_patch(-4, -4)
    begin_fill()
    set_start(-4, -4, w=1, c='#5A242A')
    left_rotate(1, 50, 4)
    right_rotate(5, 28, 1.2)
    left_rotate(3, 33, 0.5)
    right_rotate(1, 5, 3)
    right_rotate(5, 29.5, 1.2)
    right_rotate(4, 15, 3)
    goto(-4, -4)
    fillcolor('#A04B58')
    end_fill()
    fill_color_patch(-7.74, -4.69)
    begin_fill()
    set_start(-7.74, -4.69, w=1, c='#4B4542')
    setheading(265.47)
    left_rotate(1, 25, 3)
    left_rotate(2, 35, 1.5)
    left_rotate(2, 15, 3)
    left_rotate(1, 12, 5)
    left_rotate(1, 160, 3)
    right_rotate(1, 8, 3.2)
    width(2)
    right_rotate(1, 8, 3.2)
    width(1)
    right_rotate(3, 45, 1)
    left_rotate(4, 45, 1)
    goto(-7.74, -4.69)
    fillcolor('white')
    end_fill()
    fill_color_patch(-14, 22)
    begin_fill()
    set_start(-14, 22, w=1, c='#4B4542')
    right_rotate(1, 5, 8)
    left_rotate(2, 13, 4.5)
    left_rotate(1, 40, 6)
    left_rotate(2, 15, 4)
    goto(4.75, 12.03)
    setheading(183.47)
    pencolor('#4B4542')
    right_rotate(2, 13, 5)
    right_rotate(2, 10, 4)
    goto(-14, 22)
    fillcolor('white')
    end_fill()
    set_start(6, 13, w=2, c='black')
    left_rotate(1, 93, 3)
    right_rotate(2, 10, 2.5)
    width(1)
    right_rotate(1, 6, 3)


def draw_eye():
    # 眼睛
    fill_color_patch(-12, 37)
    begin_fill()
    set_start(-12, 37, w=1, c='white')
    left_rotate(1, 130, 5)
    right_rotate(2, 5, 4.5)
    right_rotate(2, 65, 1.5)
    right_rotate(2, 12, 4.5)
    right_rotate(3, 10, 4)
    right_rotate(1, 125, 3.5)
    goto(-12, 37)
    fillcolor('white')
    end_fill()
    fill_color_patch(-12, 37)
    begin_fill()
    set_start(-12, 37, w=1, c='#4B4542')
    left_rotate(1, 130, 5)
    right_rotate(2, 5, 4.5)
    right_rotate(2, 65, 1.5)
    right_rotate(2, 12, 4.5)
    right_rotate(1, 170, 4.5)
    left_rotate(1, 10, 3)
    left_rotate(2, 66, 1.5)
    goto(-12, 37)
    fillcolor('black')
    end_fill()
    fill_color_patch(-3.54, 37.44)
    begin_fill()
    set_start(-3.54, 37.44, w=1, c='#4B4542')
    setheading(254)
    right_rotate(3, 10, 4)
    right_rotate(1, 125, 3.5)
    right_rotate(3, 16, 3)
    right_rotate(3, 32, 1.5)
    goto(-3.54, 37.44)
    fillcolor('black')
    end_fill()
    set_start(-6.8, 36.5, w=1)
    draw_circle(0.8, 'white')
    set_start(-10.52, 27.83, w=2, c='#4B4542')
    right_rotate(1, 160, 7)
    fill_color_patch(7, 31)
    begin_fill()
    set_start(7, 31, w=1, c='white')
    left_rotate(1, 135, 5)
    right_rotate(1, 13, 3)
    right_rotate(2, 18, 3)
    right_rotate(3, 12, 3)
    right_rotate(2, 19, 3)
    right_rotate(2, 23, 3)
    right_rotate(1, 30, 6)
    right_rotate(1, 50, 10)
    goto(7, 31)
    fillcolor('white')
    end_fill()
    fill_color_patch(7, 31)
    begin_fill()
    set_start(7, 31, w=1, c='#4B4542')
    left_rotate(1, 135, 5)
    right_rotate(1, 13, 3)
    right_rotate(2, 18, 3)
    right_rotate(3, 12, 3)
    right_rotate(2, 19, 3)
    right_rotate(2, 23, 3)
    right_rotate(1, 30, 5)
    right_rotate(1, 70, 1.5)
    right_rotate(1, 108, 4)
    left_rotate(1, 35, 4)
    left_rotate(2, 25, 3)
    left_rotate(3, 16, 2.5)
    left_rotate(2, 14, 3)
    left_rotate(2, 12, 3)
    goto(7, 31)
    fillcolor('black')
    end_fill()
    fill_color_patch(7, 31)
    begin_fill()
    set_start(7, 31, w=1, c='#4B4542')
    left_rotate(1, 155, 0)
    right_rotate(3, 30, 3.1)
    right_rotate(3, 30, 3.6)
    right_rotate(3, 30, 3.1)
    right_rotate(3, 30, 3.6)
    goto(7, 31)
    fillcolor('#4B4542')
    end_fill()
    fill_color_patch(8, 31)
    begin_fill()
    set_start(8, 31, w=1, c='#4B4542')
    left_rotate(1, 140, 0)
    right_rotate(3, 30, 2.5)
    right_rotate(3, 30, 2.9)
    right_rotate(3, 30, 2.5)
    right_rotate(3, 30, 2.9)
    goto(8, 31)
    fillcolor('black')
    end_fill()
    set_start(13, 25, w=1)
    draw_circle(1, 'white')
    set_start(9, 20, w=2, c='#4B4542')
    left_rotate(1, 92, 13)
    # 眉毛
    fill_color_patch(-2, 63)
    begin_fill()
    set_start(-2, 63, w=1, c='#4B4542')
    left_rotate(1, 40, 3)
    right_rotate(2, 9, 3)
    right_rotate(2, 17, 1)
    right_rotate(2, 5, 3)
    right_rotate(1, 165, 4)
    left_rotate(2, 12, 2)
    left_rotate(2, 35, 1)
    left_rotate(1, 20, 2)
    goto(-2, 63)
    fillcolor('black')
    end_fill()
    fill_color_patch(13, 45)
    begin_fill()
    set_start(13, 45, w=1, c='#4B4542')
    left_rotate(1, 92, 8)
    right_rotate(2, 15, 3)
    right_rotate(2, 11, 4)
    right_rotate(1, 5, 4)
    left_rotate(1, 5, 4)
    right_rotate(1, 168, 4)
    left_rotate(3, 4, 5)
    left_rotate(4, 5, 2.3)
    goto(13, 45)
    fillcolor('black')
    end_fill()


def draw_cap():
    # 帽子
    fill_color_patch(54.95, 18.19)
    begin_fill()
    set_start(54.95, 18.19, w=1, c='black')
    setheading(25)
    right_rotate(2, 5, 9)
    left_rotate(1, 130, 8)
    left_rotate(2, 4, 8)
    right_rotate(3, 4.5, 8)
    left_rotate(2, 4.5, 8)
    right_rotate(2, 10, 4)
    right_rotate(2, 15, 2.5)
    left_rotate(1, 92, 2.5)
    left_rotate(2, 5, 5)
    left_rotate(1, 95, 2.5)
    left_rotate(3, 8, 5)
    left_rotate(2, 3, 10)
    right_rotate(2, 2, 9)
    left_rotate(2, 2, 8)
    goto(54.95, 18.19)
    fillcolor('black')
    end_fill()
    width(3)
    right_rotate(1, 170, 4)
    left_rotate(1, 25, 4)
    width(2)
    left_rotate(1, 7, 4)
    width(1)
    left_rotate(1, 4, 5)
    fill_color_patch(68, 25)
    begin_fill()
    set_start(68, 25, w=1, c='#626063')
    left_rotate(1, 5, 2)
    right_rotate(1, 155, 2)
    goto(68, 25)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(65, 26)
    begin_fill()
    set_start(65, 26, w=1, c='#626063')
    left_rotate(1, 5, 3)
    right_rotate(1, 145, 3)
    goto(65, 26)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(61, 28)
    begin_fill()
    set_start(61, 28, w=1, c='#626063')
    left_rotate(1, 10, 3)
    right_rotate(1, 140, 3)
    goto(61, 28)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(58, 30)
    begin_fill()
    set_start(58, 30, w=1, c='#626063')
    left_rotate(1, 10, 3)
    right_rotate(1, 90, 1)
    right_rotate(1, 60, 2)
    goto(58, 30)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(54, 33)
    begin_fill()
    set_start(54, 33, w=1, c='#626063')
    left_rotate(1, 10, 3)
    right_rotate(1, 90, 1)
    right_rotate(1, 60, 2)
    goto(54, 33)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(49.5, 35)
    begin_fill()
    set_start(49.5, 35, w=1, c='#626063')
    left_rotate(1, 10, 2.5)
    right_rotate(1, 90, 1)
    right_rotate(1, 60, 2)
    goto(49.5, 35)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(46, 37.5)
    begin_fill()
    set_start(46, 37.5, w=1, c='#626063')
    left_rotate(1, 0, 3)
    right_rotate(1, 90, 1)
    right_rotate(1, 60, 2)
    goto(46, 37.5)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(42, 40)
    begin_fill()
    set_start(42, 40, w=1, c='#626063')
    left_rotate(1, 0, 3)
    right_rotate(1, 90, 1)
    right_rotate(1, 60, 2)
    goto(42, 40)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(39, 43)
    begin_fill()
    set_start(39, 43, w=1, c='#626063')
    left_rotate(1, 0, 3)
    right_rotate(1, 90, 1)
    right_rotate(1, 60, 2)
    goto(39, 43)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(35.5, 45.5)
    begin_fill()
    set_start(35.5, 45.5, w=1, c='#626063')
    left_rotate(1, 0, 3)
    right_rotate(1, 90, 1)
    right_rotate(1, 60, 2)
    goto(35.5, 45.5)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(32, 48)
    begin_fill()
    set_start(32, 48, w=1, c='#626063')
    left_rotate(1, 0, 2)
    right_rotate(1, 90, 1)
    right_rotate(1, 60, 2)
    goto(32, 48)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(28.5, 50)
    begin_fill()
    set_start(28.5, 50, w=1, c='#626063')
    right_rotate(1, 20, 2)
    right_rotate(1, 150, 2)
    goto(28.5, 50)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(25.5, 52)
    begin_fill()
    set_start(25.5, 52, w=1, c='#626063')
    right_rotate(1, 20, 2.5)
    right_rotate(1, 145, 2.5)
    goto(25.5, 52)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(22.5, 54)
    begin_fill()
    set_start(22.5, 54, w=1, c='#626063')
    right_rotate(1, 20, 2.5)
    right_rotate(1, 145, 2.5)
    goto(22.5, 54)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(20, 55)
    begin_fill()
    set_start(20, 55, w=1, c='#626063')
    right_rotate(1, 30, 2)
    right_rotate(1, 145, 2)
    goto(20, 55)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(18, 57)
    begin_fill()
    set_start(18, 57, w=1, c='#626063')
    right_rotate(1, 35, 2)
    right_rotate(1, 145, 2)
    goto(18, 57)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(16, 59)
    begin_fill()
    set_start(16, 59, w=1, c='#626063')
    right_rotate(1, 40, 2)
    right_rotate(1, 140, 2)
    goto(16, 59)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(14, 62)
    begin_fill()
    set_start(14, 62, w=1, c='#626063')
    right_rotate(1, 45, 2)
    right_rotate(1, 140, 2)
    goto(14, 62)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(12, 65)
    begin_fill()
    set_start(12, 65, w=1, c='#626063')
    right_rotate(1, 50, 2)
    right_rotate(1, 145, 2)
    goto(12, 65)
    fillcolor('#626063')
    end_fill()
    fill_color_patch(5.5, 63)
    begin_fill()
    set_start(5.5, 63, w=1, c='#626063')
    right_rotate(1, 80, 2)
    right_rotate(1, 150, 2)
    goto(5.5, 63)
    fillcolor('#626063')
    end_fill()
    set_start(7, 61, w=1, c='#626063')
    draw_circle(0.8, '#626063')
    set_start(10, 58, w=1, c='#626063')
    draw_circle(0.6, '#626063')
    set_start(12, 56, w=1, c='#626063')
    draw_circle(0.5, '#626063')
    set_start(14, 54, w=1, c='#626063')
    draw_circle(0.4, '#626063')
    set_start(17, 52, w=1, c='#626063')
    draw_circle(0.4, '#626063')
    set_start(19.5, 50, w=1, c='#626063')
    draw_circle(0.4, '#626063')
    set_start(22.5, 48, w=1, c='#626063')
    draw_circle(0.5, '#626063')
    set_start(26, 46, w=1, c='#626063')
    draw_circle(0.6, '#626063')
    set_start(29, 43, w=1, c='#626063')
    draw_circle(0.7, '#626063')
    set_start(33, 40.5, w=1, c='#626063')
    draw_circle(0.8, '#626063')
    set_start(37, 38, w=1, c='#626063')
    draw_circle(0.9, '#626063')
    set_start(41, 35, w=1, c='#626063')
    draw_circle(0.9, '#626063')
    set_start(44.5, 32.5, w=1, c='#626063')
    draw_circle(0.9, '#626063')
    set_start(48, 29.5, w=1, c='#626063')
    draw_circle(0.9, '#626063')
    set_start(52, 27, w=1, c='#626063')
    draw_circle(0.8, '#626063')
    set_start(55, 25, w=1, c='#626063')
    draw_circle(0.7, '#626063')
    set_start(58, 23, w=1, c='#626063')
    draw_circle(0.6, '#626063')


def draw_hair():
    # 头发
    set_start(107, 8, w=2, c='#550313')
    right_rotate(1, 152, 10)
    left_rotate(2, 7, 5)
    left_rotate(2, 3, 10)
    right_rotate(1, 3, 10)
    right_rotate(2, 12, 5)
    right_rotate(5, 15, 4)
    begin_fill()
    width(1)
    right_rotate(1, 110, 1)
    left_rotate(3, 31, 1)
    left_rotate(3, 3, 2)
    right_rotate(1, 70, 2)
    left_rotate(2, 20, 1)
    right_rotate(2, 10, 5)
    right_rotate(2, 15, 5)
    left_rotate(1, 142, 5)
    left_rotate(1, 13, 5)
    left_rotate(4, 20, 5)
    left_rotate(3, 15, 5)
    goto(168.01, 42.05)
    fillcolor('black')
    end_fill()
    set_start(106, 9, w=2, c='#550313')
    right_rotate(1, 152, 10)
    left_rotate(2, 12, 5)
    left_rotate(2, 9, 10)
    right_rotate(2, 2, 9)
    right_rotate(2, 16, 5)
    right_rotate(5, 14, 5)
    right_rotate(2, 8, 4)
    begin_fill()
    width(1)
    right_rotate(1, 90, 1)
    left_rotate(3, 27, 1)
    left_rotate(3, 3, 1.5)
    right_rotate(1, 60, 2)
    left_rotate(3, 22, 1)
    right_rotate(2, 12, 4)
    right_rotate(2, 12, 5)
    left_rotate(1, 142, 5)
    left_rotate(2, 13, 5.5)
    left_rotate(1, 30, 4)
    left_rotate(2, 12, 3)
    left_rotate(1, 30, 2)
    right_rotate(1, 30, 5)
    left_rotate(1, 15, 5)
    goto(168.43, 58.69)
    fillcolor('black')
    end_fill()
    set_start(105, 10, w=2, c='#550313')
    right_rotate(1, 152, 10)
    left_rotate(2, 10, 5)
    left_rotate(2, 4, 10)
    left_rotate(2, 4, 10)
    right_rotate(2, 3, 10)
    right_rotate(2, 16, 5)
    right_rotate(4, 14, 4)
    begin_fill()
    width(1)
    right_rotate(1, 30, 1)
    left_rotate(1, 30, 1)
    left_rotate(2, 12, 5)
    left_rotate(2, 15, 4)
    left_rotate(2, 20, 5)
    left_rotate(2, 22, 6)
    left_rotate(1, 155, 3)
    right_rotate(3, 16, 5)
    right_rotate(3, 12, 5)
    goto(169.28, 82.08)
    fillcolor('black')
    end_fill()
    set_start(101, 17, w=2, c='#550313')
    right_rotate(1, 148, 10)
    left_rotate(2, 10, 5)
    left_rotate(2, 8, 10)
    left_rotate(1, 4, 10)
    right_rotate(2, 12, 8)
    right_rotate(2, 16, 5)
    right_rotate(4, 12, 5)
    right_rotate(2, 10, 4)
    begin_fill()
    width(1)
    right_rotate(1, 30, 2)
    left_rotate(1, 30, 1)
    left_rotate(2, 10, 4)
    right_rotate(2, 8, 4)
    left_rotate(2, 20, 4)
    left_rotate(2, 16, 5)
    right_rotate(1, 40, 2)
    right_rotate(1, 180, 2)
    right_rotate(1, 140, 0)
    left_rotate(1, 120, 3)
    left_rotate(3, 5, 5)
    left_rotate(2, 3, 5)
    goto(162.15, 74.34)
    fillcolor('black')
    end_fill()


def draw_football():
    # 足球
    # set_start(15, -157, w=1, c='black')
    # draw_circle(39, 'black', '#DCDCDC')
    fill_color_patch(39.34, -90.63)
    begin_fill()
    set_start(39.34, -90.63, w=2, c='black')
    setheading(124.2)
    left_rotate(20, 18, 12.2)
    goto(39.34, -90.63)
    fillcolor('#DCDCDC')
    end_fill()
    fill_color_patch(-25, -110)
    begin_fill()
    set_start(-25, -110, w=1, c='white')
    right_rotate(1, 160, 10)
    left_rotate(5, 20, 12)
    left_rotate(4, 18, 12)
    pencolor('black')
    left_rotate(1, 35, 12)
    left_rotate(7, 18, 12.1)
    goto(-25, -110)
    fillcolor('white')
    end_fill()
    fill_color_patch(-25, -108)
    begin_fill()
    set_start(-25, -108, w=1, c='black')
    right_rotate(1, 20, 4)
    right_rotate(2, 10, 3)
    left_rotate(1, 35, 5)
    left_rotate(1, 165, 5)
    right_rotate(2, 15, 3)
    goto(-25, -108)
    fillcolor('black')
    end_fill()
    fill_color_patch(-16, -101)
    begin_fill()
    set_start(-16, -101, w=1, c='black')
    right_rotate(1, 35, 8)
    right_rotate(1, 140, 4)
    left_rotate(2, 21, 2)
    left_rotate(2, 8, 4.5)
    right_rotate(1, 105, 8)
    right_rotate(1, 120, 3)
    left_rotate(3, 15, 4)
    goto(-16, -101)
    fillcolor('black')
    end_fill()
    fill_color_patch(-10, -93)
    begin_fill()
    set_start(-10, -93, w=1, c='black')
    left_rotate(1, 90, 4)
    right_rotate(1, 135, 5)
    right_rotate(2, 3, 7)
    right_rotate(1, 60, 3)
    right_rotate(1, 135, 5)
    left_rotate(3, 10, 4)
    goto(-10, -93)
    fillcolor('black')
    end_fill()
    fill_color_patch(6, -82)
    begin_fill()
    set_start(6, -82, w=1, c='black')
    right_rotate(1, 50, 4)
    right_rotate(1, 60, 6)
    right_rotate(2, 3, 7)
    right_rotate(1, 130, 4)
    right_rotate(1, 60, 5)
    left_rotate(3, 8, 4)
    goto(6, -82)
    fillcolor('black')
    end_fill()
    fill_color_patch(30, -88)
    begin_fill()
    set_start(30, -88, w=1, c='black')
    right_rotate(1, 130, 5)
    right_rotate(1, 15, 5)
    right_rotate(1, 150, 5)
    goto(30, -88)
    fillcolor('black')
    end_fill()
    fill_color_patch(25, -89)
    begin_fill()
    set_start(25, -89, w=1, c='black')
    right_rotate(1, 140, 8)
    right_rotate(1, 95, 4)
    left_rotate(2, 25, 6)
    right_rotate(1, 130, 8)
    right_rotate(1, 110, 3)
    left_rotate(3, 20, 4)
    goto(25, -89)
    fillcolor('black')
    end_fill()
    fill_color_patch(20, -106)
    begin_fill()
    set_start(20, -106, w=1, c='black')
    right_rotate(1, 180, 8)
    right_rotate(1, 120, 4)
    left_rotate(3, 18, 5.8)
    right_rotate(1, 120, 8)
    right_rotate(1, 110, 3)
    left_rotate(3, 14, 5)
    goto(20, -106)
    fillcolor('black')
    end_fill()
    fill_color_patch(-8, -117)
    begin_fill()
    set_start(-8, -117, w=1, c='black')
    right_rotate(1, 100, 8)
    right_rotate(1, 115, 4)
    left_rotate(2, 16, 5)
    left_rotate(1, 22, 6)
    right_rotate(1, 125, 8)
    right_rotate(1, 120, 3)
    left_rotate(1, 25, 4)
    left_rotate(3, 15, 4)
    goto(-8, -117)
    fillcolor('black')
    end_fill()
    fill_color_patch(-12, -137)
    begin_fill()
    set_start(-12, -137, w=1, c='black')
    right_rotate(1, 145, 8)
    right_rotate(1, 148, 4)
    left_rotate(2, 18, 3.2)
    right_rotate(1, 55, 7)
    right_rotate(1, 165, 3)
    left_rotate(3, 20, 3)
    goto(-12, -137)
    fillcolor('black')
    end_fill()
    fill_color_patch(-6, -144)
    begin_fill()
    set_start(-6, -144, w=1, c='black')
    right_rotate(1, 35, 6)
    right_rotate(1, 105, 4)
    left_rotate(3, 16, 5.5)
    right_rotate(1, 130, 5)
    right_rotate(1, 78, 3)
    left_rotate(3, 5, 4)
    goto(-6, -144)
    fillcolor('black')
    end_fill()
    fill_color_patch(23, -115)
    begin_fill()
    set_start(23, -115, w=1, c='black')
    right_rotate(1, 60, 8)
    right_rotate(1, 120, 4)
    left_rotate(3, 12, 5.3)
    right_rotate(1, 100, 8)
    right_rotate(1, 130, 3)
    left_rotate(3, 15, 5)
    goto(23, -115)
    fillcolor('black')
    end_fill()
    fill_color_patch(32, -133)
    begin_fill()
    set_start(32, -133, w=1, c='black')
    right_rotate(1, 140, 6)
    right_rotate(1, 110, 4)
    left_rotate(3, 8, 5)
    right_rotate(1, 80, 7)
    right_rotate(1, 140, 3)
    left_rotate(3, 14, 6)
    goto(32, -133)
    fillcolor('black')
    end_fill()
    fill_color_patch(39, -135)
    begin_fill()
    set_start(39, -135, w=1, c='black')
    right_rotate(1, 30, 7)
    right_rotate(1, 80, 3)
    left_rotate(3, 20, 2.2)
    right_rotate(1, 160, 5)
    right_rotate(1, 60, 3)
    left_rotate(2, 15, 3)
    goto(39, -135)
    fillcolor('black')
    end_fill()
    fill_color_patch(14, -153)
    begin_fill()
    set_start(14, -153, w=1, c='black')
    right_rotate(1, 90, 7)
    right_rotate(1, 130, 3.5)
    right_rotate(1, 60, 3)
    goto(14, -153)
    fillcolor('black')
    end_fill()


def draw_clothes():
    # 衣服图案
    fill_color_patch(79, -197)
    begin_fill()
    set_start(79, -197, w=1, c='#661E34')
    right_rotate(1, 30, 2)
    right_rotate(3, 25, 1.5)
    left_rotate(3, 55, 1)
    left_rotate(3, 35, 2.5)
    goto(79, -197)
    fillcolor('#661E34')
    end_fill()
    fill_color_patch(78, -198)
    begin_fill()
    set_start(78, -198, w=1, c='#661E34')
    left_rotate(1, 25, 2)
    left_rotate(3, 25, 1.5)
    right_rotate(3, 55, 1)
    right_rotate(3, 35, 2.5)
    goto(78, -198)
    fillcolor('#661E34')
    end_fill()
    fill_color_patch(77, -193)
    begin_fill()
    set_start(77, -193, w=1, c='#661E34')
    right_rotate(1, 30, 2)
    right_rotate(3, 25, 1.5)
    left_rotate(3, 55, 1)
    left_rotate(3, 35, 2.5)
    goto(77, -193)
    fillcolor('#661E34')
    end_fill()
    fill_color_patch(77, -193)
    begin_fill()
    set_start(77, -193, w=1, c='#661E34')
    left_rotate(1, 30, 2)
    left_rotate(3, 25, 1.5)
    right_rotate(3, 55, 1)
    right_rotate(3, 35, 2.5)
    goto(77, -193)
    fillcolor('#661E34')
    end_fill()
    set_start(77, -193, w=1, c='#661E34')
    left_rotate(1, 2, 10)
    left_rotate(2, 5, 6)
    fill_color_patch(78, -183)
    begin_fill()
    set_start(78, -183, w=1, c='#661E34')
    right_rotate(1, 90, 2)
    right_rotate(3, 10, 1.8)
    left_rotate(3, 55, 1)
    left_rotate(3, 25, 2)
    goto(78, -183)
    fillcolor('#661E34')
    end_fill()
    fill_color_patch(70, -188)
    begin_fill()
    set_start(70, -188, w=1, c='#661E34')
    left_rotate(1, 100, 2)
    left_rotate(3, 10, 1.8)
    right_rotate(3, 55, 1)
    right_rotate(3, 25, 2)
    goto(70, -188)
    fillcolor('#661E34')
    end_fill()
    fill_color_patch(75, -183)
    begin_fill()
    set_start(75, -183, w=1, c='#661E34')
    right_rotate(1, 30, 2)
    left_rotate(3, 10, 1.8)
    left_rotate(3, 50, 1)
    left_rotate(3, 20, 2)
    goto(75, -183)
    fillcolor('#661E34')
    end_fill()
    fill_color_patch(71, -185)
    begin_fill()
    set_start(71, -185, w=1, c='#661E34')
    left_rotate(1, 50, 2)
    right_rotate(3, 13, 1.8)
    right_rotate(3, 50, 1)
    right_rotate(3, 20, 2)
    goto(71, -185)
    fillcolor('#661E34')
    end_fill()
    fill_color_patch(80, -175)
    begin_fill()
    set_start(80, -175, w=1, c='#661E34')
    right_rotate(1, 30, 2)
    right_rotate(3, 15, 1.8)
    left_rotate(1, 110, 1)
    left_rotate(1, 50, 1)
    left_rotate(3, 22, 2)
    goto(80, -175)
    fillcolor('#661E34')
    end_fill()
    set_start(80, -178, w=1, c='#661E34')
    left_rotate(1, 30, 2)
    right_rotate(3, 15, 1.8)
    right_rotate(3, 15, 1.8)
    fill_color_patch(61, -185)
    begin_fill()
    set_start(61, -185, w=1, c='#661E34')
    left_rotate(1, 55, 3)
    left_rotate(3, 20, 3)
    right_rotate(3, 53, 1)
    right_rotate(3, 20, 3)
    goto(61, -185)
    fillcolor('#661E34')
    end_fill()
    fill_color_patch(51.10, -181.18)
    set_start(63, -186, w=1, c='#661E34')
    right_rotate(1, 10, 2)
    left_rotate(8, 15, 1.8)
    begin_fill()
    right_rotate(3, 15, 1.8)
    right_rotate(3, 32, 1)
    right_rotate(1, 10, 5)
    right_rotate(3, 30, 3)
    right_rotate(2, 30, 2)
    right_rotate(1, 100, 4)
    right_rotate(1, 80, 1)
    left_rotate(5, 45, 2)
    goto(51.10, -181.18)
    fillcolor('#661E34')
    end_fill()
    fill_color_patch(67, -175)
    begin_fill()
    set_start(67, -175, w=1, c='#661E34')
    left_rotate(1, 40, 2)
    right_rotate(3, 15, 1.8)
    right_rotate(1, 10, 2)
    right_rotate(1, 130, 2)
    right_rotate(1, 8, 2)
    right_rotate(3, 15, 1.8)
    goto(67, -175)
    fillcolor('#661E34')
    end_fill()
    fill_color_patch(65, -177)
    begin_fill()
    set_start(65, -177, w=1, c='#661E34')
    left_rotate(1, 60, 2)
    right_rotate(3, 23, 1.8)
    left_rotate(1, 10, 2)
    left_rotate(3, 35, 2)
    right_rotate(1, 120, 2)
    right_rotate(3, 35, 2)
    right_rotate(2, 32, 2)
    right_rotate(1, 12, 2)
    left_rotate(3, 12, 1.8)
    goto(65, -177)
    fillcolor('#661E34')
    end_fill()
    fill_color_patch(70, -174)
    begin_fill()
    set_start(70, -174, w=1, c='#661E34')
    right_rotate(1, 40, 2)
    left_rotate(3, 23, 1.8)
    right_rotate(1, 10, 3)
    right_rotate(1, 35, 2)
    left_rotate(1, 90, 2)
    left_rotate(1, 70, 1.5)
    left_rotate(2, 30, 2)
    left_rotate(1, 10, 2)
    right_rotate(3, 12, 1.8)
    goto(70, -174)
    fillcolor('#661E34')
    end_fill()
    set_start(56, -163, w=1, c='#661E34')
    left_rotate(1, 80, 2)
    right_rotate(1, 30, 2)
    right_rotate(3, 18, 2)
    left_rotate(3, 45, 2)
    width(2)
    left_rotate(4, 32, 2)
    fill_color_patch(57, -160)
    begin_fill()
    set_start(57, -160, w=1, c='#661E34')
    left_rotate(1, 80, 2)
    right_rotate(1, 50, 2)
    right_rotate(3, 15, 1.8)
    right_rotate(1, 10, 2)
    right_rotate(1, 110, 2)
    right_rotate(1, 10, 2)
    right_rotate(2, 15, 1.8)
    goto(57, -160)
    fillcolor('#661E34')
    end_fill()
    set_start(53, -158, w=1, c='#661E34')
    left_rotate(1, 30, 2)
    right_rotate(3, 10, 2)
    set_start(57, -154, w=1, c='#661E34')
    left_rotate(1, 10, 2)
    right_rotate(2, 10, 2)
    set_start(46, -155, w=1, c='#661E34')
    draw_circle(1, '#661E34', )
    set_start(59, -150, w=1, c='#661E34')
    draw_circle(1, '#661E34', )
    fill_color_patch(52, -148)
    begin_fill()
    set_start(52, -148, w=1, c='#661E34')
    left_rotate(1, 100, 2)
    right_rotate(3, 50, 1.5)
    left_rotate(1, 20, 5)
    right_rotate(1, 100, 1)
    right_rotate(1, 60, 4)
    left_rotate(1, 90, 2)
    right_rotate(1, 120, 2)
    goto(52, -148)
    fillcolor('#661E34')
    end_fill()
    set_start(75.77, -145.63, w=2, c='black')
    setheading(202.36)
    right_rotate(1, 3, 7)
    left_rotate(2, 6.5, 6)
    left_rotate(3, 36, 2)
    left_rotate(2, 7, 6)
    left_rotate(2, 6, 8)
    # 小足球
    set_start(174, -25.5, w=3, c='#661E34')
    draw_circle(10, '#661E34', '#DAD6D3')
    set_start(173, -25, w=3, c='#661E34')
    right_rotate(1, 3, 5)
    right_rotate(1, 55, 4)
    right_rotate(1, 65, 5)
    left_rotate(1, 90, 1.5)
    left_rotate(1, 90, 6)
    right_rotate(1, 50, 4)
    right_rotate(1, 55, 4)
    left_rotate(1, 90, 2)
    left_rotate(1, 90, 5)
    right_rotate(1, 40, 4)
    right_rotate(1, 50, 5)
    left_rotate(1, 90, 1.5)
    left_rotate(1, 90, 5)
    right_rotate(1, 60, 5)
    right_rotate(1, 60, 5)
    left_rotate(1, 90, 1.5)
    left_rotate(1, 90, 6)
    right_rotate(1, 50, 5)
    right_rotate(1, 60, 5)
    fill_color_patch(149, -32)
    begin_fill()
    set_start(149, -32, w=1, c='#661E34')
    left_rotate(1, 80, 4)
    right_rotate(3, 90, 4)
    fillcolor('#661E34')
    end_fill()
    fill_color_patch(183, -13)
    begin_fill()
    set_start(183, -13, w=1, c='#661E34')
    left_rotate(1, 80, 4)
    right_rotate(3, 90, 4)
    fillcolor('#661E34')
    end_fill()
    # 字母
    set_start(101, -125, w=2, c='#661E34')
    right_rotate(1, 50, 3)
    left_rotate(3, 30, 2)
    left_rotate(3, 30, 1)
    left_rotate(3, 27, 2.5)
    right_rotate(3, 5, 2.5)
    set_start(107, -119, w=2, c='#661E34')
    left_rotate(1, 70, 1.5)
    left_rotate(3, 35, 2)
    left_rotate(3, 40, 1)
    left_rotate(1, 10, 2)
    set_start(107, -119, w=2, c='#661E34')
    left_rotate(1, 175, 6)
    set_start(109, -118, w=2, c='#661E34')
    right_rotate(1, 100, 6)
    set_start(109, -115, w=2, c='#661E34')
    left_rotate(1, 165, 6)
    left_rotate(3, 30, 2)
    left_rotate(2, 3, 3)
    set_start(121, -112, w=2, c='#661E34')
    left_rotate(1, 70, 2)
    left_rotate(3, 35, 1.5)
    left_rotate(3, 38, 1.5)
    left_rotate(1, 50, 2)
    set_start(121, -112, w=2, c='#661E34')
    left_rotate(1, 170, 6)
    set_start(123, -110, w=2, c='#661E34')
    left_rotate(1, 170, 7)
    left_rotate(1, 170, 3)
    right_rotate(2, 30, 2.5)
    # 2022
    set_start(126, -107, w=2, c='#661E34')
    right_rotate(1, 90, 2)
    right_rotate(3, 45, 2)
    right_rotate(2, 12, 2)
    right_rotate(1, 0, 2)
    left_rotate(1, 152, 6)
    set_start(132, -102, w=2, c='#661E34')
    right_rotate(1, 90, 2)
    right_rotate(3, 42, 2)
    right_rotate(2, 12, 2)
    right_rotate(3, 45, 2)
    right_rotate(2, 12, 2)
    goto(132, -102)
    set_start(137, -98, w=2, c='#661E34')
    right_rotate(1, 70, 2)
    right_rotate(3, 52, 2)
    right_rotate(2, 15, 2)
    right_rotate(1, 0, 2)
    left_rotate(1, 155, 6)
    set_start(142, -94, w=2, c='#661E34')
    right_rotate(1, 70, 2)
    right_rotate(3, 54, 2)
    right_rotate(2, 8, 2)
    right_rotate(1, 0, 2)
    left_rotate(1, 150, 7)
    
if __name__ == '__main__':
    title('2022世界杯吉祥物Laeeb')
    wide = 600
    height = 500
    screensize(wide, height)
    setup(wide+30, height+30, 100, 50)
    shape(name='turtle')
    time.sleep(2)
    draw_body()
    draw_head()
    draw_mouth()
    draw_eye()
    draw_cap()
    draw_hair()
    draw_football()
    draw_clothes()
    set_start(1000, 1000, 1)
    done()

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/64320.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

华为机试 - 高效的任务规划

目录 题目描述 输入描述 输出描述 用例 题目解析 算法源码 题目描述 你有 n 台机器,编号为 1~n,每台都需要完成一项工作,机器经过配置后都能完成独立完成一项工作。假设第 i 台机器你需要花 B 分钟进行设置,然后开始运行&a…

[附源码]计算机毕业设计室内设计类网站Springboot程序

项目运行 环境配置: Jdk1.8 Tomcat7.0 Mysql HBuilderX(Webstorm也行) Eclispe(IntelliJ IDEA,Eclispe,MyEclispe,Sts都支持)。 项目技术: SSM mybatis Maven Vue 等等组成,B/S模式 M…

Azure考试认证经验

目录 一、概述 1、考试报名 2、考试经验 3、Azure居家考试 4、Azure证书 一、概述 人不管做什么事情,决心很重要。有了目标就要坚定不移的去执行,这是最基本的。如果没有一个正确的心态来学习,建议你放弃。 1、考试报名 Azure考试报名…

2022 年度优秀开源技术

2022 年,我们综合了 OSCHINA 平台上各大认证官方技术团队、开源社区帐号年度发表的内容频率及质量、开展各种活动运营积极性等多方面的表现 具体名单如下(按首字母顺序排名,不分先后): Alluxio 官方 …

osgEarth示例分析——osgearth_cluster

前言 osgearth_cluster示例,展示了绘制很多模型时,如何合适设置模型遮挡的混乱情况。 当模型过多时,可以创建 osgEarth::Util::ClusterNode 节点对象,然后创建 osg::NodeList,将需要绘制的节点 node 们,都…

[附源码]计算机毕业设计JAVA影院售票系统

[附源码]计算机毕业设计JAVA影院售票系统 项目运行 环境配置: Jdk1.8 Tomcat7.0 Mysql HBuilderX(Webstorm也行) Eclispe(IntelliJ IDEA,Eclispe,MyEclispe,Sts都支持)。 项目技术: SSM mybatis M…

Mockito verify Junit5集成 Mockito

Mockito 集成 Junit5 在学习Mockito 如何集成 Junit5 之前&#xff0c;先来学习下 Mockito 基础的verify功能。 Maven依赖 本篇博客代码的Maven依赖如下&#xff0c;源码地址 <dependencies><dependency><groupId>org.springframework</groupId>&l…

分享107个小清新ppt模板,总有一款适合您

PPT下载链接&#xff1a;https://pan.baidu.com/s/1WqaR_29avEgq46iTSLKfmw?pwd5r81 提取码&#xff1a;5r81 源码下载链接&#xff1a;ppt.rar - 蓝奏云 采集的参数 page_count 1 # 每个栏目开始业务content"text/html; charsetgb2312"base_url "https:…

大一学生《Web编程基础》期末网页制作 基于HTML+CSS+JavaScript响应式个人主页相册介绍模板

&#x1f389;精彩专栏推荐&#x1f447;&#x1f3fb;&#x1f447;&#x1f3fb;&#x1f447;&#x1f3fb; ✍️ 作者简介: 一个热爱把逻辑思维转变为代码的技术博主 &#x1f482; 作者主页: 【主页——&#x1f680;获取更多优质源码】 &#x1f393; web前端期末大作业…

UNIX环境高级编程_文件IO_文件描述表

这篇文件记录文件描述表。 2 文件描述符表 2.1 什么是文件描述符表 当运行一个程序时&#xff0c;内核会创建进程表task_struct。当open 打开文件后&#xff0c;会在进程表中创建相应的结构体来记录打开的文件&#xff0c;这个结构体就是文件描述符表。 2.2 task_struct 与…

Apple M1 开启HiDPI的新方法,无需虚拟屏,无需SwitchResX

之前折腾2K屏开HiDPI时记录过三种方法&#xff1a; 2020年03月&#xff1a;SwitchResX 开启HiDPI时显示Not installed的解决办法 2020年11月&#xff1a;升级macOS Big Sur 后 HIDPI失效的解决办法 2021年12月&#xff1a; Apple M1 开启HiDPI的新方法&#xff0c;无需关闭SIP&…

MySQL学习笔记(十三)count(*),count(id),count(1),count(字段)区别

count count 是MySQL的一个查询数量统计的函数&#xff0c;我们在平常的工作中经常会用到&#xff0c;count(*),count(id),count(1),count(字段)这4种写法有什么区别呢&#xff1f; //星号 select count(*) from user; //常数 select count(1) from user; //id(主键) select …

片内总线在cpu扮演什么角色?他为什么能实现高效,不同的CPU为什么采用不同的总线协议?

文章目录各种新型片上总线维度&#xff08;Degree&#xff09;跳&#xff08;Hop&#xff09;和跳数&#xff08;Hop Count&#xff0c;HC&#xff09;直连拓扑和路由器Intel的Ring和Mesh总线双Ring结构Mesh Bus结论片上总线&#xff0c;也称作片上网络&#xff08;Network on …

毕业设计-基于机器视觉的火灾烟雾检测识别系统-yolo

目录 前言 课题背景和意义 实现技术思路 实现效果图样例 前言 &#x1f4c5;大四是整个大学期间最忙碌的时光,一边要忙着备考或实习为毕业后面临的就业升学做准备,一边要为毕业设计耗费大量精力。近几年各个学校要求的毕设项目越来越难,有不少课题是研究生级别难度的,对本科…

2023最新SSM计算机毕业设计选题大全(附源码+LW)之java基于网络安全维护的机房设备管理19rya

对于计算机专业的学生最头疼的就是临近毕业时的毕业设计,对于如何选题,技术选型等这些问题,难道了大部分人,确实,还没毕业的学生对于这些问题还比较陌生,只有学习的理论知识,没有实战经验怎么能独自完成毕业设计这一系列的流程,今天我们就聊聊如何快速应对这一难题. 比较容易的…

LSM Tree

LSM Tree 的存储模型&#xff0c;包括 Tidb&#xff0c;HBase等 特点 通过将大量的随机写转换为顺序写&#xff0c;从而极大地提升了数据写入的性能&#xff0c;虽然与此同时牺牲了部分读的性能。 只适合存储 key 值有序且写入大于读取的数据&#xff0c;或者读取操作通常是…

vueX持久化存储插件

场景&#xff1a;我们在做vue项目时&#xff0c;会遇到存储一些公共值&#xff0c;这样方便在不同的页面去调用这些值 vue中有个vuex&#xff0c;一般我们都存储在这里&#xff0c;这样在每个页面都能够调用 但是&#xff0c;当页面刷新了&#xff0c;这些值就被自动清理掉了 这…

第七届 Sky Hackathon 笔记集合贴

Alex_McAvoy--------NVIDIA 7th SkyHackathon&#xff08;二&#xff09;开发套件的安装与测试 Alex_McAvoy--------NVIDIA 7th SkyHackathon&#xff08;三&#xff09;语音数据集的制作 Alex_McAvoy--------NVIDIA 7th SkyHackathon&#xff08;四&#xff09;Nemo ASR 模型训…

vue.js ES6对象字面量的增强写法

1.属性的增强写法 ES5的写法&#xff1a; 运行效果 ES6的写法&#xff1a; 运行效果 2.函数的增强写法 ES5的写法&#xff1a; ES6的写法&#xff1a; 完整代码 <!DOCTYPE html> <html><head><meta charset"utf-8"><meta name"…

基于Javamail的邮件收发系统(系统+论文+开题报告+任务书+外文翻译+文献综述+答辩PPT)

毕业设计&#xff08;论文&#xff09; &#xff08; 20 届&#xff09; 论文&#xff08;设计&#xff09;题目 基于Javamail的邮件收发系统 作 者 二级学院、专业 班 级 指导教师&#xff08;职称&#xff09; 论 文 字 数 论文完成时间 20年月日 基于JavaMail的邮件…