Rolling Animation

Devin Asay devinasay at gmail.com
Fri Apr 13 10:17:26 EDT 2007


On Apr 12, 2007, at 10:07 PM, Sivakatirswami wrote:

> I wonder if someone has already scripted this... I did not find it  
> in Malte Brill's tutorials:
>
> Rolling wheel or ball:  round object that has distintive colors and  
> shapes appears
> to be rolling forward or backward.
>
> One would have to grok the math for having the rotation match the  
> movement.
> i.e. the circumference of the object would define the "length" that  
> it moved as
> at rolled, if this is to look realistic. If speed increase, the  
> rate of rotation
> would have to increase in proportion.
>
> My higher math functions are rusty to non-existent... I *might* be  
> able
> to figure it out.  I suspect it is a simple combination of 2-3  
> functions.
>
> So, before I try to re-invent this "wheel" I thought i would ask here.

Katir,

Do you remember a couple of years ago a few people on the list  
collaborated to create a simple pool game--Nine Ball With Spin? Maybe  
some of the routines in that stack would help you. If you don't have  
a copy I have one at

go stack url "http://asay.byu.edu/calico/nineball.rev"

HTH

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




More information about the use-livecode mailing list