Author Topic: "Pulse" animations  (Read 2043 times)

8bitsdeep

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
"Pulse" animations
« on: July 07, 2019, 11:16:19 PM »
It'd be cool if we could make animations "pulse" back and forth between the FROM and TO values.

Example:
<animate type="alpha" from="0.7" to="1" pulse="true" />

Would cause the animate value to do something like this:
0.7
0.8
0.9
1.0
0.9
0.8
0.7
0.8
etc.

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1534
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: "Pulse" animations
« Reply #1 on: July 08, 2019, 06:42:22 AM »
Just create two animations following each other; I had something like this working in my original Pandora's Box theme.

8bitsdeep

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: "Pulse" animations
« Reply #2 on: July 09, 2019, 04:21:06 PM »
Oh neat, I didn't realize you could chain them like that.  Thank you!