Skip to content
JS

Create Graphics with HTML Canvas

Course on egghead by Alyssa Nicoll

View on egghead (opens in a new tab)
25 min
LengthVideo runtime
Subscription
Price modelegghead plan
7
Lessons
3.6
Rating out of 51 ratings on egghead
Jul 2017
Published21 Jul 2017

About this course

Description from egghead

It’s really fun to work with graphics when building apps and websites, but how do you get started? HTML5 has a technology called Canvas that lets us draw graphics to our screens. We can do everything from making basic shapes to creating complex interactive games and animations! In this course, we will learn the basics of using Canvas . We’ll start by learning how to create a canvas on an HTML page. Next we will learn how to draw and style with fills and strokes. Finally, we will add interactivity to canvas elements.

What it covers

7 lessons
  1. 1Draw in HTML Canvas
  2. 2Add color to graphics using HTML Canvas
  3. 3 Specifying Height and Width on the Canvas Element
  4. 4Draw circles in HTML Canvas using .arc
  5. 5Add strokes to circles using HTML Canvas
  6. 6Use HTML Canvas arcTo, moveTo, and lineTo to draw a piece of a pie chart
  7. 7Add click interaction to HTML Canvas using JavaScript events

Similar HTML and CSS courses

  1. Convert SCSS (Sass) to CSS-in-JS

    egghead · Oleg Isonen · 11 lessons · 4.6 from 6 ratings · Aug 2018

    24 minFree
    egghead114.6 (6)Aug 2018
  2. Create an SVG Icon System

    egghead · Damon Bauer · 11 lessons · 4.3 from 1 ratings · Feb 2017

    28 minSubscription
    egghead114.3 (1)Feb 2017
  3. Flexbox Fundamentals

    egghead · Garth Braithwaite · 8 lessons · 4.4 from 77 ratings · Apr 2016

    18 minSubscription
    egghead84.4 (77)Apr 2016
  4. Calculator Project: HTML & CSS

    Master.dev · Jen Kramer · 12 lessons · Sept 2019

    48 minSubscription
    Master.dev12Sept 2019
  5. Images and Links in HTML

    Coursera · Judy Richardson · Jun 2020

    Beginner55 min
    CourseraJun 2020
  6. Introduction to HTML

    Coursera · Judy Richardson · Jun 2020

    Beginner55 min
    CourseraJun 2020
  7. Game Development: HTML to Unreal Engine Mastery

    Coursera · Karlis Zars, Starweaver · May 2024

    Beginner1 h
    CourseraMay 2024
  8. Learn CSS: Colors

    Codecademy · 1 lessons · Oct 2022

    Beginner1 h
    Codecademy1Oct 2022

A hyphen means the provider's catalogue does not state the value.

Same topic, nearest in length, up to three from any one provider.

Data read from the egghead catalogue on 28 Nov 2026. How the data is collected.

    Compare