On Mon, Apr 25, 2011 at 1:50 PM, Ilya Baran wrote:
I like the fact that, judging by video, the testing app more or less allows to see the final curve as you draw, but I'm afraid that LPE based implementation will ruin half the fun.
Unfortunately, it doesn't let you see the final curve as you draw
Oh, in comparison to current implementaton in Inkscape it actually _does_ let you see it, because the solver in libspiro does really crazy stuff at times :) From the video I do see that the approximation is very close to what you draw first.
BTW, what would be the advantage of an LPE-based implementation?
Apart from being able to render it anywhere? None, I'm afraid. LPE is _very_ simplistic. There has been talk about implementing advanced curves in SVG v2, but this is where Tav could provide some input, not me.
P.S. Sadly, the app for testing doesn't build on Ubuntu 10.04 (both Qt and eigen dev packages installed, but the app is still missing some eigen related things).
You need Eigen 3--I expect there aren't packages for that yet, but it's super-easy to install, as it's header-only. If it doesn't build, please email me the error off-list and I may be able to help.
I actually do have Eigen 3, fetched today as tarball from Mercurial or wherever it is they keep the dev tree :)
Alexandre Prokoudine http://libregraphicsworld.org