Difference between revisions of "LivePathEffects Discussion"
Jump to navigation
Jump to search
Johanengelen (talk | contribs) |
Johanengelen (talk | contribs) |
||
Line 24: | Line 24: | ||
* Difficult to determine path-effect-param type from SVG. | * Difficult to determine path-effect-param type from SVG. | ||
* not extendable (8 params max at the moment by copy-paste coding) | * not extendable (8 params max at the moment by copy-paste coding) | ||
==Like style atribute== | |||
<pre> | |||
<path | |||
original-d = "..." | |||
d="..." | |||
path-effect="sample1(param1:0.0;param2:loopy;) sample2(paramA:45;)" | |||
/> | |||
</pre> | |||
== Nested idea == | == Nested idea == |
Revision as of 19:03, 8 May 2007
Discussion page for Johan's Live Path Effects project for GSoC2007.
What is a Live Path Effect?
- Spiral/star tool?
- Skeletal strokes
- whirl
What's it look like in SVG?
Simple idea
<path original-d = "..." (the original path that now has an applied effect) d="..." (the output of the live-effect) inkscape:path-effect="..." (string with the name of the applied effect) inkscape:path-effect-param1= ... (can be anything) inkscape:path-effect-param2 , etc />
This is what is implemented at this moment.
- No chaining possible
- Difficult to determine path-effect-param type from SVG.
- not extendable (8 params max at the moment by copy-paste coding)
Like style atribute
<path original-d = "..." d="..." path-effect="sample1(param1:0.0;param2:loopy;) sample2(paramA:45;)" />
Nested idea
work in progress...
<path d="..." (the output of the live-effect) <inkscape:path-effect effect="..." (string with the name of the applied effect) <inkscape:path-effect-param nr="1" <path d = "..." (the original path that now has an applied effect) /> /> <inkscape:path-effect-param name="param1" <path d = "..." (the output of the effect below!) <inkscape:path-effect effect="..." (string with the name of the applied effect) <inkscape:path-effect-param nr="1" d=".." /> /> /> /> /> />