python script for svg animation

Post questions on how to use or achieve an effect in Inkscape.
catafest
Posts: 1
Joined: Sat Feb 11, 2017 6:41 am

python script for svg animation

Postby catafest » Sat Feb 11, 2017 8:04 am

I stared with this tutorial about how to use python and inkscape, see link http://wiki.inkscape.org/wiki/index.php/PythonEffectTutorial
I understand how to use the svg and change it.
I try to find some documentation and tutorials about inkscape and python scripts, but I don't find anything about animations.
Just some documentation about static svg and CDATA Sections.
The problem is with python script for animation svg and some tutorials will be great.
Can you help me with this issue ?
Thank you. Regards.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: python script for svg animation

Postby brynn » Sat Feb 11, 2017 8:36 am

Everything I know about Inkscape and animation, is on this page: https://inkscape.org/en/learn/animation/.

I actually don't know what CDATA Section is, so I'm not sure if you'll find anything about that, there.

Oh, just looking at your link. Are you trying to write an extension for animating SVG? You'll need to look into some links on the 2nd half of that page, on animation with scripting and markup.

There is, or at least there was, an extension for making frame type of animations, where the extension just made it easier to export the raster "frames". But there is no existing extensions for animating SVG objects, which you could use as a model.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: python script for svg animation

Postby Moini » Sat Feb 11, 2017 10:06 am

Hi,
for extension documentation please look here:
https://inkscape.org/en/develop/extensions/

What kind of animation do you want to implement?
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”