python海龟绘图画冰墩墩
import turtle as t
t.speed(0) # 速度
t.bgcolor("orange")#背景颜色
# 左手
t.up()
t.goto(89, 56)
t.color("lightgray")
t.pensize(2)
t.color("white")
t.begin_fill()
t.down()
t.seth(80)
t.circle(-23, 200)
t.circle(-150, 23)
t.end_fill()
# 左手内
t.up()
t.goto(91, 48)
t.color("black")
t.pensize(1)
t.color("black")
t.begin_fill()
t.seth(95)
t.down()
t.circle(-19, 160)
t.circle(-10, 50)
t.circle(-100, 30)
t.end_fill()
# 轮廓
# 头顶
t.up()
t.goto(-37, 115)
t.color("lightgray")
t.pensize(2)
t.color("white")
t.begin_fill()
t.down()
t.seth(20)
t.circle(-125, 35)
# 左耳
t.seth(50)
t.circle(-21, 180)
# 左侧
t.seth(-50)
t.circle(-95, 30)
t.circle(-160, 45)
# 左腿
t.circle(60, 30)
t.circle(100, 12)
t.circle(-9, 85)
t.circle(-90, 23)
t.circle(-10, 110)
t.circle(8, 115)
t.circle(50, 12)
# 右腿
t.circle(8, 120)
t.circle(-8, 110)
t.circle(-75, 30)
t.circle(-8, 70)
t.circle(-75, 10)
t.circle(100, 35)
t.circle(-75, 20)
# 右手
t.seth(-120)
t.circle(25, 30)
t.circle(-18, 200)
t.circle(-150, 23)
# 右侧
t.seth(86)
t.circle(-150, 26)
# 右耳
t.seth(122)
t.circle(-27, 160)
t.end_fill()
# 右耳内
t.up()
t.goto(-65, 90)
t.color("black")
t.pensize(1)
t.color("black")
t.begin_fill()
t.down()
t.seth(120)
t.circle(-14, 160)
t.seth(210)
t.circle(75, 20)
t.end_fill()
# 左耳内
t.up()
t.goto(45, 115)
t.seth(40)
t.begin_fill()
t.down()
t.circle(-15, 170)
t.seth(125)
t.circle(75, 23)
t.end_fill()
# 右手内
t.up()
t.goto(-90, -28)
t.color("black")
t.begin_fill()
t.seth(-120)
t.down()
t.circle(25, 30)
t.circle(-14, 200)
t.circle(-150, 20)
t.seth(-90)
t.circle(150, 14)
t.end_fill()
# 左腿内
t.up()
t.goto(54, -84)
t.color("black")
t.begin_fill()
t.down()
t.seth(-115)
t.circle(55, 15)
t.circle(100, 10)
t.circle(-9, 80)
t.circle(-90, 13)
t.circle(-10, 90)
t.circle(8, 60)
t.seth(42)
t.circle(-100, 29)
t.end_fill()
# 右腿内
t.up()
t.goto(-19, -105)
t.color("black")
t.begin_fill()
t.down()
t.seth(-155)
t.circle(8, 100)
t.circle(-5, 110)
t.circle(-50, 30)
t.circle(-8, 65)
t.circle(-50, 10)
t.circle(100, 15)
t.seth(-14)
t.circle(-100, 27)
t.end_fill()
# 右眼
# 眼圈
t.up()
t.goto(-32, 60)
t.begin_fill()
t.down()
t.seth(40)
t.circle(-18, 152)
t.circle(-50, 50)
t.circle(-18, 130)
t.circle(-50, 50)
t.end_fill()
# 眼珠
t.up()
t.goto(-24, 28)
t.color("white")
t.begin_fill()
t.down()
t.seth(0)
t.circle(13, 360)
t.end_fill()
t.up()
t.goto(-23, 31)
t.color("darkslategray")
t.color("darkslategray")
t.begin_fill()
t.down()
t.seth(0)
t.circle(10, 360)
t.end_fill()
t.up()
t.goto(-23, 34)
t.color("black")
t.begin_fill()
t.down()
t.seth(0)
t.circle(5, 360)
t.end_fill()
t.up()
t.goto(-24, 43)
t.color("white")
t.color("white")
t.begin_fill()
t.down()
t.seth(0)
t.circle(3, 360)
t.end_fill()
# 左眼
# 眼圈
t.up()
t.goto(26, 41)
t.color("black")
t.begin_fill()
t.down()
t.seth(120)
t.circle(-16, 152)
t.circle(-50, 55)
t.circle(-13, 120)
t.circle(-60, 45)
t.end_fill()
# 眼珠
t.up()
t.goto(40, 30)
t.color("white")
t.begin_fill()
t.down()
t.seth(0)
t.circle(12, 360)
t.end_fill()
t.up()
t.goto(40, 32)
t.color("darkslategray")
t.begin_fill()
t.down()
t.seth(0)
t.circle(10, 360)
t.end_fill()
t.up()
t.goto(40, 35)
t.color("black")
t.begin_fill()
t.down()
t.seth(0)
t.circle(5, 360)
t.end_fill()
t.up()
t.goto(40, 44)
t.color("white")
t.color("white")
t.begin_fill()
t.down()
t.seth(0)
t.circle(3, 360)
t.end_fill()
# 鼻子
t.up()
t.goto(19, 40)
t.color("black")
t.begin_fill()
t.down()
t.circle(-4, 130)
t.circle(-11, 100)
t.circle(-4, 130)
t.end_fill()
# 嘴
t.up()
t.goto(-8, 24)
t.seth(-36)
t.begin_fill()
t.down()
t.circle(30, 70)
t.seth(-132)
t.circle(-23, 100)
t.end_fill()
# 彩虹圈
t.up()
t.goto(-68, 60)
t.pensize(3)
t.color("cyan")
t.down()
t.seth(60)
t.circle(-83, 150)
t.circle(-65, 78)
t.circle(-125, 30)
t.circle(-69, 105)
t.up()
t.goto(-66, 58)
t.color("slateblue")
t.down()
t.seth(60)
t.circle(-80, 144)
t.circle(-60, 78)
t.circle(-121, 30)
t.circle(-68, 105)
t.up()
t.goto(-64, 56)
t.color("orangered")
t.down()
t.seth(60)
t.circle(-78, 136)
t.circle(-58, 86)
t.circle(-110, 30)
t.circle(-67, 103)
t.up()
t.goto(-62, 54)
t.color("gold")
t.down()
t.seth(60)
t.circle(-75, 136)
t.circle(-52, 86)
t.circle(-110, 30)
t.circle(-63, 102)
t.up()
t.goto(-60, 52)
t.color("greenyellow")
t.down()
t.seth(60)
t.circle(-73, 136)
t.circle(-45, 83)
t.circle(-110, 30)
t.circle(-60, 100)
t.up()
# 爱心
t.up()
t.goto(110, 58)
t.color("brown")
t.pensize(1)
t.color("brown")
t.begin_fill()
t.down()
t.seth(36)
t.circle(-4, 180)
t.circle(-30, 24)
t.seth(110)
t.circle(-30, 24)
t.circle(-4, 180)
t.end_fill()
# 五环
t.up()
t.goto(-3, -85)
t.down()
t.color("blue")
t.circle(3)
t.up()
t.goto(5, -85)
t.down()
t.color("black")
t.circle(3)
t.up()
t.goto(13, -85)
t.down()
t.color("brown")
t.circle(3)
t.up()
t.goto(1, -88)
t.down()
t.color("lightgoldenrod")
t.circle(3)
t.up()
t.goto(8, -88)
t.down()
t.color("green")
t.circle(3)
t.up()
t.color("black")
t.goto(-8, -80)
t.write("BEIJING 2022", font=("Arial", 8, "bold italic"))
t.ht()
t.done()
别让电商培训毁坏电商生态近年来,电商行业发展迅速,电商培训作为一种新的职业教育培训也日益兴起。数据显示,我国现存电商培训相关企业2858家。从区域分布来看,广东省以404家排名第一,甘肃省和浙江省分别以2
吸尘器十大排名,手持吸尘器排名推荐冰尊吸尘器是世界吸尘器十大排名领导品牌。虽然手持吸尘器在家庭当中十分流行,但对于新手小白而言,面对鱼龙混杂的吸尘器市场,挑选吸尘器还是一件非常困难的事情。吸尘器哪个牌子好?下面就为
从零开始学python之数据库的交互这篇文章主要介绍了Python与数据库的交互,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下MongoDB安装模块pipinstallpy
要么价格高,要么配置低,小米12能否改变小屏旗舰手机现状?小米12即将发布,这可能是首款小屏设计的骁龙8Gen1芯片智能手机,但一定不是最后一款明年发布的三星GalaxyS22iPhone14魅族19等机器大概率也是这个尺寸,而这些厂商也
雷声大雨点小,大屏时代激光电视难掩前景黯淡商战中永远少不了官司,空调厂商格力美的奥克斯三家中两两捉对都有官司缠身。近日,TCL和海信之间的官司纠纷向外界揭开了当下或者说曾经电视行业激烈竞争的一角。据光明网消息,近日山东省高
联发科发布5G天玑920天玑810联发科宣布推出天玑系列5G移动平台的两款最新产品天玑920天玑810。它们在性能影像显示等方面都有明显提升,而且均为6nm工艺制造,再加上此前的天玑1200天玑1100天玑900,
千兆光纤网卡哪个好?千兆网卡哪个好?千兆网卡根据芯片来分有IntelI210芯片IntelI350芯片Intel82571芯片Intel82576芯片Intel82572芯片,又有单口双口四口网卡,那
iOS15Beta5发布,HomePod无损音质也来了今日凌晨,苹果为开发者预览版用户推送了iOS15Beta5的更新。已经安装了iOS15测试版描述文件的用户可直接打开设置通用软件更新,直接在设备上OTA升级至最新的iOS15Bet
苹果iOS15儿童保护功能遭反对扫描相册色情图片禁止传播据macrumor报道称,苹果近日公布了新的儿童安全功能,功能里有一项掀起了不少人士的反对。据苹果介绍,苹果正在与儿童安全专家合作开发的三个领域引入新的儿童安全功能,希望帮助保护儿
华为将正式发布鸿蒙手机操作系统清华成立量子信息班清华成立量子信息班图灵奖得主姚期智院士领衔清华大学成立量子信息班,由图灵奖得主中国科学院院士清华大学交叉信息研究院院长姚期智担任首席教授。据悉,这是清华大学首个量子信息方向的本科人
这一次,华为P50Pro我买定了现阶段华为的处境已经相当困难,经过四轮打击之后,它要按计划发布一款新旗舰可以说是难上加难。不过,余承东并没有放弃推新的信心。随着时间的推移,目前关于华为新品的消息也逐步深入,看完了