Start learning with our library of video tutorials taught by experts. Get started

EaselJS First Look

Installing EaselJS


From:

EaselJS First Look

with Ray Villalobos

Video: Installing EaselJS

Installing EaselJS is pretty easy. You have the option of using a CDN which is a Content Delivery Network, or if you have a GitHub account, you can clone to library repository onto your hard drive or you can just download a local copy. So let's take a look. To work with the library you need to go to the EaselJS site at this URL. You want to click on the Download EaselJS link and once you're there you have three different options for installing the library. The easiest way to work with EaselJS is to link to the CDN.

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
EaselJS First Look
1h 28m Beginner Sep 21, 2012

Viewers: in countries Watching now:

EaselJS is a free JavaScript library that makes creating interactive web content for HTML5 more straightforward and intuitive. This course transitions web designers, animators, and content creators who may be used to working with Adobe Flash and ActionScript to this new open web standard. Author Ray Villalobos first explains the capabilities of the EaselJS framework and the HTML5 Canvas element, and what they mean for web design. The rest of the course shows how to use EaselJS's helper classes and hierarchal display list to load images, draw, animate, and handle mouse input from visitors.

Topics include:
  • Installing EaselJS
  • Understanding how Canvas draws and animates
  • Drawing lines and strokes
  • Drawing with graphic primitives
  • Using the chaining and compacting commands
  • Animating shapes
  • Working with text
  • Importing bitmaps and vector graphics
  • Working with sprite sheets
  • Handling mouse events
Subjects:
Web Web Design Web Development
Software:
CreateJS EaselJS
Author:
Ray Villalobos

Installing EaselJS

Installing EaselJS is pretty easy. You have the option of using a CDN which is a Content Delivery Network, or if you have a GitHub account, you can clone to library repository onto your hard drive or you can just download a local copy. So let's take a look. To work with the library you need to go to the EaselJS site at this URL. You want to click on the Download EaselJS link and once you're there you have three different options for installing the library. The easiest way to work with EaselJS is to link to the CDN.

A CDN is a Content Delivery Network which means a website where master copies of the libraries are kept. This is considered the best way to work with libraries like EaselJS since if someone visiting your project has also visited another website that links to the same library, chances are that it will be cached and load faster on your machine. To use the CDN URL just select this link right here and copy it and then paste it onto your project. The second way to get the library is to clone the GitHub repository.

You can click on this link, if you have a GitHub account, this is a great way to keep your library current since it let's you stay synchronized with the project. Your third option is to download a copy of the files to your hard drive. Clicking on this link is also going to take you to GitHub where you can click on a link to download a zipped version of all the files. You don't need a GitHub account for this. When you download the library you'll see a folder with a lot of stuff. There's only one file you're going to need from here and it's in the lib folder.

You'll need the latest copy of EaselJS. Your version might be a little bit different from mine. And as a matter of fact because I know that EaselJS will be updating soon, I am going to use the beta Next version of EaselJS. I like to rename my Easel file just to be EaselJS. And then I'll go into my project and copy this into my JS folder. Now I will switch back to my text editor, and link to the file directly. I want to make sure I load this library before my script.js file.

We can see that it's right here in the js folder, in the underscore folder. So which of the three ways should you use? I would suggest using the CDN for your online projects. If you want to make sure you're always synchronized with the library, and you have a GitHub account, you might want to use the GitHub versions. During normal development, it's better to go with a local copy, that way you won't have to be connected to the Internet in order to use EaselJS.

There are currently no FAQs about EaselJS First Look.

Share a link to this course
Please wait... Please wait...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed EaselJS First Look.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

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