ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Metafun hexagons aren't hexagons
@ 2022-07-20 21:26 Max Chernoff via ntg-context
  2022-07-21  3:56 ` Alan via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Max Chernoff via ntg-context @ 2022-07-20 21:26 UTC (permalink / raw)
  To: ntg-context; +Cc: Max Chernoff

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Metafun hexagons aren't hexagons
  2022-07-20 21:26 Metafun hexagons aren't hexagons Max Chernoff via ntg-context
@ 2022-07-21  3:56 ` Alan via ntg-context
  2022-07-21 16:51   ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Alan via ntg-context @ 2022-07-21  3:56 UTC (permalink / raw)
  To: Max Chernoff via ntg-context; +Cc: Alan, Max Chernoff

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

Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Metafun hexagons aren't hexagons
  2022-07-21  3:56 ` Alan via ntg-context
@ 2022-07-21 16:51   ` Hans Hagen via ntg-context
  2022-07-21 17:07     ` Alan via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen via ntg-context @ 2022-07-21 16:51 UTC (permalink / raw)
  To: Alan via ntg-context; +Cc: Hans Hagen

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 <ntg-context@ntg.nl> 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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Metafun hexagons aren't hexagons
  2022-07-21 16:51   ` Hans Hagen via ntg-context
@ 2022-07-21 17:07     ` Alan via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: Alan via ntg-context @ 2022-07-21 17:07 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Alan

On Thu, 21 Jul 2022 18:51:23 +0200
Hans Hagen via ntg-context <ntg-context@ntg.nl> wrote:

> 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 <ntg-context@ntg.nl> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-21 17:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-20 21:26 Metafun hexagons aren't hexagons Max Chernoff via ntg-context
2022-07-21  3:56 ` Alan via ntg-context
2022-07-21 16:51   ` Hans Hagen via ntg-context
2022-07-21 17:07     ` Alan via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).