AJ未中签的turtle表达法

13(a)20181702029,陈朋阳  20181603233,卢彤

(b)源代码如下

import turtle
t=turtle
t.speed(0)
t.setup(1300,720)
#画轮廓
t.penup()
t.goto(300,300)
t.pensize(10)
t.pendown()
t.begin_fill()
t.seth(-90)
t.forward(400)
t.seth(180)
t.forward(500)
t.left(180)
t.circle(300,-25)
t.seth(70)
t.forward(50)
a=t.xcor()
b=t.ycor()
t.seth(10)
t.forward(130)
t.seth(47)
t.forward(280)
t.seth(80)
t.forward(120)
t.goto(300,300)
t.color("#9C661F")
t.end_fill()
#画细节
t.goto(300,300)
t.pencolor("black")
t.begin_fill()
t.pensize(7)
t.seth(-90)
t.forward(20)
t.seth(175)
t.forward(230)
t.seth(90)
t.forward(20)
t.color("black")
t.end_fill()
t.penup()
t.goto(30,200)
t.pensize(10)
t.pendown()
t.seth(90)
t.forward(10)
t.seth(-30)
t.forward(80)
t.goto(30,200)

t.penup()
t.goto(30,200)
t.pensize(2)
t.pendown()
t.begin_fill()
t.seth(-30)
t.forward(80)
t.goto(300,200)
t.seth(-90)
t.forward(50)
t.seth(-160)
t.forward(90)
t.seth(-90)
t.forward(170)
t.seth(180)
t.forward(200)
t.seth(110)
t.circle(500,13)
t.goto(30,190)
t.color("white")
t.end_fill()

t.penup()
t.goto(a+8,b)
t.seth(-120)
t.pendown()
t.begin_fill()
t.circle(100,5)
t.seth(-3)
t.forward(95)
t.seth(-60)
t.forward(10)
t.seth(90)
t.forward(32)
t.color("white")
t.end_fill()
#画反勾
t.penup()
t.seth(-65)
t.goto(230,140)
t.pencolor("black")
t.pendown()
t.begin_fill()
for j in range(30):
    t.forward(8)
    t.right(2.5)
t.seth(180)
t.forward(80)
t.seth(140)
t.forward(240)
t.seth(-20)
t.forward(200)
for k in range(63):
    t.forward(3)
    t.left(1.9)
