sqrt(3)/2 with metafun
Hello, I wanted to use sqrt(3)/2 but without success. Instead, I replaced this value with an approximate value 0.866 How should it be done ? Thank you Fabrice \starttext \startMPcode draw fullcircle scaled 1cm withcolor magenta ; draw fullcircle scaled 1cm shifted (1cm,0) withcolor magenta ; draw fullcircle scaled 1cm shifted (0.5cm,0.866cm) withcolor magenta ; \stopMPcode \stoptext
This seems to work in place of 0.866cm: sqrt(3)/2*cm
Michael
On Feb 2, 2017, at 3:54 PM, Fabrice Couvreur
Hi Michael,
Thanks, it's ok.
Fabrice
2017-02-02 22:02 GMT+01:00 Rogers, Michael K
This seems to work in place of 0.866cm: sqrt(3)/2*cm
Michael
On Feb 2, 2017, at 3:54 PM, Fabrice Couvreur
wrote: Hello, I wanted to use sqrt(3)/2 but without success. Instead, I replaced this value with an approximate value 0.866 How should it be done ? Thank you Fabrice
\starttext
\startMPcode draw fullcircle scaled 1cm withcolor magenta ; draw fullcircle scaled 1cm shifted (1cm,0) withcolor magenta ; draw fullcircle scaled 1cm shifted (0.5cm,0.866cm) withcolor magenta ; \stopMPcode
\stoptext ____________________________________________________________ _______________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/ listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ____________________________________________________________ _______________________
------------------------------
This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited.
If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments).
____________________________________________________________ _______________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/ listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ____________________________________________________________ _______________________
participants (2)
-
Fabrice Couvreur
-
Rogers, Michael K