Heart Shape Pattern Turtle Graphics Design using Python 🤔

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

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

  • @edweanakunjumon234
    @edweanakunjumon234 3 месяца назад +93

    import math
    from turtle import*
    def hearta(k):
    return 15*math.sin(k)**3
    def heartb(k):
    return 12*math.cos(k)-5*\
    math.cos(2*K)-2*\
    math.cos(3*k)-\
    math.cos(4*K)
    speed(2000000)
    bgcolor("black")
    for i in range(6000):
    goto(hearta(i)*20,heartb(i)*20)
    for j in range(5):
    color("#f73487")
    goto(0,0)
    done()

  • @SudharsunV-oo7vp
    @SudharsunV-oo7vp 10 месяцев назад +230

    Me:print("hello world")😂

    • @Ibroximovv_001
      @Ibroximovv_001 5 месяцев назад +2

      😂

    • @kehoe210
      @kehoe210 3 месяца назад +2

      I laughed hard it's 3 am and a week in I'm only mastered hello world and lists 😂😂😂

  • @melophile03
    @melophile03 6 месяцев назад +15

    wow I tried in visual studio and it really really works. Thank you

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

      it didn't work with me, that consol didn't appear, please tell me how it did work with you!!

    • @mirzaumer6684
      @mirzaumer6684 18 дней назад

      yr extension toh bata do

  • @Culture-123
    @Culture-123 27 дней назад +3

    Very awesome❤

  • @Prothecnomatique
    @Prothecnomatique Год назад +237

    import math
    from turtle import *
    def hearta(k) :
    return 15*math.sin(k)**3
    def heartb(k) :
    return 12*math.cos(k)-5*\
    math.cos(2*k)-2*\
    math.cos(3*k)-\
    math.cos(4+k)
    speed(1000)
    bgcolor("black")
    for i in range(6000)
    goto(hearta(i)*20,heartb(i)*20)
    for j in range(5):_
    color("#f73487")
    goto(0,0)
    done()

    • @Ryzone018
      @Ryzone018 Год назад +3

      😅😅😅

    • @itznikhil.k
      @itznikhil.k Год назад +8

      Where it's work?
      I tried in Google Collab but not working

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

      Error

    • @tgh-158
      @tgh-158 Год назад +33

      import math
      from turtle import *
      def hearta(k) :
      return 15*math.sin(k)**3
      def heartb(k) :
      return 12*math.cos(k)-5*\
      math.cos(2*k)-2*\
      math.cos(3*k)-\
      math.cos(4*k)
      speed(1000)
      bgcolor("black")
      for i in range(6000):
      goto(hearta(i)*20,heartb(i)*20)
      for j in range(5):
      color('#f73487')
      goto(0,0)
      done()

    • @king.sniper3068
      @king.sniper3068 Год назад +4

      @@tgh-158 thank you bro

  • @SanjanaSanjana-wt2ng
    @SanjanaSanjana-wt2ng 6 месяцев назад +1

    Wonderful 😍😍😍

  • @anuragmaurya2796
    @anuragmaurya2796 7 месяцев назад +2

    Amazing 😍🔥 bro ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

  • @technicalAV1121
    @technicalAV1121 Год назад +5

    👍👍 thank you

  • @JahongirHomidov-c6c
    @JahongirHomidov-c6c 9 месяцев назад +6

    Good working

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

    😮😮😮😮 bawal😊

  • @kajalverma5136
    @kajalverma5136 5 месяцев назад +10

    Wow its really works ❤

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

    Thank u so much It really works 👍

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

      Most welcome 🤗

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

      Cod karne ke bad run kese kare

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

      @@chaudharyneha9362 right corner per triangle shape mein ek icon hoga wahi click karnay per aapka run hone lagega

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

      Where it works
      I worked in Jupiter notebook and Google colab but there it is not executing

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

      @@lavanyalavu1028 in visual studio

  • @tanzilurrehmn5863
    @tanzilurrehmn5863 3 месяца назад +2

    Perfect working

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

    nice work

  • @CreativeGourav.123
    @CreativeGourav.123 7 месяцев назад +30

    import math
    from turtle import *
    def hearta(k):
    return 15*math.sin(k)**3
    def heartb(k):
    return 12*math.cos(k)-5*\
    math.cos(2*k)-2*\
    math.cos(3*k)-\
    math.cos(4+k)
    speed(90000000000000000000000000000)
    bgcolor("black")
    for i in range(6000):
    goto(hearta(i)*20,heartb(i)*20)
    for j in range(5):
    color("#f73487")
    goto(0,0)
    done()

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

      Wow

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

      import math
      from turtle import *
      def hearta (k):
      return 15*math.sin(k)**3
      def heartb (k):
      return 12*math.cos(k)-5*\
      math.cos(2*k)-2*\
      math.cos(3*k)-\
      math.cos(4*k)
      speed (1000)
      bgcolor("black")
      for i in range (6000):
      goto(hearta(i)*20,heartb(i)*20)
      for j in range (5):
      color("f73487")
      goto(0,0)
      done()

  • @vinakathakur7021
    @vinakathakur7021 Год назад +6

    thats work amazing❤❤

  • @kohilaraghupathi8279
    @kohilaraghupathi8279 Год назад +7

    Super thank u for sharing

  • @studyiogyan3230
    @studyiogyan3230 20 дней назад +1

    Which programming software you using please tell me

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

    Thank you so much for your guidance

  • @abhisheklaxmeshwar
    @abhisheklaxmeshwar Год назад +11

    Instead of #f73487 code simply u can type color name red in brace

  • @abhimah_edits5432
    @abhimah_edits5432 7 месяцев назад +2

    Can u plz.. program a code for birthday wishes..

  • @essensetiv7645
    @essensetiv7645 Год назад +5

    Cool!

  • @dakshkaushik7
    @dakshkaushik7 Год назад +10

    A genius wrote this code!!

    • @codingwithnoman
      @codingwithnoman  Год назад +2

      Thank you 😊

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

      if your code doesn't solve anyone's problem your code and effort is useless

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

      @@Vid_Lumina It solves problems of many people gifting e-cards and stuff 😶

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

    Oassam

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

      My channel also based on coding please like and subscribe

  • @VivekGupta-vy5om
    @VivekGupta-vy5om 4 месяца назад +1

    Done here

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

    Are you using idle? For writing this program?

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

    What python are u using?

  • @Botirjon752
    @Botirjon752 4 месяца назад +20

    Now I am a new beginner and now I am just print ("hello world") 😂

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

    Cross is in Our Hearts.✨

  • @riyatomar6391
    @riyatomar6391 Год назад +7

    👍👍

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

    Which python we use

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

      3.11 he use

  • @thinkcode8495
    @thinkcode8495 Год назад +5

    Nice!

  • @MarT_-em5vx
    @MarT_-em5vx 15 дней назад +2

    This is why i quit coding in turtle, too many tryhards

  • @PraveenKumar-z5u8w
    @PraveenKumar-z5u8w 7 месяцев назад +1

    In which software

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

      Pycharm

    • @s.p5595
      @s.p5595 3 месяца назад

      Open source h kya?​@@codingwithnoman

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

    Wow

  • @sanatnema7686
    @sanatnema7686 Год назад +3

    Nice bhaiya ❤❤

  • @teamchaos5237
    @teamchaos5237 7 месяцев назад +2

    how do i make it work?

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

    Great

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

    There is a method using complex points to create any shape you want

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

    Love it!

  • @Divyam_shorts_vlogs
    @Divyam_shorts_vlogs Год назад +5

    bro super duper coding

  • @SinaSalehi-z9y
    @SinaSalehi-z9y 6 месяцев назад +1

    What's the name of the song?

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

    Which site ??!

  • @aayanmalik-rn9ww
    @aayanmalik-rn9ww Год назад +8

    super coding bro

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

    Hello python

  • @priyankagaikwad7774
    @priyankagaikwad7774 Год назад +7

    Can we also try this coding in notepad computer

  • @itzme4300
    @itzme4300 11 дней назад +1

    import math
    from turtle import *
    def hearta(k):
    return 15 * math.sin(k) ** 3
    def heartb(k):
    return 12 * math.cos(k) - 5 * math.cos(2 * k) - 2 * math.cos(3 * k) - math.cos(4 * k)
    speed(0) # Set to maximum speed
    bgcolor("black")
    penup() # Prevent drawing while moving to the starting position
    goto(0, 0) # Move turtle to starting point
    pendown() # Start drawing
    for i in range(6000):
    goto(hearta(i / 100) * 20, heartb(i / 100) * 20) # Scaling down the loop value for smoother curves
    color("#f73487") # Set color inside the loop
    done()

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

    Which platform you used....vs code?

  • @royalgamingempire6433
    @royalgamingempire6433 Год назад +40

    Code full of errors..

    • @E.SHACKER
      @E.SHACKER 2 месяца назад

      Ha bhai yarr

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

    Can yuu do code and animations like this in ohone Acode or will it print play

  • @KingUT441
    @KingUT441 Год назад +2

    Which app are you using ?

  • @2kGAMING-PASCAL
    @2kGAMING-PASCAL 6 месяцев назад +3

    I tried but just draws out an horizontal pink line and my code was correct

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

    Good way to impress fresher girls.. 🌚

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

    What you're online compiler

  • @odin5945
    @odin5945 Год назад +8

    Bgm?

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

    this can be made easy but it will not be too much accurate

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

    Bhai isko rum kisme liya hai ???

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

    It's working

  • @Rohit-cn8rz
    @Rohit-cn8rz 6 месяцев назад +2

    How to copy code

  • @DrTS-wr8fv
    @DrTS-wr8fv Год назад +2

    Where to build this code in which website

  • @Diogo-yo6cf
    @Diogo-yo6cf Год назад +22

    Code:
    import math
    from turtle import *
    def hearta(k):
    return 15*math.sin(k)**3
    def heartb(k):
    return 12*math.cos(k)-5*\
    math.cos(2*k) -2*\
    math.cos(3*k) -\
    math.cos(4*k)
    speed(1000)
    bgcolor("black")
    for i in range(6000):
    goto(hearta(i)*20, heartb(i)*20)
    for j in range(5):
    color("#f73487")
    goto(0,0)
    done()

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

    Heart cross

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

    Music name?''

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

    Bhai coading send kr do please

  • @りんご-c6r
    @りんご-c6r 2 месяца назад +1

    name of the app

  • @PrajwalGowda-ki6ei
    @PrajwalGowda-ki6ei Год назад +1

    In which website runing code??

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

    zor

  • @seiti-x9g
    @seiti-x9g 2 месяца назад +1

    Интересно, я попробую это сделать. А какое приложение вы используете?

  • @MinhazulIslamMizbah-zc5dr
    @MinhazulIslamMizbah-zc5dr Год назад +18

    Bro line 12 problem

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

    what is the name of the song

  • @sumitsaini_999
    @sumitsaini_999 Год назад +6

    Bhai.. Video link.. Please

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

    How to run that file

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

    Ap yeh code kisme kar rahe hai??

  • @ompatil957
    @ompatil957 Год назад +6

    Bro line 5 problem

    • @codingwithnoman
      @codingwithnoman  Год назад

      Check the line you have written and run it again.

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

    Which app bro..?

  • @Ben-pu7mj
    @Ben-pu7mj Год назад +5

    Bro itis software name

  • @Sahil_Agarwal
    @Sahil_Agarwal Год назад +7

    It works ...

    • @RamyaSankar-b4q
      @RamyaSankar-b4q Год назад

      Please help me, I tried but it shows a declaration syntax error. how to solve it.

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

    Which software are u using sir?

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

    Kon sa software h...?

  • @sumit_._.singh._
    @sumit_._.singh._ Год назад +4

    Bhai konsa aap download kare or kase kare ye

    • @codingwithnoman
      @codingwithnoman  Год назад

      Crome pe jake pycharm app download kr lo aap aur ye code type kre run krke try kre ho jayega

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

    Bro where you execited this code

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

    Sir iski full scc wali video banao

  • @ftoommohd1035
    @ftoommohd1035 Год назад +6

    Source Code please

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

    how can i save it as video file?

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

      Download

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

      @@codingwithnoman no option to download after compiling.How can I add the option?

  • @RanjeetKumar-ln1tp
    @RanjeetKumar-ln1tp 6 месяцев назад +1

    Please name the app full

  • @user-em5uc1jl1s
    @user-em5uc1jl1s 4 месяца назад +1

    python beginner be like:

  • @AashishKumar-we1bs
    @AashishKumar-we1bs Год назад +1

    Op bhai

  • @All_rounder2706
    @All_rounder2706 Год назад +3

    How to write a name in between the heart. Plz rply

  • @lavanyaU-jt1hp
    @lavanyaU-jt1hp 3 месяца назад +1

    mobile lo cheyali antey e app use cheyali

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

    Okay ❤
    Now Stop and Explain this code 😅

  • @عبدالغفار-ر7ظ
    @عبدالغفار-ر7ظ 8 месяцев назад +1

    Can you send me this code?

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

    ❤ Super working Bro ❤

  • @JanaVijay-g5v
    @JanaVijay-g5v Год назад +2

    I need a copy in description too

  • @stronggaming5.057
    @stronggaming5.057 Год назад +1

    Bhai kis app me program karte ho

  • @PraveenKumar-tx4ch
    @PraveenKumar-tx4ch 6 месяцев назад +1

    App name

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

    Run hotoy ka pn program

  • @jlewis47.7.11
    @jlewis47.7.11 26 дней назад +1

    Can I send it to someone😂😂❤

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

    I which online compiler we can use for this code

  • @CodX710
    @CodX710 Год назад +9

    STOP USING LIGHT MODE.

  • @KUKU_Villageboy
    @KUKU_Villageboy Год назад +6

    Programme is running but not working...stop in 1line when it run

    • @codingwithnoman
      @codingwithnoman  Год назад +2

      Check your code properly, there must be some mistake, only then it is happening.

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

      @@codingwithnoman ok