Getting Started with CreateJS


Getting Started with CreateJS
eBook: $17.99
Formats: PDF, PacktLib, ePub and Mobi formats
$15.29
save 15%!
Print + free eBook + free PacktLib access to the book: $47.98    Print cover: $29.99
$29.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Enables you to design top-notch web applications with one of the best frameworks based on JavaScript
  • Illustrates the use of EaselJS API to customize and enhance performance of complex applications
  • Provides solutions to common problems faced by CreateJS users

Book Details

Language : English
Paperback : 102 pages [ 235mm x 191mm ]
Release Date : February 2014
ISBN : 1783980265
ISBN 13 : 9781783980260
Author(s) : Afshin Mehrabani
Topics and Technologies : All Books, Web Development, Open Source


Table of Contents

Preface
Chapter 1: Installing CreateJS
Chapter 2: Commencing with CreateJS
Chapter 3: Working with Drag-and-drop Interactions
Chapter 4: Performing Animation and Transforming Function
Chapter 5: Utilizing Caching in EaselJS
Chapter 6: Using Filters in EaselJS
Chapter 7: Developing a Painting Application
Chapter 8: Utilizing Vector Masks
Chapter 9: Developing Your First CreateJS Application
Index
  • Chapter 1: Installing CreateJS
    • Understanding CreateJS and subsets
      • Downloading CreateJS
      • GitHub
      • Understanding the Content Delivery Network
      • Setting up the libraries
        • The production environment
        • The development environment
    • Building the source code
    • Summary
  • Chapter 4: Performing Animation and Transforming Function
    • Creating animations with CreateJS
    • Understanding TweenJS
      • What is tweening?
    • Understanding API and methods of TweenJS
    • Creating a simple animation
      • Scenario
    • Transforming shapes
      • An example of Transforming function
    • Understanding Sprite Sheet
      • Developing animations using Sprite Sheet
    • Summary
  • Chapter 5: Utilizing Caching in EaselJS
    • Exploring the caching feature of EaselJS
    • Understanding the cache method
      • Example of using cache
    • Using cache in complex shapes and animations
    • Caching Bitmap
    • Summary
  • Chapter 6: Using Filters in EaselJS
    • Understanding the Filter class
    • Using the AlphaMapFilter class
    • Using the AlphaMaskFilter class
    • Implementing the BlurFilter class
    • Utilizing the ColorFilter class
    • Using the ColorMatrixFilter class
    • Summary
  • Chapter 7: Developing a Painting Application
    • Preparing the stage
    • Understanding the init function
    • Implementing the handleMouseDown function
    • Using the handleMouseMove function
    • Utilizing the handleMouseUp function
    • Downloading the source code
    • Summary

Afshin Mehrabani

Afshin Mehrabani is an open source programmer. He is studying to be a computer software engineer. He started programming and web development when he was 12 years old, as well as starting with PHP. Later, he joined the Iran Technical and Vocational Training Organization. He secured the first place and received a gold medal in a competition which was conducted across the entire country in the area of web development. He became a member of the Iran National Foundation of Elite after producing a variety of new programming ideas.

He was a software engineer at the Tehran Stock Exchange and is now the head of the web development team in the Yara Company. He cofounded the Usablica team in early 2012 to develop and produce usable applications. He is the author of IntroJs, WideArea, flood.js and some other open source projects.

He has contributed to Socket.IO, Engine.IO, and some other open source projects. He is also interested in creating and contributing to open source applications, writing programming articles, and challenging himself with new programming technologies.

He has written different articles about JavaScript, Node.js, HTML5, and MongoDB that have been published on different academic websites. Afshin has 5 years of experience in PHP, Python, C#, JavaScript, HTML5, and Node.js in many financial and stock trading projects.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Getting Started with CreateJS +    Moodle for Mobile Learning [Video] =
50% Off
the second eBook
Price for both: $17.99

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Install and configure CreateJS
  • Implement the drag-and-drop interactions
  • Utilize HTML5 to develop complex animations with EaselJS and TweenJS
  • Improve animation rendering with caching techniques
  • Enhance pictures and shapes using filters like hue
  • Build a UI using CreateJS

In Detail

CreateJS is a popular, well supported JavaScript library used for web advertising, education, gaming, and cartooning.The CreateJS suite consists of different libraries that are designed to work independently or together to create rich interactive content on open web technologies on an HTML5 canvas. In CreateJS, the EaselJS API provides solutions for working with rich graphics and interactivity and integrates well with its tweening library; TweenJS.

Starting with the basics of CreateJS, you will learn how to create your first working web application. You will gain practical experience of utilizing features like drag-and-drop, caching, filtering, and painting, to build visually impressive web applications.

Filled with practical examples and extensive descriptions, this book starts by helping you with installing and configuring the CreateJS suite in different environments. You will then discover the EaselJS API and implement the basic objects and methods. You will progress to create animations in CreateJS using TweenJS and will learn to optimize the performance of animations for better rendering in different browsers.

You will also learn to use the Vector masks to create multiple layers on the canvas.Finally, you will gain the expertise to develop your own web applications, rich with stunning visual renditions and a hands-on experience of working with CreateJS.

This is a definitive guide for anyone who is planning to use the prolific CreateJS suite to develop compelling web applications.

Approach

This is a detailed, step-by-step guide that helps you to optimize the features of the CreateJS suite and take you ahead towards using HTML5 to build visually stunning web applications.

Who this book is for

If you are a web developer with some experience in JavaScript development, and want to enter the fascinating world of feature-rich Internet applications with CreateJS, then this book is perfect for you.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software