Draw Circle spirograph using turtle graphics

 The best advantage of turtle graphics in python is you can be creativity as much as you want. You can make a lot of creative designs and arts using it. In this article I'll share the source code to draw a beautiful Circle spirograph in your Mobile phone.   


Source Code:- 

import turtle


turtle.bgcolor("black")

turtle.pensize(2)

turtle.speed(0)


for i in range(25):

    for colours in ("red", "magenta", "blue", "cyan", "green", "yellow", "white"):

        turtle.color(colours)

        turtle.circle(100)

        turtle.left(10)

        turtle.hideturtle()

turtle.penup() 

turtle.setposition(-200, -300) 

turtle.pendown() 

turtle.write(" follow@only.python") 

turtle.done() 



Output:-





If you like this article share it with your friends and follow me on Instagram @only.python.



Comments

Popular posts from this blog

Draw Virat Kohli's Cartoon face using python turtle graphics

Draw Shinchan using Turtle graphics in your Mobile phone 😱

Wish Happy Friendship Day using Python turtle graphics