[General] Good News: Canvas Port

Dan Ingalls Dan.Ingalls at Sun.com
Thu Mar 26 18:23:28 CET 2009


Hi, Michael -

> > the serialization support in the SVG DOM to save Lively state on web
>> pages.  In order to save our state without this SVG support, it will
>> be necessary to add a serialization / deserialization package that
>> uses another mechanism such as, eg, JSON.  This could be a lot of fun
>> for one of our braver community members (ahem).
>
>To be honest I haven't worked much with Lively, but done a lot of
>serialization work ;-)
>
>If not put into SVG anymore, how does state manifest itself in the new version?
>Is all state available in the lively objects or would one need to
>intercept the Canvas calls to capture the state?
>I could image that some state is now in code e.g. by drawing something
>with explicit values that are not kept in any variable.

The state of the Lively Kernel is essentially a scene graph, or since you're familiar with Squeak, it's basically a Morphic world.  I believe that all state is accessible in the Morphic tree.

	- Dan




More information about the lively-kernel mailing list