All work etc

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: , ,

Comments

(Anonymous)

Cool!

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?

Re: Cool!

It just didn't occur to me.

(Anonymous)

Cool. Now how about similar, but with APNG?

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

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

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.

September 2014

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
282930    
Powered by LiveJournal.com