How to draw 2-layered and colored spider web in Python using Turtle Module? Last Updated : 01 Oct, 2020 Summarize Comments Improve Suggest changes Share Like Article Like Report Prerequisite: Python Turtle module Basics We all must have seen the spiderweb at our homes but have you ever wonder how many efforts and patience is required for building that. Let's salute the efforts of Spider and continue building one by ourselves. Spiderwebs usually comprise radical and spiral threads. What if you can make a colored 2-layered spiderweb. Here is a simple tutorial. Approach used : The turtle is moved back and forth to build the radical threads first. The turtle is rotated by an angle of 60 degrees to draw each radical thread. The length of the spiral thread is set to 50 and reduced by 10 at each iteration. The inner loop is concerned with building single spiral thread and the layering of the web, while the outer loop controls the number of spirals to be built. Python3 import turtle as t # define turtle speed t.speed(2) # radical thread for i in range(6): t.forward(100) t.backward(100) t.right(60) # spiral thread length side = 50 # Spider web color t.fillcolor("Yellow") # building web t.begin_fill() for i in range(10): t.penup() t.goto(0, 0) t.pendown() t.setheading(0) t.forward(side) t.right(120) for j in range(6): t.forward(side-2) t.right(60) side = side - 10 t.end_fill() Output Comment More infoAdvertise with us Next Article Draw a snowman using turtle module in Python P pulkitagarwal03pulkit Follow Improve Article Tags : Python Python-turtle Practice Tags : python Similar Reads Draw a Hut using turtle module in Python Turtle is a inbuilt module in Python, which has many functions like forward(), backward(), right() and left() etc. You can draw a hut on the screen just by using the turtle module in Python. In this article, we will create a hut using the turtle module. Approach: Import turtleSet the background colo 2 min read Draw a snowman using turtle module in Python Prerequisite: Turtle module, Drawing Shapes There are many modules in python which depicts graphical illustrations, one of them is turtle, it is an in-built module in Python, which lets the user control a pen(turtle) to draw on screen(drawing board). It is mostly used to illustrate figures, shapes, 2 min read Draw Colored Solid Cube using Turtle in Python Turtle is an inbuilt module in Python. It provides:Â Drawing using a screen (cardboard).Turtle (pen). To draw something on the screen, we need to move this turtle (pen) and to move the turtle(pen), there are some functions like the forward(), backward(), etc. Prerequisite: Turtle Programming Basics 2 min read Draw tree using Turtle module in Python Prerequisite: Turtle module, Drawing Triangle, Drawing Rectangle There are many modules in python which depicts graphical illustrations, one of them is turtle, it is an in-built module in Python, which lets the user control a pen(turtle) to draw on screen(drawing board). It is mostly used to illustr 2 min read Draw sun using Turtle module in Python Prerequisite: Turtle Programming in Python In this article, let's learn how to draw the Sun using turtle in Python. Turtle is an inbuilt module in Python. It helps draw patterns by providing a screen and turtle (pen) as tools. To move the turtle as desired functions defined within the module like fo 1 min read How to draw color filled star in Python-Turtle? Prerequisite: Turtle Programming Basics, Draw Color Filled Shapes in Turtle Turtle is an inbuilt module in Python. It provides drawing using a screen (cardboard) and turtle (pen). To draw something on the screen, we need to move the turtle (pen). To move the turtle, there are some functions i.e forw 2 min read Like