In this chapter, we created a drawing application called canvas pad which can be used to make simple drawings. Along the way we learned how to use the HTML5 canvas element and API. We also learned how to implement a reusable toolbar with menu items that are bound to actions using custom data attributes. We now have a reusable toolbar we can use in other applications.
We covered the following concepts in this chapter:
<canvas>
element and the canvas APIIn the next chapter we will continue our exploration of the canvas. We will learn some more advanced canvas features such as transformations and rotations. We will also see how to load images and export them from the canvas, in the process touching upon the file API. Then we will get down to the individual pixels of the canvas to do some image manipulation.
18.118.102.225