JavaScript 🎀 Christmas Calendar 📅 Day 5 🎄

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

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

  • @___d3p1
    @___d3p1 Месяц назад +2

    Wonderful way to apply bezier curves!

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

      If you liked these curves, you may like tomorrow's video even more ;-)

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

    Ah, just in time! Great job as usual!

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

      Enjoy! :-)

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

    So I guess this is the one where I can diverge with my Go and Rust versions and make it a hunting bow :)

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

      Sure, why not :-)))

  • @spacticals
    @spacticals Месяц назад +2

    Radu Sir can you please bring a free course on youtube about canvas api. because i felt hard on the 4th day. so that i will get comfortable using canvas.

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

      It's already on the channel. Try looking for it :-)

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

    what is the diff between "quadraticCurveTo" and "arcTo" ?

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

      The quadraticCurveTo has 1 control point. The curve starts at the start point and goes tangent to that control point, towards the end point. This control point gives you a lot of flexibility when drawing curves. Even more flexibility you get from the bezierCurveTo method (has 2 control points). Both of them are bezier curves, the second being more complex. The arcTo method gives you a path along a circle (quite different effect, can be useful for rounded corners, at least).

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

    Hey Radu, you posted that I will make a toturial and the project was secret, it this calendar project that secret project?
    And I have one question
    We have lights in ThreeJS can we create some lights in Vanilla JS and HTML5 canvas?

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

      Probably I was referring to this one, yes. Wanted to keep secret that it relates to holidays.
      ThreeJS is a 3D library built on top OpenGL. The canvas is 2d, like a sheet of paper that someone can paint on. Light doesn't have a meaning unless you print what you drew and shine a flashlight at it... Of course, you could paint something using perspective, and maybe apply transparent gradients to make it look like there is light, but it's very different than what happens in WebGL.

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

      @Radu thank you my great teacher I think you are a fullstack web developer

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

      Almost everything I teach on RUclips is frontend. At work, I teach backend too, so, yes :-)

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

    in some way i hate you, but in the same moment i love you and your videos. ;)

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

      Hate? Why so? :-)

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

      @@Radu you made it look so easy. Thats why i "hate" (I think you anderstand).

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

      ​@@zer001thought so :-)