
Hi, Alexandre,
On Mon, Apr 25, 2011 at 11:33 AM, Alexandre Prokoudine <alexandre.prokoudine@...400...> wrote:
On Mon, Apr 25, 2011 at 12:25 PM, Ilya Baran wrote:
Hi,
A while ago I asked the Inkscape list whether there was interest in an implementation of my curve sketching algorithm (see the thread at http://sourceforge.net/mailarchive/message.php?msg_id=24902605). There seemed to be interest and I wrote a cleaner (and much faster) version, although this took longer than I anticipated. There are still a bunch of improvements possible, but at this point it's quite usable. The code and a windows installer for a demo binary are available at http://code.google.com/p/cornucopia-lib/ and there's some documentation.
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--the fit is a global optimization, which requires the whole curve. It may be possible to get an incremental fitting by using the oversketching capability--I'll look into that. BTW, what would be the advantage of an LPE-based implementation?
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.
-Ilya
Alexandre Prokoudine http://libregraphicsworld.org
Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel