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 
example, the TeX Live installation includes both ConTeXt and 3dgeom.mp, so you 
should be able to use the 3dgeom package in MetaFun simply with "input 3dgeom" 
in your MetaPost code. (I did a quick check, successfully drawing a drawing a 
cube with 3dgeom. I have not tested it beyond than that.)

If there isn’t a MetaPost package for what you want, Lua may be useful for 
doing the calculations.

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to