Canvas Cheat Sheet

HTML5 Canvas Cheat Sheet

HTML5 Canvas Load Stage with JSON String with KineticJS

Discussion

To deserialize a JSON string with KineticJS, we can use the Kinetic.Node.create() method which creates a node from a JSON string.  If we want to deserialize a stage node, we can also pass in an optional container parameter.

comments powered by Disqus