[metapost] METATYPE1 pen-stroking and tight curves

Shriramana Sharma samjnaa at gmail.com
Thu Sep 20 04:09:32 CEST 2012


Hi Matthew -- did you consider finding the radius of curvature
(http://en.wikipedia.org/wiki/Curvature) and testing it against the
radius of the stroking pen?

Also, re your previous remarks on how to find and introduce inflection
points, have you considered testing for the cross-product of the first
and second derivatives being zero? See
http://www.caffeineowl.com/graphics/2d/vectorial/cubic-inflexion.html
(but the algorithm is documented elsewhere too, like in
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.86.8080&rep=rep1&type=pdf
p 4 so I hope it's not the unique discovery of the caffeineowl
author.).

Do let me know of any progress you have in this regard as I am sure my
project will also be benefited.

Thanks!


-- 
Shriramana Sharma


More information about the metapost mailing list