t.goto(230,140)
t.color("black")
t.end_fill()
#画鞋底
t.penup()
t.goto(292,-95)
t.pencolor("white")
t.pensize(1)
t.pendown()
t.begin_fill()
t.seth(180)
t.forward(486)
t.left(183)
t.circle(300,-25)
t.seth(70)
t.forward(10)
t.seth(0)
t.forward(610)
t.goto(292,-95)
t.color("#FFF5DC")
t.end_fill()
#画AJ标志
t.penup()
t.goto(230,225)
t.pencolor("black")
t.pendown()
t.begin_fill()
t.seth(160)
t.forward(10)
t.seth(100)
t.circle(70,120)
t.seth(160)
t.forward(10)
t.seth(-80)
t.forward(10)
t.seth(160)
t.forward(30)
t.seth(-45)
t.forward(100)
t.seth(0)
t.forward(100)
t.seth(155)
t.forward(30)
t.goto(230,225)
t.color("black")
t.end_fill()
t.penup()
t.goto(178,250)
t.pencolor("white")
t.pendown()
t.seth(120)
t.circle(23)
t.seth(-140)
t.forward(44)
t.penup()
t.goto(155,235)
t.pendown()
t.seth(-110)
t.forward(20)
t.penup()
t.goto(155,235)
t.pendown()
t.seth(110)
t.forward(28)
t.penup()
t.goto(155,235)
t.seth(70)
t.pendown()
t.circle(50,30)
t.penup()
t.goto(155,235)
t.seth(10)
t.pendown()
t.circle(50,-27)
t.penup()
t.goto(155,235)
t.pendown()
t.seth(-45)
t.forward(22)
t.penup()
t.goto(110,255)
t.pendown()
t.write("A",font=("Times",16,"bold"))
t.penup()
t.goto(125,258)
t.pendown()
t.write("I",font=("Times",16,"bold"))
t.penup()
t.goto(135,261)
t.pendown()
t.write("R",font=("Times",16,"bold"))
t.penup()
t.goto(160,261)
t.pendown()
t.write("J",font=("Times",13,"bold"))
t.penup()
t.goto(170,259)
t.pendown()
t.write("O",font=("Times",13,"bold"))
t.penup()
t.goto(182,250)
t.pendown()
t.write("R",font=("Times",13,"bold"))
t.penup()
t.goto(195,240)
t.pendown()
t.write("D",font=("Times",13,"bold"))
t.penup()
t.goto(202,230)
t.pendown()
t.write("A",font=("Times",13,"bold"))
t.penup()
t.goto(212,220)
t.pendown()
t.write("N",font=("Times",13,"bold"))
#画鞋带
t.penup()
t.pencolor("black")
t.goto(10,180)
t.pensize(15)
t.pendown()
t.circle(3)
t.pensize(10)
t.pencolor("pink")
t.seth(135)
t.forward(15)
t.penup()
t.pencolor("black")
t.goto(-30,130)
t.pensize(18)
t.pendown()
t.circle(3)
t.pensize(10)
t.pencolor("pink")
t.seth(135)
t.forward(16)
t.penup()
t.pencolor("black")
t.goto(-70,80)
t.pensize(15)
t.pendown()
t.circle(3)
t.pensize(10)
t.pencolor("pink")
t.seth(135)
t.forward(18)
t.penup()
t.pencolor("black")
t.goto(-110,45)
t.pensize(15)
t.pendown()
t.circle(3)
t.pensize(10)
t.pencolor("pink")
t.seth(135)
t.forward(15)
t.penup()
t.pencolor("black")
t.goto(-150,0)
t.pensize(15)
t.pendown()
t.circle(3)
t.pensize(10)
t.pencolor("pink")
t.seth(135)
t.forward(15)
#画鞋尖
t.penup()
t.pencolor("black")
t.pensize(4)
t.goto(-220,-20)
t.pendown()
t.circle(1)
t.penup()
t.goto(-240,-23)
t.pendown()
t.circle(1)
t.penup()
t.goto(-260,-26)
t.pendown()
t.circle(1)
t.penup()
t.goto(-220,-30)
t.pendown()
t.circle(1)
t.penup()
t.goto(-280,-30)
t.pendown()
t.circle(1)
#写联名
t.penup()
t.goto(-500,-240)
t.pencolor("gold")
t.pendown()
t.write("NIKE X TRAVIS SCOTT",font=("TIMES",70,"bold"))
t.hideturtle()
#画表情
t.penup()
t.goto(-275,250)
t.pencolor("yellow")
t.pendown()
t.begin_fill()
t.circle(150)
t.color("yellow")
t.end_fill()
t.penup()
t.pensize(9)
t.pencolor("black")
t.goto(-500,200)
t.seth(0)
t.pendown()
t.forward(80)
t.seth(160)
t.forward(100)
t.penup()
t.pencolor("YELLOW")
t.pensize(0.5)
t.goto(-480,195)
t.seth(0)
t.pendown()
t.begin_fill()
t.forward(40)
t.right(90)
t.forward(160)
t.right(90)
t.forward(40)
t.goto(-480,195)
t.color("#3399ff")
t.end_fill()
t.penup()
t.goto(-260,200)
t.pencolor("black")
t.pensize(9)
t.seth(180)
t.pendown()
t.forward(80)
t.seth(20)
t.forward(100)
t.penup()
t.pensize(0.5)
t.goto(-320,195)
t.pencolor("yellow")
t.pendown()
t.begin_fill()
t.seth(0)
t.forward(40)
t.right(90)
t.forward(160)
t.right(90)
t.forward(40)
t.goto(-320,195)
t.color("#3399ff")
t.end_fill()
t.penup()
t.pencolor("#ff9933")
t.goto(-380,120)
t.pendown()
t.begin_fill()
t.seth(-75)
t.forward(100)
t.seth(180)
t.forward(50)
t.goto(-380,120)
t.color("#ff9933")
t.end_fill()
#写心情
t.penup()
t.goto(330,200)
t.pencolor("black")
t.pendown()
t.write("万年陪跑",font = ("Times", 40,"bold"))
t.penup()
t.goto(330,100)
t.pendown()
t.pencolor("red")
t.write("省钱了",font = ("Times", 40,"bold"))
t.penup()
t.pencolor("green")
t.goto(330,0)
t.pendown()
t.write("我佛了",font = ("Times", 40,"bold"))
t.penup()
t.pencolor("blue")
t.goto(330,-100)
t.pendown()
t.write("中签?tan90°",font=("Times",40,"bold"))

(c)观看视频:https://b23.tv/av52651666

(d)小哥哥小姐姐们的朋友圈里最近是不是都出现过一款棕色倒钩的A锥鞋子呢?没错,SNKRS于上周六九点抽签发售的这款与美国知名rapper Travis Scott联名款AJ可谓是火遍了大江南北,成为今年的大热球鞋,诸多小伙伴纷纷晒出自己满怀期待去抽签,满脸泪水未中签的历程。于是本组小伙伴一拍即合,把未中签小伙伴们的心情以轻松的方式用turtle画出来嘿嘿嘿。希望人美心善的小姐姐们潇洒帅气的小哥哥们可以给我们宝贵一票!

posted on 2019-05-14 14:13  jefferylu  阅读(442)  评论(0编辑  收藏  举报