"I prefer drawing to talking. Drawing is faster, and leaves less room for lies." - Le Corbusier
This might be the most experimental chapter of this entire book. In the recipes that follow, we will really push the limits of what is possible throughout this group of recipes.
Note
Please note that over the course of time, the experimental new canvas
element specifications are likely to change. Consider this group of recipes to be a snapshot of what is possible at the time of publication.
Putting an image on a website is so easy we take it for granted now. Through code, you simply tell the browser to display an image and, it's done. All that seems like child's play. Currently, some browsers can actually create dynamic images on the fly using the new canvas
element. All the heavy lifting is up to JavaScript.
The cool thing with the new open-source canvas
element is that not only can you create dynamic images on the fly, but the users' actions can create new images in real time as well...