Drawing with Canvas (html)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,839
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 27, 2010

Lets take a look at learning how to draw with canvas, this is just a starter lesson.
If you want to see the rest let me know, or i could just post the code on sq bracket in a month or two

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (optikalefxx)

  • Boom!

  • @xexoristo boom!

  • All that fucking code for simple animation! This is bullshit. Why can't anyone develop a stable Flash-like timeline UI for HTML?

  • @alletbodasvideos this is the raw stuff. You could easily make a simple drawing class that would give you the same functions flash uses.

  • It works right up to the point that I do the

    $(document).keydown(function(e­){

    console.log(e.keyCode);

    });

    after that the box I put on vanishes and I get a blank canvas... Any ideas?

  • @hd6ashlea it must be drawing the clear rectangle and not drawing after that.

    If you PM your code so far i can see whats going on.

see all

All Comments (28)

Sign In or Sign Up now to post a comment!
  • @mshartz5 there's tons of crappy programming too, so it goes both ways.

  • @alletbodasvideos

    Because then the internet will be flooded with even more garbage that hogs unnecessary resources because it was created by graphic artists instead of programmers.

    Remember that making things easier to use leads to more crap being made.

    This is what I will be fearing with HTML5.

  • @optikalefxx Nice Job Mate!

  • Could you explain, how to make button on html page to draw canvas, or change color etc.

    Thanx in adnavce!

    p.s. make more videos :)

  • Please make the next tutorial showing how to allow for holding of keys.

  • @optikalefxx. thanks for the comment and sorry if i sound frustrated, but all I want is to load sequences of frames so they play back at a specific frame rate. very much like a flipbook. any info on how to do this would be greatly appreciated.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more