Many of the online learning environments use drawing as a lesson hook or activity. For instance, drawing flags at code.org, or a whole drawing and animation course at Khan Academy. This is not just native Javascript, these environments use libraries such as Processing.js - although it is a bit easier now with the HTML5 canvas.
So if you want to set up or explore your own examples, how do you go about it? You could certainly jump to the "free draw" sections of these other web sites, but what's actually "under the hood"? I've collected some links and notes here to help start to build knowledge about how to draw with Javascript.
So if you want to set up or explore your own examples, how do you go about it? You could certainly jump to the "free draw" sections of these other web sites, but what's actually "under the hood"? I've collected some links and notes here to help start to build knowledge about how to draw with Javascript.