I've recently come across the mathematical symbol for infinity in Wikimedia
Commons, which is a GIF file, and features a request for a SVG version.
Well, I've been playing around with Inkscape a bit, so I thought I could
give it a try.
Now, the symbol for infinity is a lemniscate, which is also filled to match
a particular typeface. Since there's a very nice formula for the lemniscate=
and I'm a complete zero in design, I thought making a path that corresponds
to the points given by the formula and subsequently stroking it with a
caligraphic pen - the nib - would give a decent approximation.
I got stuck on the formula part. I read about Inkscape extensions, and even
read the Kochify script, which seems a nice starting point. But even though
it seems possible to do the lemniscate this way, it was not really what I
had in mind: I thought I could write some kind of input file to inkscape
which also used python/perl constructs to cope with maths/cycles, whatever.
In effect, I wanted to operate Inkscape using a scripting engine.
Is this usage possible? Since a few graphics programs have this type of
interface, I suppose the proposal came up. Has it been, or are there any
plans for implementation?
On Fri, 7 Apr 2006, Renato Serodio wrote:
> I've recently come across the mathematical symbol for infinity in Wikimedia
> Commons, which is a GIF file, and features a request for a SVG version.
> Well, I've been playing around with Inkscape a bit, so I thought I could
> give it a try.
Well, the scripting in Inkscape would allow you to do that, but for a
single graphic like that, it probably isn't worth worrying about. What
would probably be easier is if you just used the SVG DOM for the scripting
language of your choice to generate the SVG file, and then open it in
Inkscape. (not that I don't want you to learn more about Inkscape, but if
the symbol is your only goal, doing it that way will be simpler)
thanks for the answer. I guess I misunderstood what 'scripting' was -
indeed, directly generating the file using either perl or python seems
quite sensible. I'll start tinkering right away!