文章目录

  • 前言
  • 一、画小黄人
  • 二、画小猪佩奇
  • 三、画蜘蛛侠
  • 总结

前言

随着一个个动漫的出现,一个又一个的鲜活的动漫人物纷纷出现,例如:海绵宝宝,派大星,还有

樱桃小丸子等等,我展示的是其中三种:小黄人、小猪佩奇和蜘蛛侠。


一、画小黄人

小黄人用椭圆和seth()就能做出来,有些潦草,上代码:

import turtlet = turtle.Turtle()
wn = turtle.Screen()
turtle.colormode(255)
t.hideturtle()
t.speed(0)
t.penup()
t.pensize(4)
t.goto(100, 0)
t.pendown()
t.left(90)
t.color((0, 0, 0), (255, 255, 0))
t.begin_fill()
t.forward(200)
t.circle(100, 180)
t.forward(200)
t.circle(100, 180)
t.end_fill()
t.pensize(12)
t.penup()
t.goto(-100, 200)
t.pendown()
t.right(100)
t.circle(500, 23)
t.pensize(3)
t.penup()
t.goto(0, 200)
t.pendown()
t.seth(270)
t.color("black", "white")
t.begin_fill()
t.circle(30)
t.end_fill()
t.penup()
t.goto(15, 200)
t.pendown()
t.color("black", "black")
t.begin_fill()
t.circle(15)
t.end_fill()
t.penup()
t.goto(35, 205)
t.color("black", "white")
t.begin_fill()
t.circle(5)
t.end_fill()
t.pensize(3)
t.penup()
t.goto(0, 200)
t.pendown()
t.seth(90)
t.color("black", "white")
t.begin_fill()
t.circle(30)
t.end_fill()
t.penup()
t.goto(-15, 200)
t.pendown()
t.color("black", "black")
t.begin_fill()
t.circle(15)
t.end_fill()
t.penup()
t.goto(-35, 205)
t.color("black", "white")
t.begin_fill()
t.circle(5)
t.end_fill()
t.penup()
t.goto(-20, 100)
t.pendown()
t.seth(270)
t.color("black", "white")
t.begin_fill()
t.circle(20, 180)
t.left(90)
t.forward(40)
t.end_fill()
t.penup()
t.goto(-100, 0)
t.pendown()
t.seth(0)
t.color("black", "blue")
t.begin_fill()
t.forward(20)
t.left(90)
t.forward(40)
t.right(90)
t.forward(160)
t.right(90)
t.forward(40)
t.left(90)
t.forward(20)
t.seth(270)
t.penup()
t.goto(-100, 0)
t.circle(100, 180)
t.end_fill()
t.penup()
t.goto(-70, 20)
t.pendown()
t.color("black", "blue")
t.begin_fill()
t.seth(45)
t.forward(15)
t.left(90)
t.forward(60)
t.seth(270)
t.forward(15)
t.left(40)
t.forward(50)
t.end_fill()
t.left(180)
t.goto(-70, 30)
t.dot()
t.penup()
t.goto(70, 20)
t.pendown()
t.color("black", "blue")
t.begin_fill()
t.seth(135)
t.forward(15)
t.right(90)
t.forward(60)
t.seth(270)
t.forward(15)
t.right(40)
t.forward(50)
t.end_fill()
t.left(180)
t.goto(70, 30)
t.dot()
t.penup()
t.goto(4, -100)
t.pendown()
t.seth(270)
t.color("black", "black")
t.begin_fill()
t.forward(30)
t.left(90)
t.forward(40)
t.seth(20)
t.circle(10, 180)
t.circle(400, 2)
t.seth(90)
t.forward(20)
t.goto(4, -100)
t.end_fill()
t.penup()
t.goto(-4, -100)
t.pendown()
t.seth(270)
t.color("black", "black")
t.begin_fill()
t.forward(30)
t.right(90)
t.forward(40)
t.seth(20)
t.circle(10, -225)
t.circle(400, -3)
t.seth(90)
t.forward(21)
t.goto(-4, -100)
t.end_fill()
t.penup()
t.goto(-100, 50)
t.pendown()
t.seth(225)
t.color("black", "yellow")
t.begin_fill()
t.forward(40)
t.left(90)
t.forward(35)
t.seth(90)
t.forward(50)
t.end_fill()
t.penup()
t.goto(100, 50)
t.pendown()
t.seth(315)
t.color("black", "yellow")
t.begin_fill()
t.forward(40)
t.right(90)
t.forward(36)
t.seth(90)
t.forward(50)
t.end_fill()
t.penup()
t.goto(0, -100)
t.pendown()
t.forward(30)
t.penup()
t.goto(0, -20)
t.pendown()
t.color("yellow")
t.begin_fill()
t.seth(45)
t.forward(20)
t.circle(10, 180)
t.right(90)
t.circle(10, 180)
t.forward(20)
t.end_fill()
t.penup()
t.color("black")
t.goto(-100, -20)
t.pendown()
t.circle(30, 90)
t.penup()
t.goto(100, -20)
t.pendown()
t.circle(30, -90)
t.penup()
t.goto(2, 300)
t.pendown()
t.begin_fill()
t.seth(135)
t.circle(100, 40)
t.end_fill()
t.penup()
t.goto(2, 300)
t.pendown()
t.begin_fill()
t.seth(45)
t.circle(100, 40)
t.end_fill()

