Chapter 4. Pushing Canvas Further

In this chapter you're going to explore some of the more advanced functionality that canvas provides. You'll be looking at ways to save time if you want to use lots of different drawing styles, as well as how to transform and manipulate your drawings so they look more exciting. Toward the middle of the chapter you'll learn how to create shadows and gradients to make your shapes more realistic and interesting. The chapter ends with a look at creating exotic shapes using advanced paths, followed by finding out how to export the canvas as an image so you can store it or use it at a later date.

This is an exciting chapter that I hope will really open your eyes to some of the cooler things that canvas can do.

Saving ...

Get Foundation HTML5 Canvas now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.