Hi,<br>In Synfig we are considering to rewrite the current behavior of gradients animation. <br>The current behavior is really user unsatisfactory when the gradient modify its number of <br>stops along the time or moves it along the time. <br>
<br>It seems (because I haven&#39;t deep look the code yet) that stops never are moved and instead <br>of move the the stops the when the gradient is interpolated between two frames it just add as <br>many stops needs to match the previous and next frames where the changes are made. So the <br>
extra added stop points match the color of the two extreme gradients at that position.<br><br>So I&#39;m considering modify the gradient interpretation when animated to allow move stop points <br>instead of create new static stop points and change its color.<br>
<br>I would like to have some feed back on anyone who has deal with animated gradients and how was <br>the solution adopted. <br><br>Attached the definition of an animated gradient in its xml file in Synfig (stop points are moved but Synfig creates <br>
new stop points that merges the first and second waypoint)<br>As you can see, there is not information that specify if the stop points are moved or they are just created on the fly <br>and its color adapted.I wold like to include some information in the file definition to tell the application to behave moving the stop points<br>
without change the color or add dummy stop points and change its color to match the gradients in each waypoint. <br><br>    &lt;param name=&quot;gradient&quot;&gt;<br>      &lt;animated type=&quot;gradient&quot;&gt;<br>        &lt;waypoint time=&quot;0s&quot; before=&quot;auto&quot; after=&quot;auto&quot;&gt;<br>
          &lt;gradient guid=&quot;69ED6766CEA5C3EA94A650F755509AE2&quot;&gt;<br>            &lt;color pos=&quot;0.000000&quot;&gt;<br>              &lt;r&gt;1.000000&lt;/r&gt;<br>              &lt;g&gt;0.000000&lt;/g&gt;<br>
              &lt;b&gt;1.000000&lt;/b&gt;<br>              &lt;a&gt;1.000000&lt;/a&gt;<br>            &lt;/color&gt;<br>            &lt;color pos=&quot;1.000000&quot;&gt;<br>              &lt;r&gt;0.000000&lt;/r&gt;<br>              &lt;g&gt;0.000000&lt;/g&gt;<br>
              &lt;b&gt;0.000000&lt;/b&gt;<br>              &lt;a&gt;1.000000&lt;/a&gt;<br>            &lt;/color&gt;<br>          &lt;/gradient&gt;<br>        &lt;/waypoint&gt;<br>        &lt;waypoint time=&quot;1s&quot; before=&quot;auto&quot; after=&quot;auto&quot;&gt;<br>
          &lt;gradient guid=&quot;C4E3A15BFF3FA7BEF9ED11B63F7C708C&quot;&gt;<br>            &lt;color pos=&quot;0.316239&quot;&gt;<br>              &lt;r&gt;0.000000&lt;/r&gt;<br>              &lt;g&gt;0.000000&lt;/g&gt;<br>
              &lt;b&gt;0.000000&lt;/b&gt;<br>              &lt;a&gt;1.000000&lt;/a&gt;<br>            &lt;/color&gt;<br>            &lt;color pos=&quot;0.683761&quot;&gt;<br>              &lt;r&gt;1.000000&lt;/r&gt;<br>              &lt;g&gt;0.000000&lt;/g&gt;<br>
              &lt;b&gt;1.000000&lt;/b&gt;<br>              &lt;a&gt;1.000000&lt;/a&gt;<br>            &lt;/color&gt;<br>          &lt;/gradient&gt;<br>        &lt;/waypoint&gt;<br>      &lt;/animated&gt;<br>    &lt;/param&gt;<br>
<br>Greetings<br>Carlos<br>