Polygon Side Does Note Match to Polygon rect

Sannyasin Brahmanathaswami brahma at hindu.org
Sat Dec 28 09:54:48 EST 2019

@HH @brian

Ha! You math genius are wonderful! But this is a one off design process, so I will still with my "ruler" grc rect….

A triangle with width=height is NOT a regular polygon (it doesn't have equal side length).

To have what you want create a grc of type "polygon" and then

set points of grc 1 to "0,0,10,-10,20,0,0,0"
set width of grc 1 to 243
set height of grc 1 to 243

To have equal sideLength you set the width to 243/sin(pi/3).

More information about the use-livecode mailing list