How to create a script for stroke reveal

I also had the idea to create a script which would ease the work of creating the stroke reveal effect.

Before we start to create some script, we have to think about some problems like where will you add the waypoints for it, or how to create the stroke reveal effect for selective advanced outline, it’s not always correct to assume that you have want the effect for all advanced outline. And if you have more than 2 width point how should you deal with it (maybe ignoring that layer would be good).

As you have not specified what you will use this script for, as you are suggesting the tutorial it seems you just want stroke reveal effect, even if you create any plugin you still would have to manually displace the waypoints yourself.

I don’t think a plugin would be helpful for this case. If you are going to create any plugin, you need to take into consideration of above problems and create some solution for it which can get a bit complicated.

Maybe you should create a custom syntax denoting which outlines to select, how to animate them, duration for animation (of the stroke effect), delay between layers, there is a lot of input that you can expect from user. For now a solution is to rename layers and take any kind input/information from the user. For now rather than creating such complicated programs lets just take some time and animate the outlines.

If Synfig provides a way to take input for plugins then that would be really useful for plugin developers, for now it is complicated for both developers and users to provide some information for the plugin.I have already made a request (and it is not easy for developers too, to create some UI for plugins to use). I think this is really important, because plugins are easy to develop and small scripts can save a lot of time.

2 Likes