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.
_______________________________________________
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

Reply via email to