This demo shows how complex user interface behavioural requirements may be described and implemented using SCXML. The goal is to implement a subset of Inkscape's functionality, and to realize its behavioural requirements, which were obtained through observation (as opposed to analyzing at the code).
Like the first drawing tool demo, this demo uses just-in-time compilation, employing XMLHTTPRequest to download an SCXML document, and compiling it in the browser when the page is loaded.
This demo also generates a graphical SVG representation of the downloaded SCXML document on the fly, and animates it in response to changes in state triggered by UI events.
To view this demo, you need a Web browser that supports SVG.
The drawing tool component has been tested in Firefox 3.6.8, Opera 10.6, and Chromium 5 on Ubuntu 10.04.
The SCXML graphical visualization component has been tested in Firefox 3.6.8, and has unresolved issues in Opera and Chromium.