HTML5 Canvas
Summary
Canvas is an HTML5 element which gives you drawable surface inside your web pages you can control with JavaScript. Powerful enough to use for compositing images and even creating games.
In this course, through several sample projects, you’ll learn how to use the canvas; how to make compositions using shapes, images, and text; how to create effects and filters on images and how to create animations.
Expected Learning
You should take this course if you want to move beyond static HTML tag content and build on your JavaScript skills to make interactive and engaging experiences. Maybe you want to start on the journey of creating a game or complex animations, maybe you want to create visually compelling compositions like infographs, or maybe you just want to make memes. Canvas to the rescue.
This is a recommended course for the Front-End Web Developer nanodegree, and will help you complete the Frogger project.
Syllabus
You’ll learn how the Canvas 2D API works and how to use it to create interesting applications. Each sample project will expose you to different aspects of HTML5 Canvas that you can use to make your own applications.
Lesson 1: HTML5 Canvas Basics
In this lesson, we’ll discuss what the Canvas is, how it affects graphics in the browser and what makes it truly awesome. We’ll make compositions with text and images (e.g. memes) as we learn the API.
Lesson 2: From Pixels to Animation
In this lesson, we’ll learn about how images are stored by the Canvas2D context, how to modify them on a pixel level by applying various effects and filters, and how to create animations.
Required Knowledge
To succeed in this course, we expect you to have some HTML and JavaScript experience. You should at minimum understand loops, functions, and conditional statements(if/else).
Udacity’s JavaScript Basics course and HTML/CSS course are good preparation for this course.