Hello all,
Progress report of my GSoC: Skeletal strokes seems to work! (many thanks to the 2geom people!)
See a screenshot here: http://wiki.inkscape.org/wiki/images/Lpe-skeletal.png and the wiki page here: http://wiki.inkscape.org/wiki/index.php/LivePathEffects
I'd very much like people to test LivePathEffect things and report bugs on the wiki. Although one must know that the skeletal strokes effect is still under heavy development.
Because I very much like my own branch and I'd like to keep it a little while longer, you need to checkout the live-path-effects branch to see this in action and test stuff, sorry!
Cheers! Johan
Excellent! Nice work! What about the skeletal strokes with different begin/end/middle? Is it just the middle part that works now?
I may have missed some trick, but it seems to me some sort of better UI is definitely needed for these effects that take more than one object as input. The problem is not particular to live path effects. The dead path effects had the same problem. I like your copy-paste idea better than the approach used by some of the dead path effects, where they just assume first item or last item selected is special. But still it's hard to discover, and it doesn't scale to the case where you need to apply 3 things to a path (like different beginning/middle/end objects.) If you have to paste 3 things then you're back to guessing based on selection order.
Something like the dialogs in Excel that allow for data selection might be a good solution.
--bb
On 7/17/07, J.B.C.Engelen@...1578... <J.B.C.Engelen@...1578...> wrote:
Hello all,
Progress report of my GSoC: Skeletal strokes seems to work! (many thanks to the 2geom people!)
See a screenshot here: http://wiki.inkscape.org/wiki/images/Lpe-skeletal.png and the wiki page here: http://wiki.inkscape.org/wiki/index.php/LivePathEffects
I'd very much like people to test LivePathEffect things and report bugs on the wiki. Although one must know that the skeletal strokes effect is still under heavy development.
Because I very much like my own branch and I'd like to keep it a little while longer, you need to checkout the live-path-effects branch to see this in action and test stuff, sorry!
Bill Baxter wrote:
Excellent! Nice work! What about the skeletal strokes with different begin/end/middle? Is it just the middle part that works now?
What exactly do you mean? Do you propose to blend objects along the path? At the moment the skeletal strokes effect repeats a certain pattern along the skeleton, but I'll include the combobox options from the pattern-along-path extension so you could also stretch one patternpath along the skeleton.
I may have missed some trick, but it seems to me some sort of better UI is definitely needed for these effects that take more than one object as input. The problem is not particular to live path effects. The dead path effects had the same problem. I like your copy-paste idea better than the approach used by some of the dead path effects, where they just assume first item or last item selected is special. But still it's hard to discover, and it doesn't scale to the case where you need to apply 3 things to a path (like different beginning/middle/end objects.) If you have to paste 3 things then you're back to guessing based on selection order.
Maybe I don't understand you completely. But if you have e.g. 4 path type parameters for an effect, you'd get 4 paste buttons next to the 4 path parameters in the dialog. There is no guessing needed. So you can select the path you want as parameter 3 first, then paste it to 3. Then select path you want for parameter 1 and paste that to 1. Etc. , in any order you'd like.
Something like the dialogs in Excel that allow for data selection might be a good solution.
For setting up the effect it would be nice I think yes. Actually, my dialog is almost like that, just needs an extra button next to paths :)
Cheers, Johan
On 7/17/07, J.B.C.Engelen@...1578... <J.B.C.Engelen@...1578...> wrote:
Bill Baxter wrote:
Excellent! Nice work! What about the skeletal strokes with different begin/end/middle? Is it just the middle part that works now?
What exactly do you mean? Do you propose to blend objects along the path?
In the paper where Hsu coined the term "Skeletal Strokes" he had the concept of an object being divided into three sections along its length. I think he called those sections "head" "body" and "tail". The head and tail are only drawn once at the beginning and end of the path, respectively, and the body is the part that gets repeated or stretched along whatever is left of the space along the path. With your fish example, for instance, it would allow you to apply the fishbones to a path so that there is only one head and one tail, and just the thin bones in the middle get repeated over the length of the path.
At the moment the skeletal strokes effect repeats a certain pattern along the skeleton, but I'll include the combobox options from the pattern-along-path extension so you could also stretch one patternpath along the skeleton.
Stretch/repeat options are good to have. The head-body-tail thing would additionally require some way for the user to specify where those two dividing lines are. In a pinch the UI could be just two boxes where you input a number between 0 and 1. If head divider is 0.0 and tail divider is 1.0, then you get your current behavior. But ideally a graphical way to select those divider points would be nice.
But it just dawned on me that skeletal strokes is not really what your project is about. So the limitations it has are just ones you inherited from some pre-existing non-live path effect that you ported over to be live?
I may have missed some trick, but it seems to me some sort of better UI is definitely needed for these effects that take more than one object as input. The problem is not particular to live path effects. The dead path effects had the same problem. I like your copy-paste idea better than the approach used by some of the dead path effects, where they just assume first item or last item selected is special. But still it's hard to discover, and it doesn't scale to the case where you need to apply 3 things to a path (like different beginning/middle/end objects.) If you have to paste 3 things then you're back to guessing based on selection order.
Maybe I don't understand you completely. But if you have e.g. 4 path type parameters for an effect, you'd get 4 paste buttons next to the 4 path parameters in the dialog. There is no guessing needed.
Oh I see. I hadn't understood that was possible from the demo PNG. Are the pasted effect parameters stored? I mean is it possible after pasting a parameter to apply those same parameters to other paths? If so, it would be really slick if you could put a thumbnail of the currently pasted object there next to the paste icon. Probably not trivial to do though.
--bb
Sorry for my late reply. See below.
On Wed, 2007-07-18 at 03:05 +0900, Bill Baxter wrote:
On 7/17/07, J.B.C.Engelen@...1578... <J.B.C.Engelen@...1578...> wrote:
Bill Baxter wrote:
Excellent! Nice work! What about the skeletal strokes with different begin/end/middle? Is it just the middle part that works now?
What exactly do you mean? Do you propose to blend objects along the path?
In the paper where Hsu coined the term "Skeletal Strokes" he had the concept of an object being divided into three sections along its length. I think he called those sections "head" "body" and "tail". The head and tail are only drawn once at the beginning and end of the path, respectively, and the body is the part that gets repeated or stretched along whatever is left of the space along the path. With your fish example, for instance, it would allow you to apply the fishbones to a path so that there is only one head and one tail, and just the thin bones in the middle get repeated over the length of the path.
Ah! Maybe I should rename the effect then... "Path-along-path" describes exactly what it should do.
At the moment the skeletal strokes effect repeats a certain pattern along the skeleton, but I'll include the combobox options from the pattern-along-path extension so you could also stretch one patternpath along the skeleton.
Stretch/repeat options are good to have.
Those are now present!
The head-body-tail thing would additionally require some way for the user to specify where those two dividing lines are. In a pinch the UI could be just two boxes where you input a number between 0 and 1. If head divider is 0.0 and tail divider is 1.0, then you get your current behavior. But ideally a graphical way to select those divider points would be nice.
But it just dawned on me that skeletal strokes is not really what your project is about. So the limitations it has are just ones you inherited from some pre-existing non-live path effect that you ported over to be live?
I may have missed some trick, but it seems to me some sort of better UI is definitely needed for these effects that take more than one object as input. The problem is not particular to live path effects. The dead path effects had the same problem. I like your copy-paste idea better than the approach used by some of the dead path effects, where they just assume first item or last item selected is special. But still it's hard to discover, and it doesn't scale to the case where you need to apply 3 things to a path (like different beginning/middle/end objects.) If you have to paste 3 things then you're back to guessing based on selection order.
Maybe I don't understand you completely. But if you have e.g. 4 path type parameters for an effect, you'd get 4 paste buttons next to the 4 path parameters in the dialog. There is no guessing needed.
Oh I see. I hadn't understood that was possible from the demo PNG. Are the pasted effect parameters stored? I mean is it possible after pasting a parameter to apply those same parameters to other paths?
Yes! What does not work yet but is definitely intended is that you can edit the parameters any time you want on-canvas. Now it is just pasting that works, you cannot copy the parameter _to_ clipboard (yet).
If so, it would be really slick if you could put a thumbnail of the currently pasted object there next to the paste icon. Probably not trivial to do though.
That is a nice idea. But I'll postpone it 'till later if you don't mind :-)
Thanks for your explanation of skelstrokes and suggestions!
Johan
participants (3)
-
unknown@example.com
-
Bill Baxter
-
Johan Engelen