User Tools

Site Tools


blog:2010:03:25:metapost-like_debugging_in_asymptote

MetaPost-Like Debugging in Asymptote

I mostly switched from MetaPost to Asymptote for generating my figures.

One thing that I found useful in MetaPost (or more specifically, MetaFun) was the debugging routines such as drawwholepath which renders the details of a given path. This is may be used to determine subpaths for commands such as buildcycle or just to analyse or refine a path coming from a library.

It seems Asymptote is not (yet) equiped with such debugging routines, so here is my attempt.

Here is a simple path, drawn normally and then with my debugging routine.

A Simple PathDebug Path

Files:

Discussion

Enter your comment. Wiki syntax is allowed:
 
blog/2010/03/25/metapost-like_debugging_in_asymptote.txt · Last modified: 2011/02/20 20:28 (external edit)