Congratulations! You finished the Canvas tutorial! This knowledge will help you to make great 2D graphics on the web.

More examples and tutorials

There are a variety of demos and further explanations about canvas on these sites:

Canvas Codepens

Front End Developer Playground & Code Editor in the Browser.

Canvas Tutorials

Examples for most canvas APIs.

Game development

Gaming is one of the most popular computer activities. New technologies are constantly arriving to make it possible to develop better and more powerful games that can be run in any standards-compliant web browser.

Other Web APIs

These APIs might be useful when working further with canvas and graphics:


Advanced API for rendering complex graphics, including 3D.


Scalable Vector Graphics let you describe images as sets of vectors (lines) and shapes in order to allow them to scale smoothly regardless of the size at which they're drawn.

Web Audio

The Web Audio API provides a powerful and versatile system for controlling audio on the Web, allowing developers to choose audio sources, add effects to audio, create audio visualizations, apply spatial effects (such as panning) and much more.


Stack Overflow

Questions tagged with "canvas".

Comments about this tutorial – the MDN documentation community

If you have any comments about this tutorial or want to thank us, feel free to reach out to us!