Hello guys in this video I will tell you that how to draw 3D Spiral Design in
Pydroid 3 - IDE for Python 3 in your Android Device.
#Spiral design #Python #Android
If you enjoy this video like share and subscribe.
Here is the source code of this design👇👇👇
from turtle import *
from random import randint #import random module
bgcolor("black")
x=1 #initializing x
speed(0)
shape("turtle") #define turtle shape
while x 400: #creates while loop for repeat
r=randint(0,255) #taking value randomly 0-255
g=randint(0,255)
b=randint(0,255)
#turtle will take color randomly using (r,g,b)
colormode(255) #define colormode
pencolor(r,g,b) #take value of color
forward(5+x)
right(90.99)
x=x+1 #increament the value of x
exitonclick()
Songs👉1.CHENDA - Mr. Bully [NCS Release]
2.Electro-Light - Symbolism [NCS Release]
Pydroid app download link👇👇
https://play.google.com/store/apps/details?id=ru.iiec.pydroid3
Download
0 formats
No download links available.
SPIRAL Design in Python | Android | Pydroid 3 - IDE for Python 3 | NatokHD