Merriweather Illusion with JavaScript and HTML Canvas

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

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

  • @___d3p1
    @___d3p1 3 дня назад +2

    I love these tutorials that help me improve my knowledge of the Canvas API! The effect is beautiful!

    • @Radu
      @Radu  3 дня назад +1

      Happy to hear that! :-)

  • @ahmad-murery
    @ahmad-murery 3 дня назад +3

    I really like how you reverse engineer this illusion and most importantly you still able to write the code/
    It made me feel dizzy just by looking at it for a few seconds.
    Thanks Radu!

    • @Radu
      @Radu  3 дня назад +1

      Yeah, some of them have that effect on me as well. Sometimes playing with hues, or making it grayscale... changing the contrast will keep the shapes but the illusion stops working. I used that trick sometimes to understand what I'm looking at without feeling sick :D

    • @ahmad-murery
      @ahmad-murery 3 дня назад +1

      @@Radu I really appreciate sharing your knowledge 👍💯

    • @Radu
      @Radu  3 дня назад +1

      @@ahmad-murery No problem :-)

  • @pesterenan
    @pesterenan 3 дня назад +2

    That was awesome! You got to the result pretty fast haha, as soon as the background turned purple the dizzyness started hahahha

    • @Radu
      @Radu  3 дня назад +1

      :-) yeah.... I avoided it as much as possible

  • @ViorelMocanu
    @ViorelMocanu 3 дня назад +1

    This is great! I'd put it on the background of a website about visual illusions or something. :)

    • @Radu
      @Radu  3 дня назад +1

      Could be a good idea, but I'd be careful with it. It could make some people sick :-D

  • @noelcuillandre2295
    @noelcuillandre2295 10 дней назад +1

    great illusion !

    • @Radu
      @Radu  10 дней назад +1

      Yeah, really weird one!

  • @2difficult2do
    @2difficult2do 2 дня назад

    Thank you, Radu. I love your little apps, they are like cooking recipes that are easy to follow and get good results ☝️😸👍

  • @shaddow11ro
    @shaddow11ro 2 дня назад

    Pretty sure Radu is an illusion... Everytime i look at his movies it mesmerises me :)

  • @haisergyn
    @haisergyn 2 дня назад

    Your channel is the best on RUclips, without a shadow of a doubt. A suggestion that you've probably already thought of. Why not create a snake game with AI in pure javascript?

  • @adilsonbuset738
    @adilsonbuset738 2 дня назад

    Merci!

  • @MadaraAzukar
    @MadaraAzukar 3 дня назад +2

    🎉

    • @Radu
      @Radu  3 дня назад

      :-)

  • @CodeNascher_
    @CodeNascher_ 2 дня назад +1

    9:24 have you tried multiplying by π instead of "just" 3?
    somehow it feels like the more correct number. havent tried it myself yet. just my intuition kicking in.

  • @pizdaxyu
    @pizdaxyu 2 дня назад +1

    I don't get it, did you edit out some part? I keep looking for animate() function but there isn't any and those things are clearly animating. get it?

    • @Radu
      @Radu  2 дня назад +1

      I get it :-))
      I guess this is one way of avoiding animations == using less processing power ;-)

  • @BitsindouVanInayat-khan
    @BitsindouVanInayat-khan 2 дня назад

    Does it means that my brain has a problem of some sort if I can see the lines moving at all?

  • @ethanbones
    @ethanbones 2 дня назад +1

    i clicked on this to praise your music taste, but you have not listened to it :( :(

    • @Radu
      @Radu  2 дня назад

      :-))