Hi to everyone in the development mailing list
- this is my first post, so sorry if I'm not asking the right
people.
I use Inkscape on a regular basis and have always
been really impressed with the freehand drawing tool, specifically the efficient
resulting curve (very few points to describe the curve). Does anyone know if it
is viable to write a similarly efficient algorithm in Flash using
ActionScript 3? I've given it a go on a number of occasions over the past 6
months to decent effect, but not half as impressive as Inkscape.
Because ActionScript and Flash are pretty
slow compared to C, I tend to use fairly simple algorithms to draw curved
lines through points. I can only assume that the Inkscape algorithm is
pretty sophisticated and I can't begin to try and work out how it was written
from the svc, having had no experience with the language.
Has there ever been any documentation,
high-level schema or flowchart produced to explain the steps taken to calculate
the optimised curve? I'm sure that someone must have produced some pseudo code
or white paper to describe the best practice for a vector line drawing
tool.
If anyone has any ideas I'd be really
grateful.
Tom