somewhat imitate old intro
This commit is contained in:
parent
1d391ed2db
commit
629bc5c543
2 changed files with 21 additions and 10 deletions
|
@ -9,7 +9,7 @@ scheduleUrl = "https://cfp.ctbk.de/fsck-2024/schedule/export/schedule.xml"
|
|||
|
||||
|
||||
def introFrames(args):
|
||||
frames = 2*fps
|
||||
frames = 1 * fps
|
||||
for _ in range(0, frames):
|
||||
yield (
|
||||
("title", "style", "opacity", 0),
|
||||
|
@ -21,9 +21,16 @@ def introFrames(args):
|
|||
frames = 1 * fps
|
||||
for i in range(0, frames):
|
||||
yield (
|
||||
("title", "style", "opacity", easeInQuad(i, 0, 1, frames)),
|
||||
("persons", "style", "opacity", easeInQuad(i, 0, 1, frames)),
|
||||
("glogo", "style", "opacity", 1),
|
||||
("title", "style", "opacity", easeOutSine(i, 0, 1, frames)),
|
||||
("persons", "style", "opacity", easeOutSine(i, 0, 1, frames)),
|
||||
(
|
||||
"glogo",
|
||||
"attr",
|
||||
"transform",
|
||||
# the easing function can’t handle easing from larger to smaller, so use this hacky workaround
|
||||
f"translate(0,{easeInQuad(frames-i, 0.0, 200.0, frames)})",
|
||||
),
|
||||
("glogo", "style", "opacity", easeOutSine(i, 0, 1, frames)),
|
||||
)
|
||||
|
||||
# show whole image for 5 seconds
|
||||
|
|
|
@ -185,11 +185,11 @@
|
|||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.49497475"
|
||||
inkscape:cx="967.72613"
|
||||
inkscape:cy="897.01545"
|
||||
inkscape:zoom="1.4"
|
||||
inkscape:cx="925.71429"
|
||||
inkscape:cy="821.42857"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer2"
|
||||
inkscape:current-layer="layer3"
|
||||
showgrid="false"
|
||||
inkscape:window-width="2194"
|
||||
inkscape:window-height="1166"
|
||||
|
@ -696,7 +696,9 @@
|
|||
id="title"
|
||||
style="font-size:74.6667px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';text-align:center;writing-mode:lr-tb;direction:ltr;white-space:pre;shape-inside:url(#rect1);display:inline;fill:#ffffff;fill-opacity:1"
|
||||
transform="translate(-177.06947,5.332906)"
|
||||
inkscape:label="title"><tspan
|
||||
inkscape:label="title"
|
||||
inkscape:transform-center-x="-76.428571"
|
||||
inkscape:transform-center-y="-0.71428571"><tspan
|
||||
x="1060.8515"
|
||||
y="792.97121"
|
||||
id="tspan4">$title</tspan></text><text
|
||||
|
@ -704,7 +706,9 @@
|
|||
id="persons"
|
||||
style="font-size:53.3333px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';text-align:center;writing-mode:lr-tb;direction:ltr;white-space:pre;shape-inside:url(#rect3);shape-padding:1.2142;display:inline;opacity:1;fill:#ff9700"
|
||||
transform="translate(-284.84385,128.97464)"
|
||||
inkscape:label="persons"><tspan
|
||||
inkscape:label="persons"
|
||||
inkscape:transform-center-x="-175.71428"
|
||||
inkscape:transform-center-y="0.71428571"><tspan
|
||||
x="1082.8204"
|
||||
y="832.11247"
|
||||
id="tspan6"><tspan
|
||||
|
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 68 KiB |
Loading…
Add table
Reference in a new issue