Glimmr Canvas Animation

version 1/111030 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Invocation phrases for reel preset

    To animate (track - an animation track) as a reel animation targeting (targ - an object) at (interv - a number), randomized and/or cycling:
        if randomized:
            now the track is animation-randomized;
        otherwise:
            now the track is not animation-randomized;
        if cycling:
            now the track is cycling;
        otherwise:
            now the track is not cycling;
        if the targ provides the property display status:
            now the display status of the targ is g-active;
        now the cycle-length of the track is the number of entries in the image-reel of the track;
        set up track as a reel with duration cycle-length of the track;
        now the animation-target of the track is targ;
        animate the track at interv[ ms per frame].
        
    To animate (track - an animation track) as a reel animation targeting (targ - an object) at (interv - a number) with a/-- duration of/-- (len - a number) frame/frames, randomized and/or cycling:
        if randomized:
            now the track is animation-randomized;
        otherwise:
            now the track is not animation-randomized;
        if cycling:
            now the track is cycling;
        otherwise:
            now the track is not cycling;
        if the targ provides the property display status:
            now the display status of the targ is g-active;
        now the cycle-length of the track is the number of entries in the image-reel of the track;
        set up track as a reel with duration len;
        now the animation-target of the track is targ;
        animate the track at interv[ ms per frame].