Metafun hexagons aren't hexagons

Hi, The recently added Metafun hexagons seem to be producing octagons instead: \startMPpage fill fullhexagon scaled 100; draw unithexagon scaled 50 withcolor white; \stopMPpage -- Max

On Wed, 20 Jul 2022 15:26:53 -0600
Max Chernoff via ntg-context
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) ; Alan

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)
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------

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
participants (3)
-
Alan
-
Hans Hagen
-
Max Chernoff