turtle 🐢 graphics in python #python #turtle #coding #code #programming

preview_player
Показать описание
Try it and enjoy it😀😀
⭐ ⭐ ⭐⭐
GitHub Profile link 👇👇

⭐ ⭐ ⭐ ⭐
LinkedIn Profile link 👇👇

Hashtags
#shorts
#Turtle
#python
#graphics
#programming
#pythonturtle
#shorts
#youtubeshorts
#shortvideo 
#viralshorts
#trending
#youtube
#viral
#design
#trending
#codes 
#program
#learntocode
#programmingpuzzles
#github
#linkedin
#viral
#viralvideo
#trending
#design
#animation
#codes
#graphics
#learntocode
#viral
#trending
Рекомендации по теме
Комментарии
Автор

try this
import turtle
import colorsys

t = turtle.Turtle()
s =
t.speed(100)
n = 70
h = 0
for i in range(360):
c = colorsys.hsv_to_rgb(h, 1, 0.8)
h += 1/n
t.color(c)
t.left(1)
t.fd(1)
for j in range(2):
t.left(2)
t.circle(100)

mikeshen-vygz
Автор

For all those wondering why the triangles are staying black for you...

Your error is within this section of code.

For j in range(2)
t.fd(i * j)
t.rt(109)
t.end_fill() make sure this is flush with your for loop NOT within it.

like this

For j in range(2)
t.fd(i * j)
t.rt(109)
t.end_fill()

jameswise
Автор

Hello bro kon sa compiler use karte ho bata dijiye

Codingtech-R
Автор

Olá! Como faço para colocar em tela cheia igual o seu? O meu fica uma tela igual do Tkinter

Edição : acabei de resolver, o meu pydroid estava bugado

Brolyzzin
Автор

the code is

import turtle as t
import colorsys
t.bgcolor("black")
t.tracer(100)
t.pensize(1)
h = 0.5
for i in range(250):
c = colorsys.hsv_to_rgb(h, 1, 1)
h = 0.0008
t.fillcolor(c)
t.begin_fill()
t.fd(i)
t.lt(100)
t.circle(30)
for j in range(2):
t.fd(i*j)
t.rt(109)
t.end_fill()

GamerToilet
Автор

My mom has been experimenting with python and came across your video. She tried your code and it didn’t work. I found the app you use and tried it on my phone and it didn’t work. We only get red, no changing colors. We have checked over the code multiple times, (yes, we checked the 8th line). Why is it not working properly if we have everything identical to yours? What are we missing?

Edit: figured out that the triangles that get drawn are not colored. If change “h = 0.0008” to “h += 0.008” I get rgb in the main part of the graphic. If I leave the third 0, I get light blue and a bit of purple. The triangles remain black, though.

pinkgamerprincess
Автор

try this
import turtle as t
t.pencolor("cyan")
t.bgcolor("black")
t.goto(-200, -100)

for i in range(99):
t.goto(-50, -100)
t.circle(-100, -170)
t.circle(-80, -900)
t.circle(-150, 4500)
t.circle(-290, 1500)

Автор

Nahi hoo rha bhai 1sec me band ho ja rha h

AdarshF
Автор

i get a red drawing :( i don't seem to get the rgb colors

michellelegorreta
Автор

if Line 9 is h+= 0.01 or 0.1or 0.08 or better than this line 9 then we can watch this all colors

However this is amazing
Superb bro

chamithyafernando