Reputation
11,048
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
4 33 87
Impact
~314k people reached

1d
awarded  Famous Question
Feb
1
answered Asymptote: spring along an arc
Jan
25
comment Baffling interaction of Asymptote and Transparency
Although now that I do some experimentation, I'm not sure that a pen's opacity actually affects labels. The color certainly does.
Jan
25
comment Baffling interaction of Asymptote and Transparency
In general, the TeX commands to change color, transparency, etc. are not expected to function correctly inside Asymptote labels. Instead, modify the pen used for the label.
Jan
25
answered Baffling interaction of Asymptote and Transparency
Jan
22
comment Tikz curve without control points
Also: the question tex.stackexchange.com/q/54771/484 contains an example showing the difference between plot[smooth] and the Hobby algorithm used in Metapost and Asymptote. Basically, plot[smooth] uses a simpler algorithm that gives less good results, although it's fine for a circle.
Jan
18
answered Aligned pictures in Asymptote depending on Label?
Jan
18
revised Aligned pictures in Asymptote depending on Label?
added 249 characters in body
Jan
18
comment Aligned pictures in Asymptote depending on Label?
This is a very strange phenomenon. I have no idea why it's not working.
Jan
18
awarded  Autobiographer
Jan
17
answered Automatically draw hidden portions of paths with dashed lines in asymptote
Jan
12
comment Illustrating Stokes theorem with asymptote
@BenjaminMcKay: There is a fair amount you can do with 3d arrows in Asymptote (e.g., make them look 2d and--optionally--embed them in a plane of your choice); see section 3.13 of my tutorial.
Jan
12
comment Illustrating Stokes theorem with asymptote
Suggestion to further improve this beautiful picture: Make the surface opaque, but shift it away from the camera so that the boundary path is still visible.
Jan
11
comment Illustrating Stokes theorem with asymptote
The smoothSurface function described referenced above will end up recreating your smooth paths in the process of building a smooth surface. (Or you could just use the point function to parametrize your surface and plot it that way.)
Jan
11
awarded  Nice Question
Jan
11
comment Set absolute page size without scaling in asymptote
Your contribution is appreciated, but would be more helpful if you could explain how you need more than the size(width, height) command, e.g., size(50mm, 10mm);
Jan
11
comment Illustrating Stokes theorem with asymptote
Not so far as I know, but point(path p, int i) will give you the ith point on the path p. Using a for loop will allow you to extract all the points from the path. (For your purposes, each path has points numbered 0,1,...,8.)
Jan
8
comment Illustrating Stokes theorem with asymptote
Suggestion: Use the smoothSurface(triple[][]) function from this answer to construct a surface from a matrix of triples.
Jan
7
comment Asymptote: Label a point on surface
Have you tried it with L=Label("$A$", align=NE)?
Jan
6
comment Asymptote: Label a point on surface
You are missing the extra pair of parentheses: towardcamera((1,2,3)), not towardcamera(1,2,3). This is necessary because towardcamera takes one triple, not three reals.