二、画小猪佩奇

小猪佩奇大家都很熟悉,它是由国人阿斯特利(Astley)、贝克(Baker)、戴维斯(Davis)创作、导演和制作的一部英国学前电视动画片,小猪佩奇头用椭圆形,下半身用直线,代码展示:

import turtle as tt.pensize(4)
t.hideturtle()
t.colormode(255)
t.color((255, 155, 192), "pink")
t.setup(840, 500)
t.speed(10)#鼻子
t.pu()
t.goto(-100, 100)
t.pd()
t.seth(-30)
t.begin_fill()
a = 0.4
for i in range(120):if 0 <= i < 30 or 60 <= i < 90:a = a+0.08t.lt(3)  # 向左转3度t.fd(a)  # 向前走a的步长else:a = a-0.08t.lt(3)t.fd(a)
t.end_fill()t.pu()
t.seth(90)
t.fd(25)
t.seth(0)
t.fd(10)
t.pd()
t.pencolor(255, 155, 192)
t.seth(10)
t.begin_fill()
t.circle(5)
t.color(160, 82, 45)
t.end_fill()t.pu()
t.seth(0)
t.fd(20)
t.pd()
t.pencolor(255, 155, 192)
t.seth(10)
t.begin_fill()
t.circle(5)
t.color(160, 82, 45)
t.end_fill()#头
t.color((255, 155, 192), "pink")
t.pu()
t.seth(90)
t.fd(41)
t.seth(0)
t.fd(0)
t.pd()
t.begin_fill()
t.seth(180)
t.circle(300, -30)
t.circle(100, -60)
t.circle(80, -100)
t.circle(150, -20)
t.circle(60, -95)
t.seth(161)
t.circle(-300, 15)
t.pu()
t.goto(-100, 100)
t.pd()
t.seth(-30)
a = 0.4
for i in range(60):if 0 <= i < 30 or 60 <= i < 90:a = a+0.08t.lt(3)  # 向左转3度t.fd(a)  # 向前走a的步长else:a = a-0.08t.lt(3)t.fd(a)
t.end_fill()#耳朵
t.color((255, 155, 192), "pink")
t.pu()
t.seth(90)
t.fd(-7)
t.seth(0)
t.fd(70)
t.pd()
t.begin_fill()
t.seth(100)
t.circle(-50, 50)
t.circle(-10, 120)
t.circle(-50, 54)
t.end_fill()t.pu()
t.seth(90)
t.fd(-12)
t.seth(0)
t.fd(30)
t.pd()
t.begin_fill()
t.seth(100)
t.circle(-50, 50)
t.circle(-10, 120)
t.circle(-50, 56)
t.end_fill()#眼睛
t.color((255, 155, 192), "white")
t.pu()
t.seth(90)
t.fd(-20)
t.seth(0)
t.fd(-95)
t.pd()
t.begin_fill()
t.circle(15)
t.end_fill()t.color("black")
t.pu()
t.seth(90)
t.fd(12)
t.seth(0)
t.fd(-3)
t.pd()
t.begin_fill()
t.circle(3)
t.end_fill()t.color((255, 155, 192), "white")
t.pu()
t.seth(90)
t.fd(-25)
t.seth(0)
t.fd(40)
t.pd()
t.begin_fill()
t.circle(15)
t.end_fill()t.color("black")
t.pu()
t.seth(90)
t.fd(12)
t.seth(0)
t.fd(-3)
t.pd()
t.begin_fill()
t.circle(3)
t.end_fill()#腮
t.color((255, 155, 192))
t.pu()
t.seth(90)
t.fd(-95)
t.seth(0)
t.fd(65)
t.pd()
t.begin_fill()
t.circle(30)
t.end_fill()#嘴
t.color(239, 69, 19)
t.pu()
t.seth(90)
t.fd(15)
t.seth(0)
t.fd(-100)
t.pd()
t.seth(-80)
t.circle(30, 40)
t.circle(40, 80)#身体
t.color("red", (255, 99, 71))
t.pu()
t.seth(90)
t.fd(-20)
t.seth(0)
t.fd(-78)
t.pd()
t.begin_fill()
t.seth(-130)
t.circle(100, 10)
t.circle(300, 30)
t.seth(0)
t.fd(230)
t.seth(90)
t.circle(300, 30)
t.circle(100, 3)
t.color((255, 155, 192), (255, 100, 100))
t.seth(-135)
t.circle(-80, 63)
t.circle(-150, 24)
t.end_fill()#手
t.color((255, 155, 192))
t.pu()
t.seth(90)
t.fd(-40)
t.seth(0)
t.fd(-27)
t.pd()
t.seth(-160)
t.circle(300, 15)
t.pu()
t.seth(90)
t.fd(15)
t.seth(0)
t.fd(0)
t.pd()
t.seth(-10)
t.circle(-20, 90)t.pu()
t.seth(90)
t.fd(30)
t.seth(0)
t.fd(237)
t.pd()
t.seth(-20)
t.circle(-300, 15)
t.pu()
t.seth(90)
t.fd(20)
t.seth(0)
t.fd(0)
t.pd()
t.seth(-170)
t.circle(20, 90)#脚
t.pensize(10)
t.color((240, 128, 128))
t.pu()
t.seth(90)
t.fd(-75)
t.seth(0)
t.fd(-180)
t.pd()
t.seth(-90)
t.fd(40)
t.seth(-180)
t.color("black")
t.pensize(15)
t.fd(20)t.pensize(10)
t.color((240, 128, 128))
t.pu()
t.seth(90)
t.fd(40)
t.seth(0)
t.fd(90)
t.pd()
t.seth(-90)
t.fd(40)
t.seth(-180)
t.color("black")
t.pensize(15)
t.fd(20)#尾巴
t.pensize(4)
t.color((255, 155, 192))
t.pu()
t.seth(90)
t.fd(70)
t.seth(0)
t.fd(95)
t.pd()
t.seth(0)
t.circle(70, 20)
t.circle(10, 330)
t.circle(70, 30)

