哆啦A梦蓝胖子来啦,之前就有我就画过蓝胖子。今天隆重推出机器猫中的战斗猫,用python的turtle画出叮当猫,嘻嘻~

视频版哆啦A梦,简称蓝胖子绘制

工具:

pycharm
turtle

图片展示:

动图展示:

全部源码:

拿走的还请点个赞 收藏一下,不然你会一直遇到BUG《针对广告》

import turtleturtle.speed(5)
turtle.circle(50)
turtle.begin_fill()           #画头
turtle.circle(85)
turtle.fillcolor("blue")
turtle.end_fill()# turtle.penup()
# turtle.goto(0,20)
# turtle.pendown()# turtle.begin_fill()
# turtle.circle(35)
# turtle.fillcolor("white")
# turtle.end_fill()turtle.begin_fill()                #画脸
turtle.circle(60)
turtle.fillcolor("white")
turtle.end_fill()turtle.penup()
turtle.goto(-20,95)             #化左眼眶
turtle.pendown()
turtle.begin_fill()
turtle.circle(19)
turtle.fillcolor("white")
turtle.end_fill()turtle.penup()                  #画右眼眶
turtle.goto(20,95)
turtle.pendown()
turtle.begin_fill()
turtle.circle(19)
turtle.fillcolor("white")
turtle.end_fill()turtle.penup()                 #化左眼珠
turtle.goto(-8,111)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor("black")
turtle.circle(3)
turtle.end_fill()turtle.penup()              #画右眼珠
turtle.goto(8,111)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor("black")
turtle.circle(3)
turtle.end_fill()turtle.penup()              #画鼻子
turtle.goto(0,85)
turtle.pendown()
turtle.begin_fill()
turtle.circle(10)
turtle.fillcolor("red")
turtle.end_fill()turtle.goto(0,30)               #画竖线turtle.penup()            #左边第一根胡子
turtle.goto(-20,70)
turtle.pendown()
turtle.goto(-45,80)turtle.penup()                  #左边第二根胡子
turtle.goto(-20,60)
turtle.pendown()
turtle.goto(-47,60)turtle.penup()                  #左边第三根胡子
turtle.goto(-20,50)
turtle.pendown()
turtle.goto(-47,40)turtle.penup()                  #右边第三根胡子
turtle.goto(20,50)
turtle.pendown()
turtle.goto(47,40)turtle.penup()                  #右边第二根胡子
turtle.goto(20,60)
turtle.pendown()
turtle.goto(47,60)turtle.penup()                  #左边第一根胡子
turtle.goto(20,70)
turtle.pendown()
turtle.goto(45,80)turtle.penup()                  #右边胳膊1
turtle.goto(50,20)
turtle.pendown()
turtle.goto(100,-10)turtle.penup()                  #右边胳膊2
turtle.goto(50,-20)
turtle.pendown()
turtle.goto(80,-40)turtle.begin_fill()
turtle.goto(100,-10)
turtle.goto(50,20)
turtle.goto(50,-20)
turtle.goto(80,-40)
turtle.fillcolor("yellow")
turtle.end_fill()turtle.penup()                  #右手
turtle.goto(100,-50)
turtle.pendown()
turtle.begin_fill()
turtle.circle(20)
turtle.fillcolor("blue")
turtle.end_fill()turtle.penup()                  #左边胳膊1
turtle.goto(-50,20)
turtle.pendown()
turtle.goto(-100,-10)turtle.penup()                  #左边胳膊2
turtle.goto(-50,-20)
turtle.pendown()
turtle.goto(-80,-40)turtle.begin_fill()
turtle.goto(-100,-10)
turtle.goto(-50,20)
turtle.goto(-50,-20)
turtle.goto(-80,-40)
turtle.fillcolor("yellow")
turtle.end_fill()turtle.penup()                  #左手
turtle.goto(-100,-53)
turtle.pendown()
turtle.begin_fill()
turtle.circle(20)
turtle.fillcolor("blue")
turtle.end_fill()turtle.penup()                  #左手
turtle.goto(-50,-20)
turtle.pendown()
turtle.goto(-50,-100)turtle.penup()                  #左手
turtle.goto(50,-20)
turtle.pendown()
turtle.goto(50,-100)turtle.begin_fill()
turtle.penup()
turtle.goto(50,-120)
turtle.pendown()
turtle.circle(10)
turtle.fillcolor("blue")
turtle.end_fill()turtle.begin_fill()
turtle.goto(20,-120)
turtle.circle(10)
turtle.fillcolor("blue")
turtle.end_fill()turtle.penup()
turtle.goto(50,-100)
turtle.pendown()
turtle.goto(20,-100)turtle.penup()
turtle.goto(-50,-120)
turtle.pendown()
turtle.begin_fill()
turtle.circle(10)
turtle.goto(-20,-120)
turtle.circle(10)
turtle.fillcolor("blue")
turtle.end_fill()turtle.penup()
turtle.goto(-20,-100)
turtle.pendown()
turtle.goto(-50,-100)turtle.penup()
turtle.goto(-20,-100)
turtle.pendown()
turtle.goto(-20,-85)turtle.goto(20,-85)
turtle.goto(20,-100)turtle.penup()
turtle.goto(-50,-20)
turtle.pendown()turtle.begin_fill()
turtle.goto(50,-20)
turtle.goto(50,-85)
turtle.goto(-50,-85)
turtle.goto(-50,-20)
turtle.fillcolor("blue")
turtle.end_fill()turtle.penup()
turtle.goto(0,-20)    #铃铛
turtle.pendown()
turtle.begin_fill()
turtle.circle(10)
turtle.fillcolor("yellow")
turtle.end_fill()turtle.penup()
turtle.goto(-10,-10)
turtle.pendown()
turtle.goto(10,-10)turtle.penup()
turtle.goto(-50,20)
turtle.pendown()
turtle.begin_fill()
turtle.goto(50,20)
turtle.goto(50,0)
turtle.goto(-50,0)
turtle.goto(-50,20)
turtle.fillcolor("red")
turtle.end_fill()turtle.penup()
turtle.goto(50,0)
turtle.pendown()
turtle.begin_fill()
turtle.circle(10)
turtle.fillcolor("red")
turtle.end_fill()turtle.penup()
turtle.goto(-50,0)
turtle.pendown()
turtle.begin_fill()
turtle.circle(10)
turtle.fillcolor("red")
turtle.end_fill()turtle.penup()                  #内裤
turtle.goto(-50,-70)
turtle.pendown()
turtle.begin_fill()
turtle.goto(50,-70)
turtle.goto(50,-50)
turtle.goto(-50,-50)
turtle.goto(-50,-70)
turtle.fillcolor("red")
turtle.end_fill()turtle.penup()
turtle.goto(-10,-70)
turtle.pendown()
turtle.begin_fill()
turtle.goto(-10,-85)
turtle.goto(10,-85)
turtle.goto(10,-70)
turtle.goto(-10,-70)
turtle.fillcolor("red")
turtle.end_fill()turtle.penup()
turtle.goto(-100,200)
turtle.pendown()
s = "机器猫中的战斗猫"
turtle.write(s,font = ("Arial",20,"normal"))turtle.done()

