COeins changed it to comply more with to DS2016 CI
This commit is contained in:
parent
8baf5491db
commit
e37f818dc0
3 changed files with 106 additions and 110 deletions
|
@ -1,6 +1,7 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
|
|
||||||
from lxml import etree
|
from lxml import etree
|
||||||
|
from slugify import slugify
|
||||||
from renderlib import *
|
from renderlib import *
|
||||||
from renderlib import *
|
from renderlib import *
|
||||||
from easing import *
|
from easing import *
|
||||||
|
@ -25,18 +26,18 @@ def introFrames(parameters):
|
||||||
frames = 1*fps
|
frames = 1*fps
|
||||||
for i in range(0, frames):
|
for i in range(0, frames):
|
||||||
yield (
|
yield (
|
||||||
('names', 'style', 'opacity', "%.4f" % easeOutCubic(i, 0, 1, frames)),
|
('names', 'style', 'opacity', 0),
|
||||||
('title', 'style', 'opacity', 0),
|
('title', 'style', 'opacity', "%.4f" % easeInCubic(i, 0, 1, frames)),
|
||||||
)
|
)
|
||||||
|
|
||||||
frames = 1*fps
|
frames = 1*fps
|
||||||
for i in range(0, frames):
|
for i in range(0, frames):
|
||||||
yield (
|
yield (
|
||||||
('names', 'style', 'opacity', 1),
|
('names', 'style', 'opacity', "%.4f" % easeInCubic(i, 0, 1, frames)),
|
||||||
('title', 'style', 'opacity', "%.4f" % easeInCubic(i, 0, 1, frames)),
|
('title', 'style', 'opacity', 1),
|
||||||
)
|
)
|
||||||
|
|
||||||
frames = 3*fps
|
frames = 4*fps
|
||||||
for i in range(0, frames):
|
for i in range(0, frames):
|
||||||
yield (
|
yield (
|
||||||
('names', 'style', 'opacity', 1),
|
('names', 'style', 'opacity', 1),
|
||||||
|
@ -47,15 +48,15 @@ def introFrames(parameters):
|
||||||
for i in range(0, frames):
|
for i in range(0, frames):
|
||||||
yield (
|
yield (
|
||||||
('names', 'style', 'opacity', "%.4f" % easeOutCubic(i, 1, -1, frames)),
|
('names', 'style', 'opacity', "%.4f" % easeOutCubic(i, 1, -1, frames)),
|
||||||
('title', 'style', 'opacity', "%.4f" % easeInCubic(i, 1, -1, frames)),
|
('title', 'style', 'opacity', "%.4f" % easeOutCubic(i, 1, -1, frames)),
|
||||||
)
|
)
|
||||||
|
|
||||||
frames = 1*fps
|
#frames = 1*fps
|
||||||
for i in range(0, frames):
|
#for i in range(0, frames):
|
||||||
yield (
|
# yield (
|
||||||
('names', 'style', 'opacity', 0),
|
# ('names', 'style', 'opacity', 0),
|
||||||
('title', 'style', 'opacity', 0),
|
# ('title', 'style', 'opacity', 0),
|
||||||
)
|
# )
|
||||||
|
|
||||||
def debug():
|
def debug():
|
||||||
render('intro.svg',
|
render('intro.svg',
|
||||||
|
|
BIN
DS2016/artwork/BigDots.ttf
Executable file
BIN
DS2016/artwork/BigDots.ttf
Executable file
Binary file not shown.
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 365 KiB After Width: | Height: | Size: 498 KiB |
Loading…
Add table
Reference in a new issue