三、画蜘蛛侠

蜘蛛侠是漫威漫画里的人物,画这个只需要掌握circle()和画曲线即可,代码:

from turtle import *
bgcolor("#990000")
pensize(10)
penup()
goto(0, 50)
pendown()
circle(-120)
penup()
circle(-120, -60)
pendown()
pensize(5)
right(50)
circle(70, 55)
right(85)
circle(75, 58)
right(90)
circle(70, 55)
right(90)
circle(70, 58)
penup()
pensize(10)
goto(80, 15)
pendown()
seth(92)
fd(135)
seth(125)
circle(30, 135)
seth(190)
fd(50)
seth(125)
circle(30, 135)
seth(275)
fd(90)
penup()
pensize(10)
goto(92, -150)
seth(240)
pendown()
fd(80)
left(10)
circle(-28, 185)
penup()
goto(0, 50)
seth(0)
pensize(10)
circle(-120, -60)
seth(200)
pendown()
fd(72)
left(20)
circle(30, 150)
left(20)
fd(20)
right(15)
fd(10)
pensize(5)
fillcolor("#3366cc")
begin_fill()
seth(92)
circle(-120, 31)
seth(200)
fd(45)
left(90)
fd(52)
end_fill()
fd(-12)
right(90)
fd(40)
penup()
right(90)
fd(18)
pendown()
right(86)
fd(40)
penup()
goto(-152, -86)
pendown()
left(40)
circle(35, 90)
penup()
goto(-80, 116)
seth(10)
pensize(5)
pendown()
begin_fill()
fillcolor("#3366cc")
fd(155)
seth(-88)
fd(37)
seth(195)
fd(156)
end_fill()
penup()
goto(-75, 38)
seth(15)
pendown()
begin_fill()
fd(158)
seth(-88)
fd(55)
seth(140)
circle(120, 78)
end_fill()
penup()
fillcolor("#3366cc")
pensize(5)
goto(75, -170)
pendown()
begin_fill()
seth(240)
fd(30)
right(90)
fd(17)
end_fill()
fd(10)
left(80)
fd(55)
penup()
left(90)
fd(15)
pendown()
left(85)
fd(55)
penup()
goto(43, -225)
left(84)
pendown()
circle(60, 51)
for i in range(3):penup()goto(-70+i*15, 135)seth(-90)pendown()pensize(5)fd(15-2*i)
for i in range(3):penup()goto(36 + i * 15, 156)seth(-90)pendown()pensize(5)fd(15 - 2 * i)a = -60b = 70
for i in range(4):penup()goto(a, b)a = a+40b = b+10seth(-90)pendown()pensize(5)fd(26)def oo(li, jing):penup()goto(0, 50)seth(0)circle(-120, li)pendown()right(jing)pensize(5)
oo(-60, 110)
fd(130)
oo(-28, 96)
fd(140)
oo(9, 89)
fd(144)
oo(42, 70)
fd(160)
oo(80, 60)
fd(130)
penup()
goto(-80, -40)
right(160)
pendown()
right(50)
circle(70, 45)
right(75)
circle(70, 38)
right(50)
circle(70, 45)
right(90)
circle(70, 48)
penup()
goto(-53, -70)
pendown()
left(40)
circle(70, 30)
right(50)
circle(70, 20)
right(50)
circle(70, 38)
right(70)
circle(70, 24)
penup()
goto(-19, -105)
left(72)
pendown()
fd(22)
right(60)
fd(22)
oo(-140, 80)
circle(-90, 120)
penup()
oo(140, 100)
circle(90, 13)
pendown()
right(-50)
circle(70, 45)
right(75)
circle(70, 38)
right(50)
circle(70, 36)
penup()
goto(22, -185)
right(70)
pendown()
fd(72)
penup()
goto(-40, -182)
right(38)
pendown()
fd(70)
penup()
pensize(7)
goto(-15, -110)
seth(0)
pendown()
pensize(10)
begin_fill()
left(130)
fd(110)
right(250)
circle(90, 60)
circle(40, 120)
fillcolor("#F5FFFA")
end_fill()
penup()
goto(5, -110)
pendown()
begin_fill()
right(30)
fd(110)
right(-250)
circle(-90, 60)
circle(-40, 120)
end_fill()
done()

