Scrawl.js - demonstration 001

Adding a DOM canvas element to a page programmatically - #1

Extensions: phrase

Canvas will appear at bottom of this page ...

Scenario: testing scrawl.addCanvasToPage()


  1. create a new canvas element and attach it to document.body
  2. create phrase sprite and associate it with canvas element's Cell wrapper
  3. display phrase sprite on canvas element

Known browser issues: none

Result images:

image of expected test result