Write Inkscape extensions that modify objects
Accumulations
There is one problem with the extension. I realized quite early on that the effect was accumulative, that is – when the script applies a new deformation to a path, it applies it to the previously deformed path. This means that, over time, your object will become more and more deformed (Figure 4).

This is not what I wanted, but I also thought "Interesting," so I decided to make it an option, hence the accumulate
parameter on line 8 in tremble.inx
(Listing 3). However, I have not figured out how to avoid the accumulation, so, for the moment the extension acts as if it is always on.
That said, as long as the radius is relatively small and the clip short, it shouldn't be too noticeable. When I hit on the solution, I will update the code. If you find this extension useful, you will be able to download the updated version from my GitLab account [4].
Either way, that is not the point of the article. The point was always to show off the power of Inkscape's extension toolkit, and very powerful it is.
All it needs now is comprehensive documentation to match. Have fun!
Infos
- "Magic Circle: Write your own extensions for Inkscape" by Paul Brown, Linux Magazine, issue 239, October 2020, pg. 88, https://www.linux-magazine.com/Issues/2020/239/Magic-Circle
- How to make wobbly text using After Effects: https://youtu.be/XXDxkMOCKgQ
- Inkscape's available Doxygen documentation for extensions, which includes source code: http://inkscape.gitlab.io/inkscape/doxygen-extensions/
- Paul Brown's Linux Magazine GitLab repository: https://gitlab.com/linux-magazine
« Previous 1 2
Buy Linux Magazine
Direct Download
Read full article as PDF:
News
-
KaOS 2022.06 Now Available With KDE Plasma 5.25
The newest iteration of KaOS Linux not only adds the latest KDE Plasma desktop but sets LibreOffice as the default.
-
Manjaro 21.3.0 Is Now Available
Manjaro “Ruah” has been released and includes the latest Calamares installer, GNOME 42, and much more.
-
SpiralLinux is a New Linux Distribution Focused on Simplicity
A new Linux distribution, from the creator of GeckoLinux, is a Debian-based operating system with a focus on simplicity and ease of use.
-
HP Dev One Linux Laptop is Now Available for Pre-Order
The System76/HP collaboration Dev One laptop, geared toward developers, is now available for pre-order.
-
NixOS 22.5 Is Now Available
The latest release of NixOS with a much-improved package manager and a user-friendly graphical installer.
-
System76 Teams up with HP to Create the Dev One Laptop
HP and System76 have come together to develop a new laptop, powered by Pop!_OS and aimed toward developers.
-
Titan Linux is a New KDE Linux Based on Debian Stable
Titan Linux is a new Debian-based Linux distribution that features the KDE Plasma desktop with a focus on usability and performance.
-
Danielle Foré Has an Update for elementary OS 7
Now that Ubuntu 22.04 has been released, the team behind elementary OS is preparing for the upcoming 7.0 release.
-
Linux New Media Launches Open Source JobHub
New job website focuses on connecting technical and non-technical professionals with organizations in open source.
-
Ubuntu Cinnamon 22.04 Now Available
Ubuntu Cinnamon 22.04 has been released with all the additions from upstream as well as other features and improvements.