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
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Wine 10 Includes Plenty to Excite Users
With its latest release, Wine has the usual crop of bug fixes and improvements, along with some exciting new features.
-
Linux Kernel 6.13 Offers Improvements for AMD/Apple Users
The latest Linux kernel is now available, and it includes plenty of improvements, especially for those who use AMD or Apple-based systems.
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.