Quotient

hh hh at hyperhh.de
Mon Jun 24 17:12:57 EDT 2019


A (theoretical) circle is effectively a regular polygon with "many" vertices.

LC Script draws only integer valued points (although you can give decimals).

That approximation of a circle by regular polygons is shown in the sample stack
http://forums.livecode.com/viewtopic.php?p=98716#p98716

The stack does what you want (outputs integer valued points by rounding).
Clicking the points shows their location indicated red in the polygon.

p.s. x div 1 is the same as trunc(x) for x>=0.



More information about the use-livecode mailing list