[metapost] straight lines vs. curves (SVG)
mojca.miklavec.lists at gmail.com
Mon Apr 27 11:26:56 CEST 2009
On Mon, Apr 27, 2009 at 09:33, Taco Hoekwater wrote:
> it is much easier&faster to check for
> a straightness flag in the knot node than to check the control point
> locations, so it is almost certain that the executable would not use
> the pre- and postcontrol points at all for straight segments.
Hans just needs to make sure that his "unitsquare randomized" will
still work after adding the flag :)
I find Jacko's idea interesting :), but if you implement this flag
(which is probably more reliable) it might make sense to keep the
control points at 1/3, 2/3 where they are now (to start with) and to
remove the "straight" flag as soon as user starts messing with them
(starts moving them around).
More information about the metapost