To note: Javascript is not running in this browser environment. Our apologies, but this demo has not yet been updated to support progressive enhancement.
Test purpose
- Create a shape entity
- Clone a shape
- Position the shape on the canvas
- Change the state of a subset of shapes sharing the same state object
- Check the various drawing methods available to the shape
- Kill and resurrect several entitys to make sure they remove themselves entirely from the Scrawl-canvas system, and cleanly recreate themselves from saved packets
Touch test: should work as expected - though flicking a shape may lead to it moving beyond the canvas border and out of sight!
Annotated code