SVG Path Tutorial • Arcs in Plain English

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

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

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

    d="M20 50, A 0 0, 0, 0 0 , 80 50" equals d="M20 50, a 0 0, 0, 0 0 , 60 0"
    A = Absolute positioning respect to M20 50. Final position is (80 50).
    a = delta increments relative to M20 50, then final position will be: 20 + 60 = 80 and 50 + 0 = 50 (80 50)

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

    Thank You, this is most valuable help. I was completely lost for not knowing about the behaviour of the radius parameters.

  • @coderide3319
    @coderide3319 4 месяца назад +2

    Thanks! I really appreciate this video. Greetings from Colombia!

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

    very clear explanation, best one online 👍

  • @dearnobitaa
    @dearnobitaa 5 лет назад +11

    Make more videos buddy, I like your teaching,
    I request you to make canvas videos 😃😃

  • @dantedmc5408
    @dantedmc5408 2 года назад +2

    Perfect explanation. Thankyou

  • @ionutale1950
    @ionutale1950 6 лет назад +5

    man that was fast. i just asked you a few days ago... you are awesome!!!

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

    Thank you nice and clear, hello from New Zealand

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

    thank you that is more clear for me

  • @bobbymorelli9763
    @bobbymorelli9763 5 лет назад +4

    omg ive been searching for how to do this. i love you bro

  • @lorenzoandfriends1193
    @lorenzoandfriends1193 4 года назад +1

    Do not worry. Your efforts were not wasted.

  • @vipranarayan14
    @vipranarayan14 5 лет назад +2

    Thank you very much. I referred to many sources such as MDN but couldn't understand the concept of SVG arcs at all. Through your video, I was able to grasp the concept very clearly and quickly.

  • @user-yd7db3wd7w
    @user-yd7db3wd7w 4 года назад +2

    This was helpful indeed
    I was following the mozila tutorial and found a few points difficult about arc but you made it clear. Thx

  • @ProofOfDragons
    @ProofOfDragons 2 года назад +2

    Thanks SO MUCH for the tutorial Roberto! A crystal clear explanation. I'll be sure to check out your other videos.

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

    Thanks for the tutorial, it's 100x better than the mozilla one

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

      Glad you think so! I know everyone doesn't like too much tech-speak. As a teacher, I pride myself on making complicated things more understandable.

  • @justinasbei
    @justinasbei 3 года назад +1

    Good teaching style.

  • @ToniTerremoto
    @ToniTerremoto 2 года назад +1

    Thank you very much for this valuable information in an understandable way

  • @Snoo29293
    @Snoo29293 4 года назад +2

    13:00 you forgot to explain what happened, but I played around with it and I understood, to understand too simply make another SVG with the same two arcs, and replace the radius of the width with the radius of the height, also, do not rotate, you will see you get the same thing, if you then rotate these arcs to 90 degrees again you will form the circle you had before, at the start, since radius of height will again change with radius of width, its nice to know how it works.

  • @learnasyoulike1602
    @learnasyoulike1602 3 года назад +1

    Very nice and detailed elaboration. Many thanks.

  • @jbrenes
    @jbrenes 5 лет назад +1

    great set of tutorials will be using them a lot

  • @iamreg1965
    @iamreg1965 3 года назад

    Brilliant intro into arcs. Top video.

  • @shahryarsaljoughi6073
    @shahryarsaljoughi6073 4 года назад +1

    great explanation. thank you man

  • @trangnusi13
    @trangnusi13 3 года назад +1

    Amazing! Thanks!

  • @nelsonromero6151
    @nelsonromero6151 3 года назад +1

    Thank you so much for that explanation bro, it was too easy to understand for me that way to work this important tool and now I'll have to practice by my own count to understand some SVG definitions as well. Thanks bro!

    • @RobertoMusicHelp
      @RobertoMusicHelp  3 года назад +1

      You're very welcome. I'm glad you could learn something!

    • @nelsonromero6151
      @nelsonromero6151 3 года назад +1

      @@RobertoMusicHelp I'm learning this tool because 3 years ago I tried to learn html, ccs and Javascript but unfortunately I didn't learn. I want to see if I learn as much as I can this to see if I make a living doing jobs with this technology, my friend.

    • @RobertoMusicHelp
      @RobertoMusicHelp  3 года назад

      @@nelsonromero6151great goal to have! Take it slow and more than anything practice, practice, PRACTICE! That's really the only way to get really good at HTML, CSS, and JAVASCRIPT.

    • @nelsonromero6151
      @nelsonromero6151 3 года назад +1

      @@RobertoMusicHelp Thanks for the advice friend, but I have decided that I will no longer dedicate myself to using those tools in a very deep way; I will dedicate myself to develop myself in SVG and open a world of opportunities with this technology because I know that it is very good.

    • @RobertoMusicHelp
      @RobertoMusicHelp  3 года назад

      Also a good idea.

  • @cliffmathew
    @cliffmathew 5 лет назад +1

    Thank you very much for this video. Very clear and useful.

  • @dasten123
    @dasten123 4 года назад +1

    great stuff

  • @vycos-zen
    @vycos-zen 3 года назад +1

    Thank you for teaching me this! :)

  • @studentofknowledge9705
    @studentofknowledge9705 2 года назад +1

    LEGEND

  • @srinivasrg5125
    @srinivasrg5125 5 лет назад +1

    Great videos, Sir. Thank yyou very much.

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

    Thank you very much...

  • @CrashLaker
    @CrashLaker 2 года назад +1

    thank you so much!!!!!!

  • @saulgoodalvarez
    @saulgoodalvarez 4 года назад

    Very well explained.

  • @khushbuthakkar893
    @khushbuthakkar893 3 года назад

    great tutorials. thank you

  • @michaelcheverie7579
    @michaelcheverie7579 5 лет назад +1

    Very helpful! Thank you!

  • @BartvandenDonk
    @BartvandenDonk 3 года назад

    On remark. the latter two settings (no 4 and no 5) should always be switch at the same time. 1 0 or 0 1.

  • @angquynhta2511
    @angquynhta2511 5 лет назад +1

    thank you so much, it helps me a lot :D

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

    Thanks for the explanation. As far as I understand, x-radius and y-radius work as proportions if they are less than actual radius, but if they are bigger than actual radius, they work as pixels. Is it correct?

  • @ionutale1950
    @ionutale1950 6 лет назад +1

    also thank you

  • @fotu7757
    @fotu7757 3 года назад +1

    do i need to understand about proportions to understand the concept of arcs in svg?

    • @RobertoMusicHelp
      @RobertoMusicHelp  3 года назад

      Proportions? If you mean measurements, yes, sort of. Everything is proportional to whatever sized svg you choose.

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

    Bigger code font would help.

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

      Sorry about that. When I created this tutorial it was with the "poor" assumption that most people would watch this on their laptop or desktop. Regardless, I will be more aware of how I record for most users.
      Thanks for watching!

  • @ColinBroderickMaths
    @ColinBroderickMaths 3 года назад +2

    I think whoever originally implemented SVG arcs must have been high.

  • @Lawerize
    @Lawerize 3 года назад

    16:00 is there some formula to determine how much we want to push down the bigger circle so it matches the arc? I'm playing with it and I have no idea how to position them ideally

    • @melonenlord2723
      @melonenlord2723 2 года назад

      You would have to calculate the midpoint of the circle from 2 given points of the circle and the radius. Because both points have the same y-value in this case, it's not that hard, because you get a right triangle from starting point, the point in the middle of start and endpoint and the midpoint of the circle. One side of the triangle has the radius with 40, the distant from start to the point in the middle of start and end is half of distance from start and endpoint, so 20 and then you can do pythagoras to get length of the third side with sqrt(40²-20²)=34.6. You add this value to the y-value of the point in between and get the solution. 50+34.6=84.6
      Sadly it's not that easy if both arcpoint don't have at least one coordinate the same value. Then you have more fancy stuff like rotating both points around an agle, so one of their coordinates gets the same value, calculate it the same way and at the end rotate them back the same way to find the solution.

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

    You missed the angle

  • @dearnobitaa
    @dearnobitaa 5 лет назад +1

    MDN is good