On Sun, 3 Aug 2008, Edward Heil wrote:

This makes a pretty pinwheel:

Shoes.app :width => 500, :height => 500 do
animate 10 do
  rotate 7
  line( 100, 100, 200, 200 )
end
end

At first glance I don't understand why. The first time through the "animate" loop, the line is rotated 7 degrees from where it would have been drawn. The second time, it is rotated 14 degrees, and so on.

Where does that stored rotation live?  Is there a "rotation value" in the
        [...]
Trying this I found that that rotation value seems to be specific to the slot:

Without checking NKS: I think the model is that the co-ordinate system
is rotated by the rotate command.  PostScript is similar.  This would
explain why rotating the coordinate system several times adds up the rotations.

        Hugh

Reply via email to