Create Graphics with HTML Canvas
Course on egghead by Alyssa Nicoll
- 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
- 1Draw in HTML Canvas
- 2Add color to graphics using HTML Canvas
- 3 Specifying Height and Width on the Canvas Element
- 4Draw circles in HTML Canvas using .arc
- 5Add strokes to circles using HTML Canvas
- 6Use HTML Canvas arcTo, moveTo, and lineTo to draw a piece of a pie chart
- 7Add click interaction to HTML Canvas using JavaScript events
Similar HTML and CSS courses
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.