Here's a quickie stack I wrote after reading Richmond's email, which creates a set of points in an oval and then sends a planet around. The oval can be set to width (k), height (h), and angle (theta). Written in 5.5.5. Embedded in it is a stack script which contains the angled ellipse calculation x = h + (a*cos(t) * cos(theta)) - (b*sin(t) * sin(theta)), y = k + (a*cos(t) * sin(theta)) + (b*sin(t) * cos(theta)). Play.
On Thu, Jul 10, 2014 at 8:10 PM, J. Landman Gay <jac...@hyperactivesw.com> wrote: > On 7/10/2014, 12:43 PM, Richmond wrote: > >> I have a wobbly hand: or wobbly enough that I cannot draw >> an oval graphic to use as a path in a stack that doesn't look >> horrible. >> >> Does anybody have any tips on how to make an oval path with points >> >> [that means, before you all rush to point something out, that >> the oval object is no use at all] >> >> that doesn't look like it has been drawn by a middle-aged dipsomaniac? >> > > Mark Wieder recently added points to the standard graphic objects. But > until that gets into the engine, I can't think of an easy way to create > them. > > I suppose you could draw out an oval with a 3 or 4 pixel line width, and > then write a little script to record the mouseloc when you hit the return > key, or something similar. That would allow you to carefully position the > mouse before recording each loc. Then with some editing you could use that > list as the point list. > > It's not exactly how I'd want to spend my time though. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode