Any suggestions on how to "onion skinning"?

Ian Wood revlist at azurevision.co.uk
Wed Nov 28 15:19:27 EST 2007


On 28 Nov 2007, at 19:44, Scott Rossi wrote:

> Recently, Ken Ray wrote:
>
>> I'm working on a program with my son that does simple card-based
>> animation, but one of the things he asked how to do in Rev stumped  
>> me,
>> and that is doing an "onion skin"
>
> I would try overlaying a translucent screen capture of the prev or  
> next
> card.

Agreed. Or do it by taking a snapshot directly from the card - this  
should work even if it's not the frontmost card.


On 28 Nov 2007, at 18:17, Ken Ray wrote:
> At best, what I'd *like* to do is to basically convert images to
> grayscale, and at worst I'd settle for turning all non-white pixels a
> single color of gray. I know I can walk through the imageData and
> convert things pixel by pixel, but I fear that would be really slow on
> larger (say 800x600) images (although I haven't tried it yet).

It might be worth having a look through the ink modes, I *think*  
there was some trick for getting near-greyscale by layering black and  
white graphics above and below the image, but I can't remember any  
details. :-(

Ian





More information about the use-livecode mailing list