The samples below should allow you to get a feel for how to use jcotton.
Selecting a sample from the right will copy the code into the texbox in the middle and execute it.
You can see other sections of the tutorial by using the navigation on the top.
You can modify the code and press the "->&quot button to re-run the code.
In these examples I have already created the sampleCanvas object by running
var tutorialCanvas = jcotton.canvas("tutorialCanvas")
which creates a canvas object for the canvas with id "tutorialCanvas".