Circular Object

Ben Fisher boinjyboing at hotmail.com
Sun Jan 9 13:07:00 EST 2005


>Hi Folks... I'm looking for an object that is circular and has the 24 hours
>of the day divided up into quarter hour segments where each segment is an
>object that can be clicked.  Has anyone created one of these?  Jim 

Jim,

It wouldn't be that hard to do using some trigonometry :) But there's an easier way.

If you're looking for a "pie-slices" type diagram...you could use arcs of a circle graphic. For example you would have 24 identical circle graphics, all centered on the same point. Then you would set the arc angle of one of them from 0 to 15, the next from 15 to 30, from 30 to 45, and so on until 360. That way you'd have a pie chart - type graphic with each segment an object. You could further subdivide using smaller angles.

-Ben


More information about the use-livecode mailing list