metadave
2019-8-6 14:05:45

@metadave has joined the channel


mark.warren
2019-8-6 14:25:15

Does anyone know of a pict constructor for a regular polygon? Or do you need to draw your own?


soegaard2
2019-8-6 14:28:18

There are polygons in MetaPict. The function regular-polygon returns a curve. Use draw to turn it into a pict.



mark.warren
2019-8-6 14:29:19

@soegaard2 Thanks, didn’t think to look there.


soegaard2
2019-8-6 14:29:56

There is also a regular-polygon in 2htdp/image


mark.warren
2019-8-6 14:30:34

missed that, thanks.


soegaard2
2019-8-6 14:31:18

That doesn’t support inradius and circumradius though.


mark.warren
2019-8-6 14:33:17

Ok