11 May
2021
11 May
'21
4:02 p.m.
On Tue, 11 May 2021, Jairo A. del Rio wrote:
For simple pens, you may define your own (section 9.7 of MetaPost manual). For complicated strokes, something along these lines could be useful as a starting point (I'm not taking cyclic paths in consideration, btw). I did something similar with duck footprints some weeks ago:
%Sorry for the ugly code...
Look at this old code on how hide such code behind a macro to have a clean interface: https://github.com/adityam/mp-sketch/blob/master/mp-sketch.mp Sometimes I use such effects in presentations but you have to resist the temptation to overdo it: http://www.cim.mcgill.ca/~adityam/talks/2016-it-forum.pdf Aditya