text animation
This commit is contained in:
parent
32327b7b02
commit
8eedd42875
1 changed files with 8 additions and 0 deletions
|
@ -49,6 +49,14 @@ def introFrames(parameters):
|
|||
('g%u' % tile, 'attr', 'transform', 'translate(%.4f, %.4f)' % (x, y))
|
||||
)
|
||||
|
||||
x = easeDelay(easeOutQuint, frames, i, -25, 25, maxdelay)
|
||||
opacity = easeDelay(easeLinear, frames, i, 0, 1, maxdelay)
|
||||
|
||||
placements.extend([
|
||||
('text', 'style', 'opacity', '%.4f' % opacity),
|
||||
('text', 'attr', 'transform', 'translate(%.4f, 0)' % x)
|
||||
])
|
||||
|
||||
yield placements
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue