ความคิดเห็น •

  • @satansdeer1
    @satansdeer1 4 ปีที่แล้ว +6

    If you like this video - retweet this tweet twitter.com/satansdeer/status/1263757427381547008?s=21

  • @absessed
    @absessed 4 ปีที่แล้ว +20

    Очень приятного видеть русского человека, который снимает видео на английском) Спасибо, Максим

  • @제임스-r5l
    @제임스-r5l 11 หลายเดือนก่อน

    thanks. good programmer, good tutor, good singer

  • @schawanji
    @schawanji 2 ปีที่แล้ว

    First time coming here. Wonderful video, easy to follow.

  • @rotatopoti
    @rotatopoti 4 ปีที่แล้ว +9

    Some people would make a video like this but two hours long. thanks a lot.

    • @satansdeer1
      @satansdeer1 4 ปีที่แล้ว +5

      No prob, I don't have time to make 2hrs videos, lol

  • @Ra5h3d_
    @Ra5h3d_ 11 หลายเดือนก่อน

    Thank you, Saved a lot of my time!
    Didn't knew about the context ref thing

  • @sharancj91
    @sharancj91 3 ปีที่แล้ว +2

    8:35 this is exactly where I subscribed to the channel.... la..la..laaa....laa...

  • @lotsu2ndchannel808
    @lotsu2ndchannel808 3 ปีที่แล้ว +3

    are you using expo of react native? cuse mine is not working

  • @rakeshAWGP
    @rakeshAWGP ปีที่แล้ว

    Many thanks for the awesome video with good explanation

  • @brunoloverius5777
    @brunoloverius5777 2 ปีที่แล้ว

    Well that was easier than I thought it would be... thanks ;)

  • @manukyanq
    @manukyanq 3 ปีที่แล้ว +1

    Interesting idea, great tutorial and perfect explanation. Spasiba very much, Maksim ;)

  • @ankitaburman5406
    @ankitaburman5406 2 ปีที่แล้ว

    Amazing Lesson, Thank you so much for sharing

  • @blissofkundalini
    @blissofkundalini 2 ปีที่แล้ว

    You rock! Thank you. Can you show how to show a camera on canvas, add some text to it and save the image?

  • @diyshow888
    @diyshow888 3 ปีที่แล้ว

    Hi Maksim Ivanov , Does React-Native use Canvas in iOS and Android ? or uses the native graphics API ?

  • @Wabwire-Ronald
    @Wabwire-Ronald 2 ปีที่แล้ว

    Thanks for this. Can you handle how the drawn pictures can be saved or downloaded? Thanks

  • @thatsalot3577
    @thatsalot3577 2 ปีที่แล้ว

    Woah this was awesome, thanks for the tutorial.

  • @JulsGeekPI
    @JulsGeekPI 2 ปีที่แล้ว

    Thanks, how i can programatically, convert a svg to a video animation?

  • @_vlmdr
    @_vlmdr 4 ปีที่แล้ว

    Nice started, thanks. Only one trick: show the progress each code complete to us, then we follow the progress.

    • @satansdeer1
      @satansdeer1 4 ปีที่แล้ว +1

      Vinicius Martins you mean to break the example code into steps as well?

    • @_vlmdr
      @_vlmdr 4 ปีที่แล้ว +1

      ​@@satansdeer1 No, what I meant to say is each piece complete code, run it and show what's happened, is cleaner to us. We follow the progress and not surprise on end case fail. Thanks again!

  • @alial-zyoud2080
    @alial-zyoud2080 3 ปีที่แล้ว

    Why did you double canvas resolution, I think it waste of memory and processing power

  • @himthakur619
    @himthakur619 2 ปีที่แล้ว

    Hi sir, can we save as video these canvas drawing in node.js? Any other technique to save it for future replay?

  • @chrisrabe
    @chrisrabe 3 ปีที่แล้ว

    How do I make it erase things? Do I just do the same thing but change the stroke colour to the canvas colour? Or is there a proper canvas API way of doing it?

  • @cursaursa
    @cursaursa 2 ปีที่แล้ว

    Thank you, super helpful video!

  • @husnamert477
    @husnamert477 10 หลายเดือนก่อน

    It will really good and quick project thanks for that but can you improve it maybe you can add an edit tool on images than draw after that tool ,can add delete remove functions :)

  • @SamS-pw3jn
    @SamS-pw3jn 4 ปีที่แล้ว +1

    perfect. efficient and informative. thanks!

  • @vaasconte18
    @vaasconte18 2 ปีที่แล้ว

    muito obrigado. sua fala é limpa que além de aprender programar melhor em reactjs aprendo o inglês

  • @luisluiscunha
    @luisluiscunha 3 ปีที่แล้ว

    Great lesson. And fun too! Thank you 👍

  • @王甯-h2x
    @王甯-h2x 3 ปีที่แล้ว

    Storing, context into an ref is wrong, if you change the canvas later then the context will becomes null. I asked a problem on StackOverflow because of I followed the code you provided :/

  • @LORDSofCHAOS333
    @LORDSofCHAOS333 2 ปีที่แล้ว

    well i am a digital artist and i have a dumb question
    can i build or update the brush response seance i do use wacom tablet .
    a.k.a the brush to response to the pen pressure.
    second dumb question will be how can build a brush engine like say clip studio paint or krita for example .

    • @satansdeer1
      @satansdeer1 2 ปีที่แล้ว

      Hm interesting question, now I’m also qurious if browsers support tablet data like angle and pressure

  • @raba650
    @raba650 2 ปีที่แล้ว

    That was awesome!

  • @shehzadahmed8389
    @shehzadahmed8389 3 ปีที่แล้ว

    nyc voice by the way you should be a singer also

  • @md.shariarkabir7350
    @md.shariarkabir7350 2 ปีที่แล้ว

    nice drawing

  • @alexkazakov7114
    @alexkazakov7114 3 ปีที่แล้ว +1

    Невероятно полезное видео! Как раз мучаюсь с тем, чтобы сделать что то аналогичное в react native приложении, отсюда у меня 2 вопроса:
    1. Будет ли этот код работать там?
    2. Как можно считать процент холста, который закрашен?)

  • @НаталіяЖидейкіна
    @НаталіяЖидейкіна 2 ปีที่แล้ว

    Cool

  • @gunasekaran3040
    @gunasekaran3040 3 ปีที่แล้ว

    Simple and good one.

  • @hp7706
    @hp7706 3 ปีที่แล้ว +4

    Great video ! Could you show how to dynamically draw a rectangle on Canvas in React ?

  • @user27106
    @user27106 4 ปีที่แล้ว

    A great video! Thank you so much! Could you please suggest on how to save the drawing to a variable for saving in database?

    • @charlieconneely
      @charlieconneely 3 ปีที่แล้ว

      I believe the dependency react-canvas-draw provides a function for that

  • @techwithimad4672
    @techwithimad4672 4 ปีที่แล้ว

    Can't wait for the multiplayer feature 🥳

  • @caionakai3134
    @caionakai3134 4 ปีที่แล้ว

    Awesome!! Keep up the good work!

  • @webdev723
    @webdev723 3 ปีที่แล้ว

    Thank you I learned from you brother.

    • @satansdeer1
      @satansdeer1 3 ปีที่แล้ว

      You are welcome 🙏

  • @maskman4821
    @maskman4821 3 ปีที่แล้ว

    This is an awesome tutorial !!!

  • @cashew4496
    @cashew4496 4 ปีที่แล้ว

    Which IDE are you using?

  • @kyunghwankim1269
    @kyunghwankim1269 4 ปีที่แล้ว

    Awesome! Thank you.

  • @mayaahmed
    @mayaahmed 4 ปีที่แล้ว

    Thank you. This was really nice.

  • @sulaimonoladipupo6294
    @sulaimonoladipupo6294 4 ปีที่แล้ว

    Really needy this, thanks a lot champ

  • @riskingeuphoria
    @riskingeuphoria 4 ปีที่แล้ว +1

    can you convert this into JSON and store it in either local storage or a database?

    • @satansdeer1
      @satansdeer1 4 ปีที่แล้ว +2

      joe blogs yes

    • @satansdeer1
      @satansdeer1 4 ปีที่แล้ว +2

      joe blogs I might record a more complex tutorial later with multiplayer via websockets

    • @riskingeuphoria
      @riskingeuphoria 4 ปีที่แล้ว

      @@satansdeer1 THANKYOU

    • @riskingeuphoria
      @riskingeuphoria 4 ปีที่แล้ว

      so i basically just made it so that the onMove option for the canvas submits a location for every time it activates. Then i put the locations in a son. I can't really seem to get it back from the database without it being just dots or a whole connected mess.
      But having it as just dots is still pretty good use of the database and i can make a comment section where people draw a picture without using any plugins like canvas to svg.

  • @zathkal4004
    @zathkal4004 3 ปีที่แล้ว

    Nice work, nice cat (:

  • @alexanderfrederikvreeken312
    @alexanderfrederikvreeken312 3 ปีที่แล้ว

    What is the name again of the if-statement with the !isDrawing method you use to prevent an extra indentation?

  • @pushkaragnihotri1609
    @pushkaragnihotri1609 4 ปีที่แล้ว

    thanks for the sources code link. great video

    • @satansdeer1
      @satansdeer1 4 ปีที่แล้ว

      thanks, I try to provide the code for each of my videos

  • @noreplyaoacolombia8514
    @noreplyaoacolombia8514 2 ปีที่แล้ว

    can i make a signature app with ionic and react?

  • @samratde153
    @samratde153 4 ปีที่แล้ว

    How can an user save(download) the drawing that is present on the screen at a particular time. How to implement this ?

  • @joshuambogo9692
    @joshuambogo9692 3 ปีที่แล้ว

    great video learned alot!

  • @nielsdominguez991
    @nielsdominguez991 4 ปีที่แล้ว

    thanks man very good video

  • @idontwhy3132
    @idontwhy3132 4 ปีที่แล้ว

    Epic stuff. Subscribed

  • @matanshtepel1230
    @matanshtepel1230 3 ปีที่แล้ว

    very helpful thx 😀

  • @mangeshgupta5677
    @mangeshgupta5677 4 ปีที่แล้ว

    Great ✌️

  • @kapperasrihari8424
    @kapperasrihari8424 4 ปีที่แล้ว

    you are genius

  • @МаратБагаутдинов-т1ю
    @МаратБагаутдинов-т1ю 3 ปีที่แล้ว

    Было бы интересно увидеть, как дополнить этот код для реализации на тачах.

  • @AabidKhan-bv7qk
    @AabidKhan-bv7qk 2 ปีที่แล้ว

    how to draw over a image using reactjs nd canvas

  • @psymon25
    @psymon25 4 ปีที่แล้ว

    Great thanks would like to see canvas with redux

  • @danielliberty7559
    @danielliberty7559 3 ปีที่แล้ว

    great video! but why do you need to use the nativeEvent property that is inside react's SyntheticEvent? you can get the correct values also by doing e.clientX without needing to do e.nativeEvent.offsetX the way you did in the video.

  • @willysnowman
    @willysnowman 4 ปีที่แล้ว

    Thank you!

  • @kavilivishnu2258
    @kavilivishnu2258 4 ปีที่แล้ว

    Hey Maksim Ivanov, Thank you very much for this App that you've provided. I learned lots of methods from this one. But It threw me an error at context.scale(2,2) line. What do I do to rectify this? Please help me out with this one. Thank you very much once again! Peace!

  • @rucklerful
    @rucklerful 3 ปีที่แล้ว

    thank you

  • @JerryJoy228
    @JerryJoy228 3 ปีที่แล้ว

    О! Вы из англии?

    • @satansdeer1
      @satansdeer1 3 ปีที่แล้ว

      Я по вам, шутникам, отдельный списочек веду

  • @shevdev
    @shevdev 3 ปีที่แล้ว +1

    По моему ты русский, судя по акценту))))

  • @soris_bergeevich_shoyarbinov
    @soris_bergeevich_shoyarbinov 4 ปีที่แล้ว +5

    preview lol xD

    • @satansdeer1
      @satansdeer1 4 ปีที่แล้ว +3

      I was inspired by the early impressionists

  • @LPRLGG
    @LPRLGG 3 ปีที่แล้ว

    +1 sub for you sir!

  • @izarhalabi7354
    @izarhalabi7354 3 หลายเดือนก่อน

    i would like to be explanied more and not using usestate hook , but nice vedio

  • @BilalKhan-do1xg
    @BilalKhan-do1xg 4 ปีที่แล้ว

    Hello sir
    We need full course of canvas shapes
    Would you make sir, we will be very thankful to you

  • @johnsenseiDOTcom
    @johnsenseiDOTcom 2 ปีที่แล้ว

    For canvas.width, canvas.height, canvas.style.width, canvas.style.height, and canvas.getContext("2d") I get a popup in VS Code "Property 'width' does not exist on type 'MutableRefObject'.ts(2339)" warning. In Chrome when running the app I get the error "TypeError: Cannot add property width, object is not extensible." Not using TypeScript. Anyone else run into this?

  • @anatoliychumak2223
    @anatoliychumak2223 ปีที่แล้ว

    why do we need contextRef.current.moveTo(offsetX,offsetY)
    in startDrawing func ?
    I mean it work well even without it
    like this
    const startDrawing = () => {
    contextRef.current.beginPath()
    setIsDrawing(true)
    }
    Thanks!

    • @anatoliychumak2223
      @anatoliychumak2223 ปีที่แล้ว

      Moreover it work if remove contextRef.current.closePath() from
      finishDrawing
      I dont understand why it is still work