Summary
We have covered quite a lot of content in this chapter! Beginning with an overview of the HTML5 Canvas document type, a number of its aspects were highlighted and examined, including the HTML canvas element, the JavaScript programming language, and the CreateJS libraries. We then started writing a program within a simple HTML5 Canvas document that included no existing visual assets within the Timeline, Stage, or Library. We used this foundation to perform creative coding exercises using aspects of randomization and user interaction and intent to establish generative art and motion through code alone. We included the ability to cycle through random colors and special gestures that tap into core web browser functionality to process our generated art into bitmap data and preserve it as a downloaded image file. Finally, we examined some of the publish settings for this document type to best push our little creative coding program for distribution.
In the next chapter, we’...