总结:

这些内容,主要用了circle()画圆的方法,画出了小黄人,小猪佩奇和蜘蛛侠这三种形象。

Python画动漫人物(2)相关推荐

  1. 怎么画动漫人物的五官:耳鼻眼嘴

    今天给大家带来的是动漫人物五官教程,动漫人物五官怎么画呢?下面就是动漫人物五官的详细绘画步骤,不知道怎么画动漫人物五官的童鞋,赶紧学习吧! 动漫人物五官的画法你学会了吗?学会动漫人物五官是很重要的哦

  2. 画动漫人物眼睛怎么上色

    轻微课网校原创内容,禁止商用转载! 画动漫人物眼睛怎么上色?眼睛上色怎么画?眼睛怎么上色?相信是很多小画家都头疼的地方 !今天给大家带来的是眼睛上色绘画教程,下面开始进入详细的眼睛上色绘画步骤讲解吧! ...

  3. 怎么画动漫人物的头发

    怎么画动漫人物的头发,今天我们来说说怎么画动漫人物的头发,想知道怎么画动漫人物的头发,就好好学习吧! 本期关于动漫人物头发画法的教程就结束啦,大家多练习几遍才能学会动漫人物头发画法哦!

  4. 怎么画动漫人物衣服衣纹

    怎么画动漫人物衣服衣纹,今天我们来说说怎么画动漫人物衣服衣纹,想知道怎么画动漫人物衣服衣纹,就好好学习吧! 本期关于动漫人物衣服衣纹画法的教程就结束啦,大家多练习几遍才能学会动漫人物衣服衣纹画法哦!

  5. 怎么画动漫人物的眼睛

    怎么画动漫人物的眼睛?今天给大家带来的是动漫眼睛绘画教程,下面开始进入详细的动漫眼睛绘画步骤讲解吧! 一:画两个正圆 想要画出萝莉的萌系大眼,可以先画两个正圆来代表眼睛的范围. 二:画两个正圆 然后沿 ...

  6. 如何画动漫人物的耳朵?动漫人物耳朵的画法

    如何画动漫人物的耳朵?动漫人物耳朵的画法,教程比较详细,但要画的好,还是需要绘画基础,作者从参考到构图,最后出线稿和上色都讲解了一下,最后做一下光源细化细节即可. 最终效果 一.勾勒耳部草图 1.首先 ...

  7. 【经验】画动漫人物脸部需要注意些什么?

    画动漫人物脸部需要注意些什么?今天为大家带来了一组漫画人物脸部教程哦,有很多人都喜欢漫画吧,那么那些漫画世界里面的人物都是怎样画出来的呢?首先我们需要明白掌握人物的脸部是开始漫画绘制的基础哦,好啦就让 ...

  8. 如何画动漫人物的手?怎样才能画好动漫人物的手?

    如何画人物的手?怎样才能画好动漫人物的手?画好动漫人物的手有哪些技巧?想必这些问题都是初学者们比较伤脑筋的问题,那么到底怎样才能画好动漫人物的手呢?今天就在网络上收集整理了关于如何画动漫人物的手?动漫 ...

  9. html5画动漫人物,画动漫人物女生可爱

    先画出女孩子的头发,往下画出她的脸,在头部左右两侧画出马尾辫,然后画她的衣服和身体,最后给她的头发涂黄色,面部涂肤色,衣服涂上红色和蓝色,一个可爱的动漫人物就画出来了. 画动漫人物女生简笔画教程 1. ...

  10. 用代码画动漫人物Java_画动漫人物眼睛步骤

    画动漫人物眼睛步骤,眼睛是表现漫画人物角色表情和特征最重要的部分之一,眼睛绘制的好坏直接影响到整个头部的效果,下面我们就一起来学习眼睛怎么画吧! 推荐大家可以搜一下:轻微课,或者下载轻微课APP,轻微 ...

