If I wasn’t so stupid, I’d have realised you could add gate weave to my animations in Synfig Studio without the need for any coding whatsoever.
Here’s an example:
You simply need to add a translate layer to your animation. The translate layer is used to move things around the canvas. Here’s one in my layers panel:
|Translate layer in layers panel|
The translate layer should be at the top, so everything in your animation will weave (Z Depth 0.000000).
Next, you need to convert the Translate layer’s Origin into a Composite. That means the X-axis and Y-axis values are separated instead of being a vector.
You then convert the X-axis and Y-axis values to Random. Put in some suitable values, such as these:
|Example X and Y axis values|
Export the resulting animation as video and that’s all there is to it.