Exporting a Squeak Animation
dave_faught at yahoo.com
Thu May 29 13:37:39 UTC 2003
On 29/05/03 03:01, "Bert Freudenberg"<bert at isg.cs.uni-magdeburg.de>
>On 28/05/03 12:00, "David Faught" <dave_faught at yahoo.com> wrote:
>> I have developed a series of Morphic animations for some data
>> analysis that I would like to export to a MS Powerpoint
>> presentation. I had thought that I could just define a Form over
>> each frame of the animation and write it out to a file (which I
>> might still end up doing as individual frame GIF/JPEG files), but it
>> appears that Squeak cannot write out the same animation formats that
>> it can read in. The formats that I am refering to are animated GIF,
>> MPEG, and Flash.
>> Am I missing something here, or is there some other animation format
>> that Squeak can write out that Powerpoint might be able to import?
>> I have several animations of 80 to 100 frames each, so it would be
>> really nice to do this in a fairly automated way. Any suggestions?
>I wrote a GIFWriter that could handle animated GIFs back in 1996. I
>just resurrected it, see next post.
Thanks Bert! Unfortunately when I tried this it seems to mess up the
color palette. I set the display depth to 8 so that I could use a
ColorForm as in:
image := ColorForm fromDisplay: (Rectangle origin: (x1 at y1) corner:
(x2 at y2)).
writer nextPutImage: image.
Does the color screw-up come from the fact that I am using a new
ColorForm for each frame?
I like the idea of using Squeak to replace Powerpoint, unfortunately I
need to put this stuff in Powerpoint to be able to share it with my
I'm going to try to attach 1 of the animations that I made from
individual frames out of Squeak so that you can see what it looks like.
This was NOT made with Bert's changes, but using "GIF Construction
Set". It is a plot of utilization on the Y axis by hour of the week on
the X axis. There are 7 vertical grid areas that divide the days of
the week. The animation cycles through 86 weeks of data with the most
recent week, noted at the bottom, being the strongest color and the
previous weeks gradually fading to the background.
Whoops, the attachment didn't work because the file is bigger than 3
MB. I'll see if I can find somewhere to upload it and let you know ...
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
More information about the Squeak-dev