Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Skillshare

Get creative with the HTML5 Canvas

via Skillshare

Overview

Learn how to draw amazing graphics and animations using the HTML5 Canvas!

The Canvas is a HTML5 element we can use to add a drawing area to our websites, applications or browser based games. The Canvas is packed full of features to create some amazing graphics.

We begin this course with the basic features including:

  • Setting up the Canvas and creating fallback content for unsupported browsers
  • Scripting 
  • Drawing shapes such as squares, rectangles, arc's and circles
  • Lines & paths
  • Line widths and matching to pixels
  • Working with different types of corners and miters
  • How to remove sections of the canvas
  • Adding Canvas text and styling
  • Color fills, patterns, gradients and shadows

Then we step things up looking at more advanced techniques such as:

  • Bezier & quadratic curves
  • How to save and restore the Canvas
  • Scaling, rotating and translating drawings
  • How to use transformations
  • Accessing pixel data to both draw to the canvas and also manipulate images.
  • Use loops for repetitive tasks
  • Adding canvas animations

The uses for the Canvas is only limited to your imagination! Everything you need to complete the course is included or free to use, there is no extra software, subscriptions or purchases etc to complete or take this course.

So are you ready to take your skills to the next level?

Join me now and I look forward to having you on board!

Syllabus

  • Welcome!
  • What is the HTML5 Canvas?
  • Canvas Basics: Setting up the Canvas
  • Canvas Basics: Scripting & drawing rectangles
  • Canvas Basics: Understanding the Canvas co-ordinates
  • Canvas Basics: Lines & paths
  • Canvas Basics: Line widths & matching to pixels
  • Canvas Basics: Corners & miters
  • Canvas Basics: Arc's & circles
  • Canvas Basics: Adding canvas text
  • Canvas Basics: Removing sections of the canvas
  • Canvas Basics: Gradients
  • Canvas Basics: Adding images to the canvas
  • Canvas Basics: Patterns & shadows
  • Stepping It Up: Bezier & quadratic curves
  • Stepping It Up: Save & restore
  • Stepping It Up: Scale, rotate & translate
  • Stepping It Up: Canvas transformations
  • Stepping It Up: Working with pixels
  • Challenge intro: Converting images to greyscale
  • Challenge: Converting images to greyscale
  • Stepping It Up: Looping
  • Stepping It Up: Animating
  • Final project: Introduction
  • Final project: Draw Mickey Mouse!
  • Thank you
  • Follow me on Skillshare!

Taught by

Chris Dixon

Reviews

Start your review of Get creative with the HTML5 Canvas

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.