New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Using the exercise files

From: HTML5: Graphics and Animation with Canvas

Video: Using the exercise files

If you are a Premium member of the lynda.com Online Training Library, or if you're watching this tutorial on a DVD-ROM, you have access to the exercise files used throughout this course. So let me show you how they're laid out. Here we are in the Exercise Files folder. The way I have laid it out is each folder is named with a two-digit number at the beginning, and that corresponds to the chapter that we're currently looking at in the course. And the name that follows the number is just a little hint of what's contained inside. So if we open up one of these chapters, you'll see that way I've laid out each example file, there's two versions of each file: there's a finished version and there's a start version.

Using the exercise files

If you are a Premium member of the lynda.com Online Training Library, or if you're watching this tutorial on a DVD-ROM, you have access to the exercise files used throughout this course. So let me show you how they're laid out. Here we are in the Exercise Files folder. The way I have laid it out is each folder is named with a two-digit number at the beginning, and that corresponds to the chapter that we're currently looking at in the course. And the name that follows the number is just a little hint of what's contained inside. So if we open up one of these chapters, you'll see that way I've laid out each example file, there's two versions of each file: there's a finished version and there's a start version.

The finished version is the particular tutorial in its finished state. That's what I'll be showing at the end of each one of the tutorials. The start version is the same as the finished version but with key pieces of code removed. And what we'll do is any tutorial, we'll start with the starting point, add the code until we reach the same point as the finished version. So you really have your choice: you can either open up the finished version and see how things work and run it for yourself, or you can follow along with me as we build the start version until it reaches the finishing point.

In addition to each one of the tutorials, I've also included a file called ExampleSnippets. Let's go to the code editor and see what that looks like. This is the snippets file that I've included for this course. So each one of these chapters has various code snippets that I add to the starting point for each one of the tutorials. This way, I just simply copy the code and paste it into the starting point, so you don't have to sit there and watch me type. So I'll be doing things like copying this piece of code, putting it into the starting point, showing it in the browser, and so on. Now this ExampleSnippets file, you'll have access to this as a free downloadable tutorial file directly from the online course page, even if you're not a Premium member of the lynda.com Online Training Library.

If you are a Monthly subscriber or Annual subscriber to lynda.com, you don't have access to the exercise files, other than that ExampleSnippets file that I just showed. But you can follow along from scratch with your own assets. All right! Let's get started.

Show transcript

This video is part of

Image for HTML5: Graphics and Animation with Canvas
HTML5: Graphics and Animation with Canvas

37 video lessons · 18144 viewers

Joe Marini
Author

 
Expand all | Collapse all
  1. 4m 54s
    1. Welcome
      1m 3s
    2. Using the exercise files
      2m 3s
    3. Using the HTML5 Canvas element in the real world
      1m 48s
  2. 10m 31s
    1. Real-world example: CanvasMol
      2m 9s
    2. Real-world example: Raphaël-JavaScript Library
      1m 47s
    3. Real-world example: The Wilderness Downtown
      4m 1s
    4. Real-world example: Sketchpad
      1m 10s
    5. Real-world example: Pirates Love Daisies
      1m 24s
  3. 3m 28s
    1. Installing the tools
      1m 29s
    2. Exploring the Canvas examples used in this course
      1m 59s
  4. 8m 58s
    1. Introducing the Canvas tag
      6m 30s
    2. Understanding the differences between Canvas and SVG
      2m 28s
  5. 5m 36s
    1. Identifying the Canvas element's methods and properties
      1m 40s
    2. Using the Canvas drawing context
      3m 56s
  6. 43m 14s
    1. Setting and using colors and styles
      3m 19s
    2. Drawing basic shapes: Rectangles and lines
      10m 21s
    3. Understanding the Canvas state
      5m 15s
    4. Drawing complex shapes: Arcs and paths
      9m 15s
    5. Drawing complex shapes: Bézier and quadratic curves
      5m 46s
    6. Rendering text
      9m 18s
  7. 32m 35s
    1. Creating shadows
      6m 41s
    2. Drawing with patterns
      7m 20s
    3. Drawing with gradients
      6m 18s
    4. Using clipping paths
      4m 46s
    5. Drawing images and video
      7m 30s
  8. 35m 42s
    1. Transforming objects using the translate tag
      4m 18s
    2. Scaling objects with the scale transformation
      4m 7s
    3. Rotating objects with the rotate transformation
      4m 33s
    4. Applying a custom transformation
      6m 58s
    5. Compositing in Canvas using globalAlpha
      6m 36s
    6. Manipulating raw pixels
      9m 10s
  9. 41m 23s
    1. Building an image slideshow control
      4m 24s
    2. Using smooth transitions in a slideshow
      4m 28s
    3. Creating a basic animation
      5m 42s
    4. Creating animation with double buffering
      13m 13s
    5. Incorporating Canvas into a real page
      13m 36s
  10. 48s
    1. Goodbye
      48s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold

Are you sure you want to delete this note?

No

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.