
Hi,
A question in a design forum on drawing exact logariphmic spirals in One Well Known Application :-) triggered my interest to a way doing same thing in Inkscape.
In fact Inkscape operates in other terms than all the geometric sources I read so far overnight. Divergence (or Linearity) sounds very much like Ratio, but 1,618 simply won't work for any amount Turns I've tried :) Apparently , if I divide Turns by 0,618 and input the result into Divergence, the resulted spiral will look pretty close to a Fibonacci spiral, but not exactly it. This brings me to a point we I don't quite understand what I'm doing :)
Does Inkscape simply lack documentation to help people do the calculations? Can Inkscape make it easier for users by providing presets that would lock existing Spiral tool's options to some ratio so that one could pick, say, hyperbolic or archimedean or logarithmic spiral and draw as many turns as (s)he wishes?
Alexandre

On Wed, 2007-07-11 at 07:41 +0400, Alexandre Prokoudine wrote:
On 7/11/07, Alexandre Prokoudine wrote:
so that one could pick, say, hyperbolic or archimedean or logarithmic spiral and draw as many turns as (s)he wishes?
I've looked into modifying the Inkscape Spiral tool to make different kinds of spirals and in fact in my current version of SVN have substituted a logarithmic spiral for the Archimedes spiral. However it is non-trivial to include both as the mathematical properties are different (one can start at r=0 while the other never reaches that point).
In my SVN I've also modified the Tiled Clones dialog to allow logarithmic spirals. This could probably be added... it requires adding a^x displacements as well as x^n. See attached PNG.
The modified Function Plotter effect included in SVN can plot different kinds of spirals however it appears to be broken after the changes for "Live Effects".
Tav

On 7/11/07, Tavmjong Bah <tavmjong@...8...> wrote:
I've looked into modifying the Inkscape Spiral tool to make different kinds of spirals and in fact in my current version of SVN have substituted a logarithmic spiral for the Archimedes spiral. However it is non-trivial to include both as the mathematical properties are different (one can start at r=0 while the other never reaches that point).
Yet, as you understand, we cannot accept a patch which would change the rendering of the spirals in existing documents. Perhaps you could include an extension attribute to differentiate between the "old" and "new" spirals.
In my SVN I've also modified the Tiled Clones dialog to allow logarithmic spirals. This could probably be added... it requires adding a^x displacements as well as x^n. See attached PNG.
That would be nice to have.
The modified Function Plotter effect included in SVN can plot different kinds of spirals however it appears to be broken after the changes for "Live Effects".
A lot of filters got broken but they are gradually being fixed one by one. Volunteers welcome :)

On 7/11/07, Tavmjong Bah wrote:
I've looked into modifying the Inkscape Spiral tool to make different kinds of spirals and in fact in my current version of SVN have substituted a logarithmic spiral for the Archimedes spiral. However it is non-trivial to include both as the mathematical properties are different (one can start at r=0 while the other never reaches that point).
Is it possible to still have this feature with an extension attribute as bulia suggests?
In my SVN I've also modified the Tiled Clones dialog to allow logarithmic spirals. This could probably be added... it requires adding a^x displacements as well as x^n. See attached PNG.
Sounds interesting, sounds like worth implementing ;-) and triggers another question, rather for Johan: will Live Path Effects work with Spiral tool?
The modified Function Plotter effect included in SVN can plot different kinds of spirals however it appears to be broken after the changes for "Live Effects".
Let's wait for the fix then ;)
Alexandre

On 7/11/07, Alexandre Prokoudine <alexandre.prokoudine@...400...> wrote:
Sounds interesting, sounds like worth implementing ;-) and triggers another question, rather for Johan: will Live Path Effects work with Spiral tool?
Yes, they should work with any paths and any shapes, without converting shapes to paths. The only exception is rect because it needs to be switched to using <path> first.

On Wed, 2007-07-11 at 08:00 +0200, Tavmjong Bah wrote:
The modified Function Plotter effect included in SVN can plot different kinds of spirals however it appears to be broken after the changes for "Live Effects".
Live effects changes or the lxml changes? Live effects shouldn't break any scripts.
--Ted
participants (4)
-
Alexandre Prokoudine
-
bulia byak
-
Tavmjong Bah
-
Ted Gould