<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font face="Georgia">One more - with an arbitrary morph</font></p>
    <p><font face="Georgia"><br>
      </font></p>
    <p><font face="Georgia">    | secondHand flex pos elapsed start rads
        |<br>
            <br>
            pos _ 100@100.<br>
            secondHand _ (StringMorph contents: 'seconds') color: Color
        magenta.<br>
            flex _ TransformationMorph new.<br>
            flex addMorph: secondHand.<br>
            secondHand position: 0@0.<br>
            flex position: pos.<br>
            flex offset: secondHand position.<br>
            flex openInWorld explore.<br>
            start _ Time millisecondClockValue.<br>
            [elapsed _ Time millisecondClockValue - start. elapsed <
        60000] whileTrue: [<br>
                rads _ Float twoPi * (elapsed \\ 60000) / 60000.<br>
                flex angle: rads negated.<br>
                World displayWorldSafely.<br>
            ]</font><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 4/6/17 7:23 PM, tim Rowledge wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:22D950FF-2A5F-4E07-A67F-9884C1553C15@rowledge.org">
      <pre wrap="">Thanks Bob,

</pre>
      <blockquote type="cite">
        <pre wrap="">On 06-04-2017, at 3:52 PM, Bob Arning <a class="moz-txt-link-rfc2396E" href="mailto:arning315@comcast.net"><arning315@comcast.net></a> wrote:

| secondHand |
secondHand _ Morph new extent: 3@50; color: Color yellow.
holder _ Morph new extent: 1@1; position: 100@100.
secondHand bottomRight: 0@0.
holder openInWorld.
flex _ holder addFlexShell.
holder addMorph: secondHand.
1 to: 30 do: [ :i |
    flex angle: Float pi * (i/30.0) negated.
    World displayWorldSafely.
    (Delay forSeconds: 1) wait
].
flex explore
</pre>
      </blockquote>
      <pre wrap="">

That’s… interesting. So by putting the morph I care about into a ‘fake morph’ that doesn’t even enclose it and rotating that in a TransformationMorph it does pretty much what I need. Really clever and completely not what I’d ever expect.

Has to be a more easily usable approach that we can come up with to do this, surely. What is the purpose of the entire rotationCenter thing if not to make it be the center of any following rotations?

tim
--
tim Rowledge; <a class="moz-txt-link-abbreviated" href="mailto:tim@rowledge.org">tim@rowledge.org</a>; <a class="moz-txt-link-freetext" href="http://www.rowledge.org/tim">http://www.rowledge.org/tim</a>
May the bugs of many programs nest on your hard drive.



</pre>
    </blockquote>
    <br>
  </body>
</html>