Print a Spirograph using turtle in Python Last Updated : 11 Sep, 2021 Summarize Comments Improve Suggest changes Share 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 A 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 Like