Glimmr Canvas Animation

version 1/111030 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Adjusting origins and endpoints
    [This phrase is intended to allow origins of g-elements and g-windows to be changed simply. It can also be used to change the endpoint of a primitive g-element.]

    To adjust the (P - a (list of numbers) valued property) of (O - an object) by (dX - a number) and (dY - a number):
        let X be entry 1 of list property P of O;
        let Y be entry 2 of list property P of O;
        let X be X + dX;
        let Y be Y + dY;
        now entry 1 of list property P of O is X;
        now entry 2 of list property P of O is Y.