Learn HTML5 Canvas for beginners

Learn how to create drawings using JavaScript on HTML5 Canvas Course covers basics of how to use Canvas and Draw
4.4 (11 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
2,330 students enrolled
85% off
Take This Course
  • Lectures 49
  • Length 3.5 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 3/2016 English

Course Description

The canvas element in HTML5 allows you to create amazing dynamic script based drawings and animations directly within your webpages. Bringing your JavaScript to life visually drawing free form graphics on a drawing surface.

Canvas is a powerful element with many options. In this course we show you how to use canvas and start drawing onto it using JavaScript. With over 15 years experience in web development I show you how to use canvas in the real world. Learn the basic concepts of using canvas to draw directly on your web page.

This course is for beginners who want to learn how to use HTML5 better. You will learn how to setup canvas and how to interact with it. I share top resources, links and code snippets to practice and perfect using canvas for web development.

Course covers

  • starting to draw on the canvas
  • drawing rectangles and lines
  • drawing arc and circles
  • how to implement curves
  • how to add colors
  • dashes, lines, and gradients
  • Popular HTML5 methods
  • How to add text
  • creating images on the fly
  • on page images
  • scaling, slicing and canvas manipulation
  • saving and restoring canvas
  • rotations and custom transformations
  • Animating your canvas

Source code is included, several challenges with solutions are also included in this course.

Learn how to create your own dynamically generated graphics and cool animations online.

You can use canvas for building graphs, creating animations, games, and image composition.

This course will provide you the base knowledge needed to create drawings within canvas.

What are the requirements?

  • basic HTML and JavaScript
  • desire to learn
  • access to a computer

What am I going to get from this course?

  • draw using HTML5 canvas
  • create animations within HTML5 Canvas on web pages
  • add image creation and manipulation on the fly within web content
  • using HTML5 canvas on any website

Who is the target audience?

  • anyone who wants to learn more about using HTML5
  • learn how to use HTML5 and JavaScript
  • learn the basics of HTML5 canvas
  • learn how to apply animations on web pages

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Learn about how to use HTML5 canvas
Introduction to the course
Introduction to what HTML5 canvas is and how it can be used
Course resources further reading
HTML5 Course Resources
HTML5 prepare basic setup HTML
Pixel locations in HTML5 canvas
Section 2: Basics of HTML5 Canvas Drawing
How to create a canvas in HTML5
HTML5 connect canvas to JavaScript
HTML5 drawing on your canvas JavaScript
HTML5 rectangles
shadows in canvas
Source code for shadows
Drawing line on Canvas HTML5
Draw Full Circle
Drawing Curves with HTML5 How to use Bezier Curve
Curves Loops and useful tips for HTML5 canvas drawing
HTML5 canvas updates
Source Code for Challenge 1
Solution to Challenge 1
Section 3: More options to Drawing on HTML5 canvas
Introduction to Colors HTML5 Canvas
RGB RGBA colors working with alphas and loops
All about lines in HTML5 Canvas
Dashes in lines
How to work with createLinearGradient
How to use createRadialGradient in HTML5 canvas
Practice HTML5 methods
Section 4: HTML5 canvas Text and Images
How to add text to html5 canvas
Source code for adding text
Difference between SVG and Canvas images
Use HTML5 Canvas to create images on the fly
HTML5 canvas using onpage images into canvas
Image Scaling with HTML5 canvas
Image slicing with HTML5 canvas
Challenge 2 add frame to image
Source for frame
Solution to Challenge 2
Source code for working with images
Section 5: HTML5 canvas more complex drawing
Using save and restore
HTML5 moving all the content
HTML5 how to resize your canvas
HTML5 rotations
HTML5 canvas custom transformations
Source code for transformations
Section 6: HTML5 canvas Animations
introduction to animation
Add object for animation
Creating canvas drawings
How to clear HTML5 canvas
Animations requestAnimationFrame
Source code for animation

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Laurence Svekis, Instructor, 18+yrs Web Experience

I'm here to help you learnachieve your dreams, come join me on this amazing adventure today

Innovative technology expert with a wide range of real world experience. Providing Smart digital solutions online for both small and enterprise level businesses.

"I have a passion for anything digital technology related, enjoy programming and the challenge of developing successful digital experiences. As an experienced developer, I created my first computer applications in 1990, and my first website in 1998.  I enjoy sharing my knowledge with others and want to help you share in the wonderful opportunities that the internet provides."

"Learning, understanding with a strong passion for education.  The internet has provided us with new opportunities to expand and share knowledge."

Want to learn more about becoming a web developer, do you want to experience the freedom that technology provides for us? Learn how to bring amazing things to life online.  Technology connects us all in many ways.  It opens up doors to those who embrace it and learn how to make those connections real.

"My courses are designed to help you achieve your goals, learn and update skills"

Background : An experienced web application developer, having worked on multiple enterprise level applications, hundreds of websites, business solutions and many unique and innovative web applications.  Web application development areas of expertise include HTML, CSS, JavaScript, JQuery, Bootstrap, PHP and MySQL. Anything to do with web creation and digital experience. Passionate about everything to do with web application development, programming to online marketing with a strong focus on social media and SEO

"Understanding technology provides a means to better connect with users.  It also opens so many doors.   Knowledge is the key to success and I want to help you experience what technology has to offer. I'm passionate about web technologies, and look forward to sharing my knowledge and experience with you!"

Ready to start learning?
Take This Course