On Thu, 21 Jul 2022 18:51:23 +0200
Hans Hagen via ntg-context
On 7/21/2022 5:56 AM, Alan via ntg-context wrote:
On Wed, 20 Jul 2022 15:26:53 -0600 Max Chernoff via ntg-context
wrote: The recently added Metafun hexagons seem to be producing octagons instead:
\startMPpage fill fullhexagon scaled 100; draw unithexagon scaled 50 withcolor white; \stopMPpage
Of course, for an MP circle is defined by 8 points.
draw textext(decimal length unitcircle) ; i'll change it to octagon (was only used for some envelope tracing experiment)
\startMPcode fullhexagon := for i=0 upto 5 : .5dir(60i) -- endfor cycle ; unithexagon := fullhexagon shifted (.5,.5) ; draw fullhexagon scaled 1cm ; draw unithexagon scaled 1cm withcolor red ; draw unitcircle scaled 1cm withcolor red ; draw fullcircle scaled 1cm ; \stopMPcode