spiderman

mail@pastecode.io avatar
unknown
python
a month ago
3.5 kB
0
Indexable
Never
import turtle
sp=turtle.Turtle()


sp.pensize(5)
sp.speed(10)


s=turtle.Screen()
s.bgcolor("White")
s.title("SpiderMan")
sp.hideturtle()




sp.color("Black")
sp.fillcolor("Red")
sp.begin_fill()
sp.penup()
sp.goto(-200,125)
sp.pendown()




sp.left(90)
sp.circle(-250,180)


sp.forward(120)


sp.circle(-420,60)


sp.circle(-100,75)


sp.left(2.5)
sp.circle(-538.5,57)
sp.end_fill()


#left eye
sp.color("Black")
sp.fillcolor("Black")
sp.begin_fill()
sp.penup()
sp.goto(30,60)
sp.pendown()


sp.left(76)
sp.forward(20)
sp.circle(-280,45)


sp.left(140)
sp.forward(20)
sp.circle(220,40)
sp.circle(80,70)


sp.circle(107,60)
sp.end_fill()


#white left eye
sp.penup()
sp.goto(5,55)
sp.pendown()


sp.color("White")
sp.fillcolor("white")
sp.begin_fill()
sp.right(200)
sp.forward(20)
sp.circle(-70,90)
sp.forward(10)
sp.circle(-100,50)
sp.forward(35)


sp.right(140)
sp.forward(20)
sp.circle(225,42)
sp.end_fill()


#right eye
sp.penup()
sp.goto(90,60)
sp.pendown()


sp.color("Black")
sp.fillcolor("Black")
sp.begin_fill()
sp.left(45)
sp.forward(20)
sp.circle(280,45)


sp.right(140)
sp.forward(20)
sp.circle(-220,40)
sp.circle(-80,70)


sp.circle(-107,60)
sp.end_fill()


#white right eye
sp.pen()
sp.goto(125,55)
sp.pendown()


sp.color("White")
sp.fillcolor("White")
sp.begin_fill()
sp.right(160)
sp.forward(20)


sp.circle(60,80)
sp.forward(10)
sp.circle(90,55)
sp.forward(40)


sp.right(215)
sp.circle(-250,39.5)
sp.end_fill()


#web lines
sp.penup()
sp.goto(30,60)
sp.pendown()


sp.color("Black")
sp.right(203)
sp.forward(60)
sp.left(120)
sp.forward(30)
sp.left(60)
sp.left(2)
sp.forward(35)
sp.left(65)
sp.forward(25)


sp.forward(350)


sp.penup()
sp.goto(90,60)
sp.pendown()
sp.left(42)
sp.forward(338)


sp.penup()
sp.goto(-40,8)
sp.pendown()
sp.right(65)
sp.forward(185)


sp.penup()
sp.goto(145,18)
sp.pendown()
sp.left(90)
sp.forward(190)


sp.penup()
sp.goto(40,85)
sp.pendown()
sp.left(150)
sp.forward(280)


sp.penup()
sp.goto(75,88)
sp.pendown()
sp.right(25)
sp.forward(280)


sp.penup()
sp.goto(26,65)
sp.pendown()
sp.left(45)
sp.forward(280)


sp.penup()
sp.goto(90,65)
sp.pendown()
sp.right(65)
sp.forward(270)


#web circle
sp.penup()
sp.goto(-5,20)
sp.pendown()
sp.right(70)
sp.circle(-20,45)


sp.left(90)
sp.circle(-90,65)


sp.left(90)
sp.circle(-40,30)


#webline2
sp.penup()
sp.goto(-140,60)
sp.pendown()


sp.right(90)
sp.circle(-205,35)


sp.left(60)
sp.circle(-150,40)


sp.left(100)
sp.circle(-280,45)


sp.left(100)
sp.circle(-130,45)


sp.left(60)
sp.circle(-135,45)


#webline 3
sp.penup()
sp.goto(0,75)
sp.pendown()
sp.circle(25,45)


sp.right(90)
sp.circle(40,45)


sp.right(70)
sp.circle(60,45)


sp.right(70)
sp.circle(35,45)


sp.right(65)
sp.circle(30,45)


#web line 4
sp.penup()
sp.goto(-45,105)
sp.pendown()


sp.left(80)
sp.circle(65,50)


sp.right(100)
sp.circle(60,65)


sp.right(100)
sp.circle(110,45)


sp.right(80)
sp.circle(60,65)


sp.right(90)
sp.circle(65,45)


#webline 5
sp.penup()
sp.goto(-96,157)
sp.pendown()


sp.left(110)
sp.circle(110,45)


sp.right(110)
sp.circle(90,70)


sp.right(105)
sp.circle(125,65)


sp.right(110)
sp.circle(90,70)


sp.right(90)
sp.circle(100,40)


sp.penup()
sp.goto(-130,296)
sp.pendown()


#web line 6
sp.left(55)
sp.circle(105,65)


sp.right(90)
sp.circle(175,53)


sp.right(90)
sp.circle(120,60)


sp.right(75)
sp.circle(280,30)


sp.right(65)
sp.circle(440,38)


sp.right(65)
sp.circle(220,42.5)


sp.right(120)
sp.circle(250,75)


sp.right(120)
sp.circle(232,40)


sp.right(75)
sp.circle(280,60)


sp.right(75)
sp.circle(260,35)


turtle.done()
Leave a Comment