Print a Spirograph using turtle in Python Last Updated : 11 Sep, 2021 Comments Improve Suggest changes Like Article Like Report Pre-requisites: Turtle Programming in Python A spirograph is a very interesting geometrical figure which is often symmetrical to both the axes. It produces mathematical roulette curves of the variety technically known as hypotrochoids and epitrochoids. Here, we've used a range of colors to draw circles, you can use your combination as per your color choice. Below is the implementation. Python3 # Import the turtle library for # drawing the required curve import turtle as tt # Set the background color as black, # pensize as 2 and speed of drawing # curve as 10(relative) tt.bgcolor('black') tt.pensize(2) tt.speed(10) # Iterate six times in total for i in range(6): # Choose your color combination for color in ('red', 'magenta', 'blue', 'cyan', 'green', 'white', 'yellow'): tt.color(color) # Draw a circle of chosen size, 100 here tt.circle(100) # Move 10 pixels left to draw another circle tt.left(10) # Hide the cursor(or turtle) which drew the circle tt.hideturtle() Output: Comment More infoAdvertise with us Next Article Print a Spirograph using turtle in Python avanishcodes Follow Improve Article Tags : Python Python-turtle Practice Tags : python Similar Reads Draw Spiraling Polygon using Turtle in Python Prerequisite: Python Turtle Basic Turtle is an inbuilt module of python. It enables us to draw any drawing by a turtle, methods defined in the turtle module and by using some logical loops. To draw something on the screen(cardboard) just move the turtle(pen). To move turtle(pen) there are some funct 1 min read Fractal using Spirograph in Python Introduction Spirograph toy that is used to produce complex patterns using plastic cogs and colored pens. A fractal is a curve, that is developed using a recurring pattern that repeats itself infinitely on a low scale. Fractals are used for modeling structures (such as snowflakes) or for describing 6 min read Draw Spiraling Star using Turtle in Python Prerequisite: Python Turtle Basics Turtle is an inbuilt module of python. It enables us to draw any drawing by a turtle and methods defined in the turtle module and by using some logical loops. To draw something on the screen(cardboard) just move the turtle(pen).To move turtle(pen) there are some fu 1 min read Draw Spiraling Triangle using Turtle in Python Prerequisite: Python Turtle Basic Turtle is an inbuilt module of python. It enables us to draw any drawing by a turtle, methods defined in the turtle module, and by using some logical loops. To draw something on the screen(cardboard) just move the turtle(pen). To move turtle(pen) there are some func 1 min read Draw Spiraling Square using Turtle in Python Prerequisite: Python Turtle Basic Turtle is an inbuilt module of python. It enables us to draw any drawing by a turtle, methods defined in the turtle module and by using some logical loops. To draw something on the screen(cardboard) just move the turtle(pen). To move turtle(pen) there are some funct 1 min read Printing pattern with Recursion using Python Turtle Pre-requisites: Turtle Programming in Python In this article, we are going to display the following pattern using Python Turtle with recursion. In this pattern, the first circle should start with 100-pixel radius, and each subsequent circle is 5 pixels smaller until it reaches radius 10 when the las 2 min read Draw Dot Patterns Using Turtle in Python Prerequisite: Turtle Programming Basics 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 turtle, there are some functions i.e forward(), backward(), etc. 1) Draw Dot Squa 2 min read Draw smiling face emoji using Turtle in Python Prerequisite: Python Turtle Basics 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. To move turtle, there are some functions i.e forward(), backward(), etc. In this article, we will se 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 Like