HTML5 Tutorial – 41 – Saving and Restoring the Canvas

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

35 responses to “HTML5 Tutorial – 41 – Saving and Restoring the Canvas”

  1. Utna Avatar

    most of it is outdated and not working properly

  2. Atif Mustafa Khan Avatar

    Where will these stuff be usefull in an website? done with like 40 episodes still have no clue about website designing.

  3. LapisSea Avatar

    this is like glPushMatrix(); glPopMatix(); in LWJGL

  4. FRANCISCO BRUNO Avatar

    Man what to say about you?!? I looked through a lot of tutorials that were like crap but you know what there is nothing better explanation as an good example like yours and I just wanted to know the idea because the same thing I am studying for Android and I know that it follows the same rules, thanks a million you really help me out a lot. Cheers.

  5. Gilbert Bigelow Avatar

    I didn't see it restore as expected.from the term restore; I mean all the transformation crap is still on the screen. I was thinking because of the term restore and your (Bucky) explanation of canvas.save implied that after restore all would look as it did when the screen had just the first set of commands up to canvas save and you refreshed the page.

     All that did happen was the pointer moved back to the point where it started and wrote over existing text.

    Doesn't seem very useful. A lot of effort for nothing.

    Ya, the king has no clothes!

  6. Wiremu Winitana Avatar

    You're great, man! Pretty funny :v

  7. Apple_3.14 Avatar

    Can you give the save command a name or something like:
    canvas.fillText("TEXT", 50,60);
    canvas.save("Name or something");
    canvas.fillText("Hello!",10,30);
    canvas.restore("Name or something");

  8. Ravushika01 Avatar

    Great tutorial (^-~)

  9. Born22BeWild Avatar

    This video has no dislikes

  10. LordStarBlue Avatar

    Thank you for the tutorial !

  11. Calvin Maighan Avatar

    I was laughing the whole tutorial xD Was dissapointed when I went to like the video and realised I had already done that at the beginning of the video xD

  12. Ronald E Butler Avatar

    Thanks dude. You made it very easy to figure out how save and restore work. now I can have some fun with the html5 canvas.

  13. wnh9903 Avatar

    restore, go to the store again. ai ai sir!

  14. CJ Davidson Avatar

    That's almost like my gaming friend, Phil McKraken.

  15. Georgi Yanev Avatar

    omg, only 15k of us left till here… in the beginning of XHTML was over 220k or smth…

  16. NotMessiah Avatar

    Having followed a few tutorials about canvas and having seen all the code work, I am a little confused about the actual PURPOSE of the canvas. I mean how is it different? Cant we make the same things happen on a webpage using div tags and other such tags? We also saw how to animate rotations in css files right? Can someone clear this for me please? Also upvote my question AND the answer so that more people can learn. THANKS

  17. Where The Story Ends Avatar

    Bucky keeps saying "I'm too lazy" for this or to do that. Man. I wish I was as lazy as you.

  18. Justin Lee Avatar

    OMGOMGOMGOLMGOMGOMGOMGOGMGMogOMLDMSMFGSKDFJG
    THE CANVAS SCRIPT ISNT WORKING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    i watched and copied the tutorial!!!!!!!!!!!!! starting from the canvas!

  19. Loydik Avatar

    that's the point:) There are none:)

  20. nook1026 Avatar

    where do you see dislikers?

  21. Rahil Wazir Avatar

    hahahahaha Fill Text 😀

  22. Ashraful Islam Avatar

    if I have to save multiple times then what should I do..

  23. alchemication Avatar

    @davidblingz Hehe, good joke;)

  24. Caleb Logan Avatar

    very nice*high five
    *

  25. Mr Tolu Balogun Avatar

    Bucky, what certification do you advise for html?

  26. mLovelady30 Avatar

    thegoodteacher(dot)com

  27. deviantsoul03 Avatar

    41 – sounds like the title of a movie XD

  28. Digi Philm Avatar

    Dam bucky you rock.

  29. TutorialesNET Avatar

    The first on watchin' this. Looking really forward to it.

  30. Christian Windeck Avatar

    Hey I'm the 1. Viewer!

  31. Rares Serban Avatar

    41?YEY i am first!

Leave a Reply

Your email address will not be published. Required fields are marked *