chiark / gitweb /
curveopt: wip, observe a bug
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Apr 2018 22:54:55 +0000 (23:54 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Apr 2018 22:55:00 +0000 (23:55 +0100)
commitece586e7d6e8f68236020935fdb7439c54dfa382
treee19c82f53047bb523e9c7198a27f406d20f7fb80
parent71f288c5d00262c60e27766f2e7d90cf6dc54030
curveopt: wip, observe a bug

This algorithm encourages a segment with a curve either side of it to
be shorter than its neighbours.  In this test case there is another
bug: the cp[1] (F) and cp[2] (G) vectors are wrong, exaggerating the
effect of the bug.

To fix the wrong encouragement bug, I think we will have to split the
penalty for curvature from the penalty for density variation.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
curveopt.py