[NTG-context] Re: Do we have a geometry library for Metafun?

2024-01-13 Thread Shiv Shankar Dayal
Can we please add https://github.com/jemmybutton/byrne-euclid/blob/master/byrne.mp to Wiki because files have a tendency to disappear? Similarly, can we please add https://github.com/thruston/Drawing-with-Metapost/blob/main/Drawing-with-Metapost.pdf file to Wiki? -- Respect, Shiv Shankar Dayal

[NTG-context] Re: Do we have a geometry library for Metafun?

2024-01-13 Thread Shiv Shankar Dayal
The fiziko library by the same author is also very interesting: > https://github.com/jemmybutton/fiziko > Since it has some pseudo-3D features, maybe you can learn from it. > Thanks for all this info. I will look into this and perhaps come up with a Metapost file, and then we can possibly add

[NTG-context] Re: Do we have a geometry library for Metafun?

2024-01-13 Thread Henning Hraban Ramm
Am 13.01.24 um 15:54 schrieb Gavin via ntg-context: One pretty MetaPost drawing option is the byrne package by Sergey Slyusarev, which he used (with ConTeXt) to reproduce Oliver Byrne’s 1847 quirky edition on the first six books of Euclid’s “Elements”. All of the drawing is in MetaPost, and

[NTG-context] Re: Do we have a geometry library for Metafun?

2024-01-13 Thread Gavin via ntg-context
Hi Shiv, The author of tikz-euclide has another package, tikz-elements, which looks like it could be used to do all of these calculations for MetaFun. The tikz-elements package, in spite of its name, appears to contain exactly one line of TikZ code. This line is in the very simple style file,

[NTG-context] Re: Do we have a geometry library for Metafun?

2024-01-12 Thread Shiv Shankar Dayal
> No library that I know of, but drawing tangents (and therefore, > perpendiculars) is straight-forward: > >https://tex.stackexchange.com/a/108060/323 > > Circumcircle, orthocenter, etc... are you thinking of triangles or general > polynomails? > Triangles. I understand that most of it is

[NTG-context] Re: Do we have a geometry library for Metafun?

2024-01-12 Thread Aditya Mahajan
On Fri, 12 Jan 2024, Shiv Shankar Dayal wrote: > Do we have a geometry library for common operations like finding tangents, > perpendiculars, circumcircle, orthocenters and such? No library that I know of, but drawing tangents (and therefore, perpendiculars) is straight-forward:

[NTG-context] Re: Do we have a geometry library for Metafun?

2024-01-12 Thread Shiv Shankar Dayal
Dear Gavin, I have managed to create an implementation for these operations which I think I can convert into functions and put in startMPinclusions and then use them from. there. On Fri, Jan 12, 2024 at 9:42 PM Gavin via ntg-context wrote: > Hi Shiv, > > > Do we have a geometry library for

[NTG-context] Re: Do we have a geometry library for Metafun?

2024-01-12 Thread Gavin via ntg-context
Hi Shiv, > Do we have a geometry library for common operations like finding tangents, > perpendiculars, circumcircle, orthocenters and such? I don’t think we have anything like that specifically in the MetaFun world, but if there is a MetaPost package you like, you can use it with MetaFun. For