Python小项目-画机器猫中的战斗猫相关推荐

  1. python小项目-python 小项目

    广告关闭 2017年12月,云+社区对外发布,从最开始的技术博客到现在拥有多个社区产品.未来,我们一起乘风破浪,创造无限可能. 事先录制好一段音频,客户接通电话后,自动播放https:blog.csd ...

  2. part1:推荐一些适合练手、课程设计、毕业设计的python小项目源码,无任何下载门槛

    人生苦短,我用python,随着python这些年的流行,很多人开始使用python来实现各种功能.下面推荐一些适合用来练手.大学生课程设计作业.大学生毕业设计的python小项目,尤其适合新手,源码 ...

  3. python小项目实例流程-Python小项目:快速开发出一个简单的学生管理系统

    原标题:Python小项目:快速开发出一个简单的学生管理系统 本文根据实际项目中的一部分api 设计抽象出来,实例化成一个简单小例子,暂且叫作「学生管理系统」. 这个系统主要完成下面增删改查的功能: ...

  4. python小项目案例-Python小项目:快速开发出一个简单的学生管理系统

    本文根据实际项目中的一部分api 设计抽象出来,实例化成一个简单小例子,暂且叫作「学生管理系统」. 这个系统主要完成下面增删改查的功能: 包括: 学校信息的管理 教师信息的管理 学生信息的管理 根据A ...

  5. 五十一、结合百度API接口打造 Python小项目

    @Author: Runsen 本项目围绕图像识别,通过调用百度 API 接口,可以实现很多人性化的功能,比如手势识别.比对.人像分割以及颜值打分等功能. 本次Gitchat付费文章,但是因为订阅太少 ...

  6. python项目开发实例-Python小项目:快速开发出一个简单的学生管理系统

    本文根据实际项目中的一部分api 设计抽象出来,实例化成一个简单小例子,暂且叫作「学生管理系统」. 这个系统主要完成下面增删改查的功能: 包括: 学校信息的管理 教师信息的管理 学生信息的管理 根据A ...

  7. 开源Python小项目

    原文地址:开源Python小项目贡献! (github.com) 自述文件模板 项目 SR 否 项目 描述 作者 1 掷骰子刺激器Dice rolling Stimulator 这是一个使用Pytho ...

  8. 100 个 Python 小项目源码,总有一个用得到

    学习 Python 会有这么一个阶段,太简单的程序看不上眼,复杂的开源项目又有点力不从心,这个时候,你就需要接触点简单的 Python 小项目来提升 Python 技能. 碰巧 GitHub 上有这样 ...

  9. 新手友好!101 个 Python 小项目源码(推荐收藏)

    不管学习哪种编程语言,通过小项目练手,是快速提升和巩固技能的最佳方式. 今天推荐一个在 GitHub 有 5000+ Star 的资源仓库,汇集了各色各样的 Python 小项目. GitHub 链接 ...

