Draw spokes on a wheel
jhurley at infostations.com
Fri Mar 17 16:25:15 EST 2006
>Date: Fri, 17 Mar 2006 10:26:30 -0800
>From: Mark Talluto <userev at canelasoftware.com>
>Subject: Draw spokes on a wheel
>To: Revolution use Revolution <use-revolution at lists.runrev.com>
>Message-ID: <5FB1A45C-F6E6-4033-8236-AB90C57C9D30 at canelasoftware.com>
>Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>I need a little help drawing spokes to a wheel. This is actually
>used in a vision test. I have an image here to help illustrate the
>madness. I am sure someone like Jim Ault is shaking his head right
>I have been using an image, but would like to offer the ability to
>adjust the line length and thickness. The new antialiasing feature
>will also be handy. Thanks for any input.
You may be able to guess what my solution might be; that's right
put 12 into tNumSpokes
put 100 into tLengthSpokes
Paste this handler into a button in the stack:
go url "http://home.infostations.net/jhurley/StopTurtles.rev"
Or if you want something like the clock in your graphic;
go url "http://home.infostations.net/jhurley/Build_a_clock.rev"
There are lots of variations possible.
More information about the Use-livecode