最新文章

  1. PostgreSql 功能和操作
  2. 简明 Vim 练级攻略
  3. 变换编码(DCT)基本理解
  4. Imagelist 控件
  5. python考试名词解释_python公开课|python专有名词居然有这么多,python专有名词解释已做好...
  6. Spark精华问答 | 为什么选择Spark作为流计算引擎?
  7. 小米首页html代码,小米首页小功能案例.html
  8. 写简历的大原则和投简历的小技巧
  9. 你怎么看:就算老公一毛钱股份都没拿到,在我心里,他依然是最牛逼的创业者...
  10. JAVA一维数组求和
  11. IE下载文件时,中文文件名乱码问题
  12. 闲聊人工智能产品经理(AIPM)—方法论
  13. pregnant用法
  14. 【软考】【系统架构设计师】最小生成树知识点
  15. Redis应用---Redis可以用来做什么?
  16. xmp是什么格式的文件
  17. 培训4个月编程学什么比较好_编程,开放式硬件以及4月的更多新文章
  18. 生命不息折腾不止 ---- 开发编辑器第二话
  19. 华为桌面云FusionAccess解决方案
  20. MD5 SHA1 HMAC HMAC_SHA1区别(转载网上大牛)个人备忘和加注了

热门文章

  1. Java API 文档汉化版
  2. 计算机毕业设计SSM大数据与智能工程系教师档案管理系统【附源码数据库】
  3. 三坐标检测之元素的测针半径补偿
  4. 计算机显卡调研,[计算机硬件及网络]显卡调研报告.ppt
  5. 随着计算机多媒体技术的产生和发展,计算机多媒体技术发展趋向.doc
  6. java sinh_Java StrictMath sinh()用法及代码示例
  7. oracle培训教材
  8. 数据结构三级项目c++代码,基于有向有权图的信息管理系统
  9. 火焰检测的一些名词解释
  10. WinCE 调试某手写输入法时遇到的加载手写库失败的问题