Amazing Rotating Python Graphics Design using Turtle 🐢

Поделиться
HTML-код
  • Опубликовано: 14 дек 2024
  • НаукаНаука

Комментарии • 394

  • @Myself-v3b
    @Myself-v3b 10 месяцев назад +708

    From turtle import*
    import colorsys
    bgcolor("black")
    tracer(500)
    def draw():
    h=0
    for i in range(75):
    c=colorsys.hsv_to_rgb(h,1,1)
    h+=0.5
    up()
    goto(0,0)
    down()
    color('black')
    fillcolor(c)
    begin_fill()
    rt (98)
    circle(i,12)
    fd (290)
    fd(i)
    lt (29)
    for j in range (129):
    fd(i)
    circle(j,299, steps=2)
    end_fill()
    draw()
    done()
    Hope it's helpful ❤

    • @lavender_artistic_05
      @lavender_artistic_05 8 месяцев назад +12

      It's not showing in vscode
      I'm a beginner can u help me

    • @patel.nilesh
      @patel.nilesh 8 месяцев назад +9

      Bro it's running but showing all black?? What should I do

    • @tejaspohare2169
      @tejaspohare2169 6 месяцев назад +2

      This situation mi also

    • @tejaspohare2169
      @tejaspohare2169 6 месяцев назад +1

      Could you help mi

    • @tejaspohare2169
      @tejaspohare2169 6 месяцев назад +3

      Which software are use

  • @Paper_Trader
    @Paper_Trader 10 месяцев назад +196

    For loop, nice.

    • @evan_kirk
      @evan_kirk 9 месяцев назад +4

      Минус память?

    • @crazygamer82821
      @crazygamer82821 8 месяцев назад

      @@evan_kirk привет

  • @harikishore7472
    @harikishore7472 8 месяцев назад +18

    Thanks for the knowledge 👍🏻

  • @m.zeeshan_shahi
    @m.zeeshan_shahi 8 месяцев назад +3

    Wow very cool loop..😊

  • @musakhanismaiel2844
    @musakhanismaiel2844 11 месяцев назад +73

    Thanks I am new student ❤❤❤

  • @Navitha-nandu4xh8y
    @Navitha-nandu4xh8y 7 месяцев назад +46

    Sir pls describe full video how to run computer graphics project in python

  • @Snehal-865
    @Snehal-865 3 месяца назад +8

    Music 🎵 outstanding 😀👍

  • @notlinn
    @notlinn 9 месяцев назад +4

    I learning python

  • @SVCTCOLLEGE
    @SVCTCOLLEGE 9 месяцев назад +8

    Where did you learn this

  • @Atlas4020-if9ch
    @Atlas4020-if9ch 9 месяцев назад +7

    what program was used?

  • @RealGian01
    @RealGian01 5 месяцев назад +21

    from turtle import *
    import colorsys
    bgcolor('black')
    tracer(500)
    def draw():
    h = 0
    for i in range(100):
    c = colorsys.hsv_to_rgb(h, 1, 1)
    h += 0.01 # Slightly adjusted to avoid rapid color cycling
    up()
    goto(0, 0)
    down()
    color('black')
    fillcolor(c)
    begin_fill()
    rt(98)
    circle(i, 12)
    fd(290)
    fd(i)
    lt(29)
    for j in range(129):
    fd(i)
    circle(j, 299, steps=2)
    end_fill()
    draw()
    done()

  • @Techlaptop100k
    @Techlaptop100k 7 дней назад +1

    Bhai kon sa application hai 🙏🙏🙏

  • @DrSoftman
    @DrSoftman 2 месяца назад +1

    Very good, very nice.

  • @ShwetaSoni-uq5qv
    @ShwetaSoni-uq5qv Месяц назад +2

    Nice I have also tried

  • @ArfanAli-y7c4r
    @ArfanAli-y7c4r 4 дня назад

    amazing

  • @SyedmutaherAhmed
    @SyedmutaherAhmed 3 месяца назад

    Amazing ❤surprised 🎉🎉🎉🎉🎉

  • @RinsyRinsy-v8m
    @RinsyRinsy-v8m 9 месяцев назад +1

    Alllaaaa picture... Njaan odi....

  • @ArfanAli-y7c4r
    @ArfanAli-y7c4r 4 дня назад

    ap ka channel subscribe karna banta ha

  • @nituchauhan4607
    @nituchauhan4607 5 месяцев назад

    Very nice😊😊😊

  • @MyCodingDiary
    @MyCodingDiary Год назад +19

    Your passion for programming really shines through your videos. Keep up the great work!

  • @magicworld_byTsubaki
    @magicworld_byTsubaki 9 месяцев назад +4

    Amazing

  • @Coding-l4e4i
    @Coding-l4e4i 4 месяца назад +1

    Nice🎉🎉🎉🎉

  • @Somethinghhh
    @Somethinghhh 10 месяцев назад +6

    I did it .....🎉

    • @vishvam03
      @vishvam03 4 месяца назад

      Does it work in windows?

  • @ezekielschmittart
    @ezekielschmittart Месяц назад

    Love that it's set to psytrance music!

  • @fathimaamnap8416
    @fathimaamnap8416 Месяц назад +1

    I done it in the 1st try itself

  • @Rizwana-v5k
    @Rizwana-v5k 7 месяцев назад +6

    Literally worked
    So good 🤩

  • @rajdancer_99
    @rajdancer_99 2 часа назад

    Kis Website par kiya jata h name kya hai

  • @copperon
    @copperon 9 месяцев назад +7

    I would advise against using `import *`, otherwise pretty cool.

    • @TheeArtSmith
      @TheeArtSmith 8 месяцев назад

      Why?

    • @quantdev
      @quantdev 6 месяцев назад +2

      ​@@TheeArtSmith import * imports EVERYTHING from the library, literally ALL code, and also the imports can conflict with your existing functions/variables on bigger project

    • @JoseHernandez-uy5bc
      @JoseHernandez-uy5bc 5 месяцев назад +1

      @@quantdev what would you use in this instance ???im trying to learn as much as possible

  • @jwstswcks
    @jwstswcks 8 месяцев назад +2

    Which IDE are u using ?

    • @cosmicpegasus090
      @cosmicpegasus090 8 месяцев назад +1

      Looks like visual code studio if you do use vcs make sure you set python as main path otherwise pip and its packages won’t install correctly even with vcs extensions I was lost on coding for a year due to this problem there are RUclips videos that show you how to correctly path python also once you’ve path’ed python you can run source code in cmd, python (of course), and vcs happy coding 😁

    • @dev.19.community
      @dev.19.community  8 месяцев назад

      Thanks Buddy

  • @Serene.Lo-Fi
    @Serene.Lo-Fi 11 месяцев назад +8

    Bhai ye phone se hua hai??

  • @arshadsiddiqui6552
    @arshadsiddiqui6552 8 месяцев назад +3

    Which app

  • @Krgaming9874
    @Krgaming9874 8 месяцев назад +1

    Kisme banana hai ye plz batao na❤

  • @mahidmunna01
    @mahidmunna01 4 месяца назад

    Awosome❤

  • @rahatislam5027
    @rahatislam5027 2 месяца назад

    from turtle import *
    import colorsys
    bgcolor("black")
    tracer(500)
    def draw():
    h = 0
    for i in range(75):
    c = colorsys.hsv_to_rgb(h, 1, 1) # Get color based on hue
    h += 0.01 # Smaller hue increment for smooth color transition
    up()
    goto(0, 0) # Move turtle to the center
    down()
    color('black')
    fillcolor(c) # Set the fill color
    begin_fill()
    rt(98) # Turn right 98 degrees
    circle(i, 12) # Draw part of a circle with radius 'i' and extent 12
    fd(290) # Fixed movement forward (290 units)
    fd(i) # Dynamic forward movement based on 'i'
    lt(29) # Turn left 29 degrees
    for j in range(10): # Reduced inner loop iterations for better control
    fd(2 * i) # Forward movement based on 'i'
    circle(j, 50, steps=2) # Draw smaller polygons inside the shape
    end_fill() # End the fill after the shape is drawn
    draw()
    done()

  • @mageshkumarr5246
    @mageshkumarr5246 6 месяцев назад +1

    Amazing its working

  • @JyothiKoppisetti-ed9rj
    @JyothiKoppisetti-ed9rj 9 месяцев назад +4

    Nice broo

  • @qodirjondadaboyev8169
    @qodirjondadaboyev8169 Год назад +4

    thanks for code

  • @TokyoTube_Official
    @TokyoTube_Official 8 месяцев назад +4

    its realy works

    • @abineshwariabineshwari207
      @abineshwariabineshwari207 8 месяцев назад

      Noo

    • @TokyoTube_Official
      @TokyoTube_Official 8 месяцев назад

      @@abineshwariabineshwari207 kese !!!
      kya masla aarha hy

    • @TokyoTube_Official
      @TokyoTube_Official 7 месяцев назад

      @Dj_MalaaiMusicChiraiGaonNo.1
      from turtle import *
      import colorsys
      bgcolor('white')
      tracer(500)
      def draw():
      h=0
      for i in range(100):
      c = colorsys.hsv_to_rgb(h,1,1)
      h+=0.5
      up()
      goto(0,0)
      down()
      color('red')
      fillcolor(c)
      begin_fill()
      rt(98)
      circle(i,12)
      fd (298)
      fd(i)
      lt(29)
      for j in range(129):
      fd(i)
      circle(j,299,steps=2)
      end_fill()
      draw()
      done()

    • @TokyoTube_Official
      @TokyoTube_Official 7 месяцев назад

      @Dj_MalaaiMusicChiraiGaonNo.1
      yeah try kro

    • @TokyoTube_Official
      @TokyoTube_Official 7 месяцев назад

      @Dj_MalaaiMusicChiraiGaonNo.1
      ap kha ise chalarhy hain

  • @mahamatahmat1565
    @mahamatahmat1565 10 месяцев назад +2

    Thanks man.

  • @feedback01
    @feedback01 2 месяца назад +1

    Can this design be done by graphic designers?non-programmers

  • @gursharanjeetkaur9741
    @gursharanjeetkaur9741 5 месяцев назад

    Thank you 👍😊

  • @dhirendravishwakarma1611
    @dhirendravishwakarma1611 3 месяца назад

    Sir please learn python beginner level

  • @ZTPlayzofficial
    @ZTPlayzofficial 5 месяцев назад +9

    First go to terminal and install turtle and colorsys
    type pip install turtle for install turtlle and type pip install colorsys for colorsys install after installing modules in your terminal type this code in your python file.
    Code:
    from turtle import *
    import colorsys
    bgcolor('black')
    tracer(500)
    def draw():
    h = 0
    for i in range(100):
    c = colorsys.hsv_to_rgb(h, 1, 1)
    h += 0.01 # Slightly adjusted to avoid rapid color cycling
    up()
    goto(0, 0)
    down()
    color('black')
    fillcolor(c)
    begin_fill()
    rt(98)
    circle(i, 12)
    fd(290)
    fd(i)
    lt(29)
    for j in range(129):
    fd(i)
    circle(j, 299, steps=2)
    end_fill()
    draw()
    done()

  • @CodewithAnHome
    @CodewithAnHome 4 месяца назад

    great video

  • @learnbypreet
    @learnbypreet 9 месяцев назад +2

    informative

  • @SamuvelHajjrge
    @SamuvelHajjrge Месяц назад

    ❤❤❤ooo

  • @Manureaswell
    @Manureaswell 9 месяцев назад +4

    Is there reason you skipped the first 2 Lines

  • @manishamittal1810
    @manishamittal1810 5 месяцев назад

    Bhai ye computer me ho sakta h kya ya laptop me

  • @Cutequingy
    @Cutequingy 5 месяцев назад +1

    Hello if we do code does our text colour change or not

  • @lakshminarayana5932
    @lakshminarayana5932 9 месяцев назад +2

    Thanks bro!!!!!!!

  • @SiddeshThigale
    @SiddeshThigale Месяц назад +1

    from turtles import *
    import colorsys
    def bgcolor(color):
    print(f"Setting background color to {color}")
    bgcolor('black')
    from turtle import tracer(500)
    def draw ():
    h=0
    for i in range(100):
    c=colorsys.hsv_to_rgb(h,1,1)
    h+=0.005
    up()
    goto(0,0)
    down()
    color('black')
    fillcolor(c)
    begin_fill()
    rt(98)
    circle(i,12)
    fd(d)
    lt(29)
    for j in range(129):
    fd(i)
    circle(i,299,steps=2)
    end_fill()
    draw()
    done()

  • @Komiljanakmalov77
    @Komiljanakmalov77 6 месяцев назад

    This is visual studio ?

  • @charithregulla
    @charithregulla 3 месяца назад

    Sir did u use pycharm to do that

  • @nimaigiri9619
    @nimaigiri9619 4 месяца назад

    Thanks 😊

  • @Daily_Dose_1
    @Daily_Dose_1 3 месяца назад +1

    Ready made 😂

  • @GAMINGHUB22169
    @GAMINGHUB22169 Месяц назад +3

    Good 🎉🎉🎉🎉 working

  • @usmangani1m
    @usmangani1m 3 месяца назад

    I am new😊

  • @TheDataChimp
    @TheDataChimp 7 месяцев назад +1

    Intersting 👌

  • @Shani46
    @Shani46 9 месяцев назад +6

    Python download kaise kare

  • @BickyLai
    @BickyLai 2 месяца назад

    Software name please

  • @hydragreen7856
    @hydragreen7856 3 месяца назад

    Software konsa hai

  • @Studywithmerk75
    @Studywithmerk75 14 дней назад +1

    Hy

  • @indumishra8944
    @indumishra8944 11 месяцев назад +3

    thanks bro

  • @SethB-no9iz
    @SethB-no9iz 10 месяцев назад +3

    Wtf! Lol awesome

    • @vasuhi
      @vasuhi 8 месяцев назад

      This is fake video

  • @anandchoudhry7378
    @anandchoudhry7378 3 месяца назад

    E konsi website pe bnana hai

  • @samiraally6041
    @samiraally6041 11 месяцев назад +1

    What is the app for programming

  • @shamsadansasri
    @shamsadansasri 23 дня назад

    can i use this code in vscode...?

  • @Deacoding
    @Deacoding 5 месяцев назад

    Woaa😮

  • @shalakabhatawadekar7870
    @shalakabhatawadekar7870 2 месяца назад

    Hu good

  • @222_03-
    @222_03- Год назад +5

    from turtle import *
    import colorsys
    bgcolor('black')
    tracer (500)
    def draw():
    h = 0
    for i in range(100):
    c = colorsys.hsv_to_rgb(h,1,1)
    h += 0.5
    up()
    goto(0,0)
    down()
    color('black')
    fillcolor (c)
    begin_fill()
    rt (98)
    circle(i, 12)
    fd (290)
    fd(i)
    lt (29)
    for j in range(129):
    fd(i)
    circle(j, 299, steps=2)
    end_fill()
    draw()
    done()

  • @Studyalways..
    @Studyalways.. 4 месяца назад +1

    Can I do it on idle

  • @rajendramakwana2472
    @rajendramakwana2472 8 месяцев назад +2

    Bhai copy karke send karde,mujebhi karna hei,or yeh app ka name bhi send karde❤

    • @dev.19.community
      @dev.19.community  8 месяцев назад +1

      Pydriod 3 and telegram channel hai about me udhar code mil jayega

    • @RaniBaghel-j4e
      @RaniBaghel-j4e 6 месяцев назад

      ​@@dev.19.community
      Kese

  • @Astrouniverse-Official-k8k
    @Astrouniverse-Official-k8k 6 месяцев назад +2

    Full video please

  • @THECORECREATION
    @THECORECREATION 8 месяцев назад

    Bro which software did you use it

  • @learnbypreet
    @learnbypreet 8 месяцев назад

    Love it!

  • @AdoptedMusicBD
    @AdoptedMusicBD 10 месяцев назад +3

    Why my screen is just black ???? No error just black please help

  • @learnbypreet
    @learnbypreet 6 месяцев назад

    love it!

  • @crazylearners9600
    @crazylearners9600 2 месяца назад

    Bro import tutrl kya hai please batana toh

  • @NICKELBOY77
    @NICKELBOY77 10 месяцев назад +3

    😅h😊

  • @islamzindabad903
    @islamzindabad903 4 месяца назад

    Can it's run in VS code
    Plz tell me

  • @lalithambigaiambigai9898
    @lalithambigaiambigai9898 6 месяцев назад +1

    nice

  • @humhaiupke4809
    @humhaiupke4809 5 месяцев назад

    It's working

  • @veerendrapatilhb8236
    @veerendrapatilhb8236 4 месяца назад

    App name

  • @WhiteShark010
    @WhiteShark010 7 месяцев назад +1

    Nice, try that with other language

  • @devil2929-d6o
    @devil2929-d6o 15 дней назад

    give me full program

  • @HarshRaj-g4d5e
    @HarshRaj-g4d5e 25 дней назад

    Mera mai nhi ho rha hai
    Extensions mai kya Download karna padega

  • @Sejaltaneja
    @Sejaltaneja 3 месяца назад

    Bhai clearly nhi dikh raha hai

  • @AnitaCentury-x8b
    @AnitaCentury-x8b 4 месяца назад

    Title chai k rakhni

  • @gadgetwithahsan
    @gadgetwithahsan 5 месяцев назад

    Apps name

  • @YuTv1408
    @YuTv1408 Год назад +1

    Cool... but the music is cheesy

  • @sahilshaikh14325
    @sahilshaikh14325 3 месяца назад

    Print karne ke liye kya karna padega

  • @raveendranth3872
    @raveendranth3872 2 месяца назад

    My lap cooked

  • @rohanb6822
    @rohanb6822 10 месяцев назад +1

    Please give me some more like this chennel on HTML tricks to create a new symbols of in HTML ok so all the best sir i give you some more like this chennel on now💯🙂

    • @rohanb6822
      @rohanb6822 10 месяцев назад

      Very very congratulations sir so sir please give me some more like this chennel to give HTML tricks on now ok i give you some more like this chennel on now

    • @rohanb6822
      @rohanb6822 9 месяцев назад

      Yes sir you can give you some more like this new html CSS tricks design vedios

  • @TechBox2026
    @TechBox2026 4 месяца назад

    ❤❤

  • @NishaYadav-jv1mv
    @NishaYadav-jv1mv 8 месяцев назад +1

    Sir python ka bare 100 word

  • @deepankarsingh7050
    @deepankarsingh7050 5 месяцев назад +1

    Not running, showing Black screen for a sec and returning to the code what's the problem here tell me

  • @MohithGowda_723
    @MohithGowda_723 5 месяцев назад

    Which is the version of python

  • @SouvikD-computer
    @SouvikD-computer 10 месяцев назад +2

    🐍

  • @Sahilseyt
    @Sahilseyt 4 месяца назад

    from turtle import
    Import colorsys
    bgcolor ('black')
    tracer (500)
    Defdraw():
    h =0
    for I in range(100):
    c=colorsys.hsu_to_rgb(h,1,1)
    h+=0.5
    up()
    goto(0,0)
    down()
    color('white')
    fillcolor (c)
    begin_fill()
    rt (98)
    fd(i)
    lt (29)
    for j in range(129):
    fd(i)
    circle(j,299, steps=2)
    end_fill()
    draw()
    done()

  • @SibongakonkeBanele-zc6jo
    @SibongakonkeBanele-zc6jo Год назад +3

    Can I have algorithm for this code