nicer pause animation

This commit is contained in:
MaZderMind 2014-09-04 15:55:56 +02:00
parent 661aa3262f
commit 8cb1d9b1fa
2 changed files with 14 additions and 14 deletions

View file

@ -99,11 +99,11 @@ def outroFrames(parameters):
def pauseFrames(parameters): def pauseFrames(parameters):
frames = int(8*fps) frames = int(2*fps)
for i in range(0, frames): for i in range(0, frames):
yield ( yield (
('marquee', 'attr', 'x', '%.4f' % easeLinear(i, -30.767517, 356.766757, frames)), ('marquee', 'attr', 'x', '%.4f' % easeLinear(i, -108.66403, 110.3719675, frames)),
('marquee', 'attr', 'y', '%.4f' % easeLinear(i, -5.9523463, 1.153944, frames)), ('marquee', 'attr', 'y', '%.4f' % easeLinear(i, -6.3296866, -0.0262695, frames)),
) )
def debug(): def debug():

View file

@ -111,9 +111,9 @@
inkscape:window-height="993" inkscape:window-height="993"
id="namedview520" id="namedview520"
showgrid="false" showgrid="false"
inkscape:zoom="1.3056078" inkscape:zoom="0.92320413"
inkscape:cx="648.13634" inkscape:cx="454.71576"
inkscape:cy="409.88636" inkscape:cy="137.93314"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="27" inkscape:window-y="27"
inkscape:window-maximized="1" inkscape:window-maximized="1"
@ -1028,16 +1028,16 @@
style="fill:#ffffff" style="fill:#ffffff"
points="276.991,-5.752 291.091,-7.127 290.874,5.348 276.775,6.723 " points="276.991,-5.752 291.091,-7.127 290.874,5.348 276.775,6.723 "
id="polygon496" /></g><text id="polygon496" /></g><text
transform="matrix(0.99486741,-0.10118717,0.10118717,0.99486741,0,0)" transform="matrix(0.99541079,-0.09569414,0.09569414,0.99541079,0,0)"
sodipodi:linespacing="125%" sodipodi:linespacing="125%"
id="marquee" id="marquee"
y="-4.7984023" y="-6.3296866"
x="325.99924" x="-108.66403"
style="font-size:9.66172123px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DINMittelschrift;-inkscape-font-specification:DINMittelschrift" style="font-size:9.66172123px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DINMittelschrift;-inkscape-font-specification:DINMittelschrift"
xml:space="preserve"><tspan xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;text-anchor:middle;font-family:DIN Schablonierschrift;-inkscape-font-specification:DIN Schablonierschrift" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;text-anchor:start;font-family:DIN Schablonierschrift;-inkscape-font-specification:DIN Schablonierschrift"
y="-4.7984023" y="-6.3296866"
x="325.99924" x="-108.66403"
id="tspan3300" id="tspan3300"
sodipodi:role="line">MITTASPAUSE</tspan></text> sodipodi:role="line">MITTASPAUSE MITTASPAUSE MITTASPAUSE MITTASPAUSE</tspan></text>
</g></g></svg> </g></g></svg>

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 103 KiB