All work etc

« previous entry | next entry »
Feb. 1st, 2008 | 07:56 pm

From a work-in-progress that marries Vecto and Skippy. More of a shotgun wedding at the moment. Code looks something like:

(with-animation (:width 500 :height 100)
  (looping t)
  (with-frame (:height 75 :width 15 :x 15 :y 15)
     ;; a bunch of vecto stuff
     (delay 50))
  ;;  many more with-frames
  (save-file "jack.gif"))

Fun! And I was able to do it with poor old bloated obsolete blazing-fast DSL-enabling pure rocking Common Lisp! The language with hash tables and arrays! And with a less gross incf idiom!

Tags: , ,

Link | Leave a comment | Add to Memories | Tell a Friend

Comments {4}

Cool!

from: anonymous
date: Feb. 2nd, 2008 04:15 pm (UTC)
Link

Couple of observations:

* Looks like you are creating a DSL for writing GIF animations. That is cool.
* Why isn't the file to save to atleast a stream input into the with-animation macro?

Reply | Thread

Zach Beane

Re: Cool!

from: [info]xach
date: Feb. 2nd, 2008 04:21 pm (UTC)
Link

It just didn't occur to me.

Reply | Parent | Thread

Cool. Now how about similar, but with APNG?

from: anonymous
date: Feb. 6th, 2008 06:01 am (UTC)
Link

APNG support would be cool, to be ready for firefox 3...
(I know MNG is a better format overall, but APNG is more closely an animgif replacement.)

http://wiki.mozilla.org/APNG_Specification
http://littlesvr.ca/apng/demo.php

Reply | Thread

Zach Beane

Re: Cool. Now how about similar, but with APNG?

from: [info]xach
date: Feb. 6th, 2008 03:07 pm (UTC)
Link

I'd like to add support for APNG to ZPNG soon, and add some tools around producing animations. Unfortunately, due to the lack of widespread browser support at present, it's more of a "that'd be neat" hack than a "useful for wigflip" hack.

Reply | Parent | Thread