最新文章

  1. 安卓高手之路之图形系统(6)ListView继续
  2. 几种常用的图像处理函数库
  3. 基于HTTP Live Streaming(HLS) 搭建在线点播系统
  4. 笔试训练第二次知识点汇总
  5. 业务总结003:抽奖活动
  6. cmd chcp命令切换字符格式UTF8
  7. python解析xml生成代码_python解析xml模块封装代码
  8. 利用计算机传播非法信息,非法侵入计算机信息系统罪如何处罚
  9. centos 7 安装ntp服务器
  10. 支持x64的开发工具
  11. 《商务与经济统计》学习笔记(三)
  12. 智慧交通之智能红绿灯调控系统分析
  13. 【模拟】1177.正方形
  14. linux 临界区保护方法,操作系统-信号量临界区保护,
  15. android光标Cursor
  16. Debian旧版本下载
  17. 卷积神经网络CNN——使用keras识别猫咪
  18. 剪绳子(python)
  19. 使用容联云Celery异步发送短信验证码
  20. 判断字符串数组中的数字是否对称

热门文章

  1. Python写入和读取Excel表格数据
  2. 旅游流的概念_国内旅游流综述
  3. python 面向对象理解_怎么理解面向对象?
  4. linux桌面分辨率太高,将Ubuntu调整到高DPI分辨率屏幕
  5. VS错误代码以及解决方案
  6. 【Linux-scp】scp命令
  7. 叹20年奶茶江湖纷争,入局奶茶行业仍有机会
  8. C语言 计算平均成绩
  9. 利用VB批量增加行高,解决Excel打印字体显示不全问题
  10. netstat -ano命令查询端口