# Interest for a generic template (layer generation) engine?

**URL:** https://forums.synfig.org/t/interest-for-a-generic-template-layer-generation-engine/3574
**Category:** Feature discussions
**Created:** [September 25, 2015, 8:16am UTC](https://forums.synfig.org/t/interest-for-a-generic-template-layer-generation-engine/3574 "2015-09-25T08:16:07Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![berteh](https://forums.synfig.org/user_avatar/forums.synfig.org/berteh/32/46_2.png) [@berteh](https://forums.synfig.org/u/berteh)
#### Post date: [September 25, 2015, 8:16am UTC](https://forums.synfig.org/t/interest-for-a-generic-template-layer-generation-engine/3574/1 "2015-09-25T08:16:07Z")

</div>

Hello.

I recently updated a script to generate layers from external (~spreadsheet) data and templates (sif edited to contain some placeholder-variables).

It is currently “tuned” to [generate (animated) text from subtitles](https://github.com/berteh/synfig-import-labels) files… but could as well generate any other type of layer (or complex group) provided you/I develop a template for it. I am thinking, a.o. of particles layers (with templates for snow, star, flow/rain, fireworks,…), nature (templates of hill, cloud, tree…)… and maybe even complex animations (dynamic systems,… in this case you’d provide the name of a few canvas to link in the template and animation “tweak” values in the data).

My question is: would you prefer one generic template engine, or a few separated/specialized ones, such as currently existing:

- 1 for particles: [Particle exporter and firework example](https://forums.synfig.org/t/particle-exporter-and-firework-example/3335/1)
- another for text: [github.com/berteh/synfig-import-labels/](https://github.com/berteh/synfig-import-labels/)  
and maybe more out there 😉

The interest I see in 1 generic is that a single “framework” would provide support (GUI & CLI interfaces, template engine…) in a flexible way to all. Synfig (advanced) users could then focus on creating the right template for their use (be it text animation or particles or trees or dynamic systems…) without having to redo the “engine” part each time.

The “disadvantage” lies in the complexity and rigidity (design needs to fit “most” cases) of the whole approach… but if a few more are interested in contributing that could become quite fun & easy !

Some graphical idea for a possible futur attached below 😉 … you’d access such a dialog from a menu item, or a right-click on 1 layer and selecting “generate more layers here”, for instance.

related discussions that I know of (feel free to complete the list!)

- [Spider Project - Templates for Synfig Studio](https://forums.synfig.org/t/spider-project-templates-for-synfig-studio/3118/3)
- [Particle exporter and firework example](https://forums.synfig.org/t/particle-exporter-and-firework-example/3335/1)
- [Typography and Motion Graphics tools + text generation engine](https://forums.synfig.org/t/typography-and-motion-graphics-tools/2864/11)

 ![mockup-generic-template-engine.png](https://forums.synfig.org/uploads/default/original/2X/8/822ecf2e15e60df5a78f263923ffe18c4341bacd.png)

---

<div class="post-metadata">

### Author: ![Genete](https://forums.synfig.org/user_avatar/forums.synfig.org/genete/32/8_2.png) [@Genete](https://forums.synfig.org/u/Genete)
#### Post date: [September 25, 2015, 6:09pm UTC](https://forums.synfig.org/t/interest-for-a-generic-template-layer-generation-engine/3574/2 "2015-09-25T18:09:21Z")

</div>

> [@](#):
>
> would you prefer one generic template engine, or a few separated/specialized ones

“I want it all!” (© Queen)  
-G

---

<div class="post-metadata">

### Author: ![Svarov](https://forums.synfig.org/user_avatar/forums.synfig.org/svarov/32/8167_2.png) [@Svarov](https://forums.synfig.org/u/Svarov)
#### Post date: [September 25, 2015, 6:16pm UTC](https://forums.synfig.org/t/interest-for-a-generic-template-layer-generation-engine/3574/3 "2015-09-25T18:16:51Z")

</div>

Hi,

Totally support the idea. But I am not sure about the template engine, seems too complicated. Template + Python script (plug-in) to add one to the current animation is enough I think. Of course it’s only possible if you can draw a GUI from a python script, don’t know if this is possible.

So I prefer a few specialized templates that you can import into your animation via script. The workflow for a user would look like this:  
Create new/Load existent Synfig animation -\> Menu -\> Plug-Ins -\> Add labels/particles/etc.  
Then a simple GUI appears where you can adjust some parameters for your needs.

---

<div class="post-metadata">

### Author: ![Darkspace\_be](https://forums.synfig.org/user_avatar/forums.synfig.org/darkspace_be/32/71_2.png) [@Darkspace\_be](https://forums.synfig.org/u/Darkspace_be)
#### Post date: [September 26, 2015, 5:46pm UTC](https://forums.synfig.org/t/interest-for-a-generic-template-layer-generation-engine/3574/4 "2015-09-26T17:46:31Z")

</div>

Hi!  
Although one generic template sounds to good to be true, I would already give my left arm for a stable and working particles template, esp now that a more speedy version of Synfig is in the works.  
Greetz!

---

<div class="post-metadata">

### Author: ![BobSynfig](https://forums.synfig.org/user_avatar/forums.synfig.org/bobsynfig/32/175_2.png) [@BobSynfig](https://forums.synfig.org/u/BobSynfig)
#### Post date: [August 6, 2026, 12:03pm UTC](https://forums.synfig.org/t/interest-for-a-generic-template-layer-generation-engine/3574/6 "2026-08-06T12:03:45Z")

</div>

> [@Volkova](#):
>
> Templates. That has reminded me that AI has gone so far that now you could create a whole app for a small business for instance using pre-made templates. There is a whole site that helps with it! `https://yourmodule.com`

Marvelous, we needed another spam bot who only reopens old topics to post unrelated links with 25 posts read in 3 minutes.  
Bye 😉
